How can I get multiple Lagrangian multiplier in Global optimization toolbox for inequality constraint?

1 view (last 30 days)
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.

Answers (0)

Community Treasure Hunt

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

Start Hunting!