MATLAB Answers


Convert Problem-Based to Solver-Based Optimization Problem

さんによって質問されました 2019 年 2 月 19 日
最新アクティビティ Daud
さんによって コメントされました 2019 年 2 月 20 日
Is there any way to directly convert the Problem-Based Optimization Problem Setup to Solver-Based Optimization Problem Setup in optimization toolbox.
Currently I have produced MILP formulation using problem based setup in optimization toolbox. But now I have realized to compare with other algorithms (i.e, ga) I may need solver-based setup.
Or should I write a new script because global optimizatioon toolbox doesn't support problem-based script.

  0 件のコメント

サインイン to comment.

1 件の回答

Alan Weiss
回答者: Alan Weiss
2019 年 2 月 19 日

Coincidentally, that question was asked and answered recently. Bottom line: convert the problem by using prob2struct.
Alan Weiss
MATLAB mathematical toolbox documentation

  1 件のコメント

2019 年 2 月 20 日
Perfect, I will have a look...
Thanks alot

サインイン to comment.

Translated by