gamultiobj system command / gamultiobj FitFcn and nonlcon order

1 回表示 (過去 30 日間)
ahmad mahmoodi
ahmad mahmoodi 2019 年 12 月 5 日
Dear all,
I am using gamultiobj to optimize the objective functions, which are canculated in a simuation program. I use the system command, which is written in the FitFcn file, to run the software and write the outputs to a text file and the read the objective function values as well as the nonlinear constrains evaluation (ceq) from the text file.
1) How can I be sure that gamultiobj waits for the other program to finish (waits for the system command to run another program and doesn't get the results from the previous evaluation in the text file)?
2) How can I specify for gamultiobj to get the nonlinear constraint results after running the system command in the FitFcn file (I want the algorithm to consider the sequetional order of going through the FifFcn file and then to the nonlcon file for each selected point)?
Thank you in advance and Best regards

回答 (0 件)

カテゴリ

Help Center および File ExchangePrepare Model Inputs and Outputs についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by