フィルターのクリア

how to multistart with CustomStartPointSet

2 ビュー (過去 30 日間)
Andrea Agosti
Andrea Agosti 2019 年 7 月 11 日
コメント済み: Alan Weiss 2020 年 12 月 4 日
Dear All, i'm using multistart to solve an optimization problem. To be more efficient i want to provide a set of starting points.
ms = MultiStart('Display','iter','UseParallel',true);
startM = initialMATRIX(50,n_points,UB,LB,planar);
tpoints = CustomStartPointSetCustomStartPointSet(startM);
problem = createOptimProblem('fmincon','x0',planar,'objective',ObjectiveFunction,'lb', LB,'ub', UB,'Aineq',A,'bineq',b);
[R,Fval] = run(gs,problem,tpoints);
now, I know that when I'm setting multistart to create a random set of points, i need to declare
[R,Fval] = run(ms,problem,50);
And it will start with 50 + 1 because it uses also the point x0.
What happens when i use the custom set of points? x0 is added or not? and if it is not, why i still need to declare it?
thanks!
  2 件のコメント
Marylen Sun
Marylen Sun 2020 年 12 月 3 日
Hello!!
Do you know undertand how can i set a matrix of start points?
Please, thank you
Alan Weiss
Alan Weiss 2020 年 12 月 4 日
Did you look at the documentation topic Set Start Points For MultiStart?
Alan Weiss
MATLAB mathematical toolbox documentation

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGlobal 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