필터 지우기
필터 지우기

source code of multistart in global optimization toolbox

조회 수: 1 (최근 30일)
SA-W
SA-W 2023년 5월 24일
편집: John D'Errico 2023년 7월 10일
I am currently using multistart to perform optimization with multiple start vectors.
ms = Multistart(...)
... = run(ms,...)
Since I want to have more flexiblity as for error handling, combination of local solvers,... I would like to write my own code. In particular, I want to run a different local solver (fmincon, lsqnonlin) based on the exitflag of the original local solver, and check which solver returned lower function values. I guess such things are not possible with multistart, right?
To this end, I was searching for the source code of multistart / run to get some inspiration. Following the stacktrace,
I found the file MultiStart.m, but the core implementation seems to be hidden in fmultistart.p, hence not accessible.
Is that true or did I miss relevant .m files to look into?

답변 (1개)

John D'Errico
John D'Errico 2023년 7월 10일
편집: John D'Errico 2023년 7월 10일
No problem. Just apply for a job at The MathWorks. Then get a job (there, and probably in the correct part of their organization would be a good idea.)
However, MathWorks does not proide source code for compiled or p-coded files to anyone else though.
Nothing stops you from writing a similar code though, but I would suggest you name it something else.

카테고리

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