Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
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.

Réponses (0)

Catégories

En savoir plus sur Surrogate Optimization dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by