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 件)

カテゴリ

Help Center および File ExchangeSurrogate Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by