multistart optimization: local run index of solutions found by [...,solutions] = run(__)?

4 vues (au cours des 30 derniers jours)
SA-W le 6 Fév 2023
Commenté : Sachin le 14 Mar 2023
I am running my optimization problem with several start vectors utilizing the function
[x,fval,exitflag,output,solutions] = run(ms,problem,k)
After this call is finished, the found solutions are stored in the struct solutions.
Creating the multistart object
ms = MultiStart('Display', 'iter')
there is, amongst other quantities, a local run index displayed to the command window.
My question is how to figure out the local run index associated with the solutions struct above?

Réponses (1)

Sachin le 14 Mar 2023
Hi @SA-W,
Based on my understanding, you want to figure out the run index associated with the solutions struct.
solutions struct contains the distinct local minima found during the run. And output in the command window depends on the algorithm and runs. So, we cannot decide which Run index will be in solution.
For more information on multi start solver, you can refer the following pages:
  2 commentaires
Sachin le 14 Mar 2023
You can save log data using diary command to save the log data as you want.

Connectez-vous pour commenter.


En savoir plus sur Global or Multiple Starting Point Search dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by