Convert Problem-Based to Solver-Based Optimization Problem

2 vues (au cours des 30 derniers jours)
Daud
Daud le 19 Fév 2019
Commenté : Daud le 20 Fév 2019
Hi,
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.

Réponses (1)

Alan Weiss
Alan Weiss le 19 Fév 2019
Coincidentally, that question was asked and answered recently. Bottom line: convert the problem by using prob2struct.
Alan Weiss
MATLAB mathematical toolbox documentation
  1 commentaire
Daud
Daud le 20 Fév 2019
Perfect, I will have a look...
Thanks alot

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by