필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
SA-W
SA-W 2023년 2월 6일
댓글: Sachin 2023년 3월 14일
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?

답변 (1개)

Sachin
Sachin 2023년 3월 14일
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
SA-W
SA-W 2023년 3월 14일
"solutions struct contains the distinct local minima found during the run."
One can also define to store the results of all successful runs in the solutions struct, not only distinct solutions. So in theory, it should be rather easy to store the run index in the solutions struct as well for certain options passed by the user.
Sachin
Sachin 2023년 3월 14일
You can save log data using diary command to save the log data as you want.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Global or Multiple Starting Point Search에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by