How to select the design variables on an optimization problem?

4 ビュー (過去 30 日間)
Serbring
Serbring 2020 年 7 月 22 日
コメント済み: Serbring 2020 年 7 月 25 日
Dear all,
I have a large optimization problem with linear, and non linear constraints, and bounds. The solver I have been using is fmincon. I need to carry out different optimizations with all the design variables, and only a portion of the design variables. To this goal, I have chosen to impose equal lower and upper bound for the variable that should not part of the problem. I know that is not an elegant approach but the code modifications are limited. Is there any other approach you would reccomend with limited impact on the code?
Thank you,
Best regards.

採用された回答

Alan Weiss
Alan Weiss 2020 年 7 月 22 日
That is a reasonable approoach. In fact, some solvers check for "fixed" variables (those with equal upper and lower bounds) and remove them internally. See Fix Variables in surrogateopt.
Alan Weiss
MATLAB mathematical toolbox documentation
  1 件のコメント
Serbring
Serbring 2020 年 7 月 25 日
Thank you very much for the answer

サインインしてコメントする。

その他の回答 (0 件)

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by