필터 지우기
필터 지우기

gamultiobj system command / gamultiobj FitFcn and nonlcon order

조회 수: 3 (최근 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 CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by