How to relate the two problems using Lagrangian multipliers (Lambada) values in 'fmincon' matlab optimization toolbox solver?

1 次查看(过去 30 天)
I am working with non linear problem, It is mixed integer problem i decomposed the problem into two sub problems(main problem and sub problem) using 'Benders decomposition' method. In bender decomposition method to relate the two decomposed problems a benders cut(inequality constraint) is added to main problem like (S(u*)+lambda(u-u*)<0), where lambda is Lagrangian multiplier obtained from sub problem.
I am solving this NLP problem by using 'fmincon' solver in matlab optimization toolbox using 'interior point algorithm', I coded these two problems (main problem and sub problem) separately i got the Lagrangian multipliers values (lambda values) but i don't know how to export the value of lambda from sub problem to main problem. Can any one help me how to export the values (how to interlink main and sub problems)
Thanks in advance
Sandeep

回答(1 个)

Kallam Haranadha Reddy
In the optimization tool box at the top left corner you can see the 'File' tab. If you press that tab, you will find the option 'Export to work space'. If you select that option, you will be asked whether to save the optimization problem, or results,or all. you select to save all. You will be asked to give a name to the exported file. Thats all. If you want to run the optimization problem with different values you can invoke the exported problem

类别

Help CenterFile Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by