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 CenterFile Exchange 中查找有关 Surrogate Optimization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by