Clear Filters
Clear Filters

gamultiobj system command / gamultiobj FitFcn and nonlcon order

3 views (last 30 days)
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

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!