How can I get multiple Lagrangian multiplier in Global optimization toolbox for inequality constraint?
1 回表示 (過去 30 日間)
古いコメントを表示
I wrote the following code:
gs = GlobalSearch;
problem = createOptimProblem('fmincon','x0',x0,...
'objective',objective,'lb',lb,'ub',ub,'nonlcon',constfunc);
% x = run(gs,problem)
[res4,fval4,exitflag,output,lambda] = run(gs,problem);
I tried with:
lambda.ineqnonlin
But I did not find the corresponding Lagrangian multiplier but using the lambda.ineqnonlin command. How could I extranct the 'Lambda' from the optimization results.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Surrogate Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!