how to output the standard form of model

21 views
Skip to first unread message

ran

unread,
Feb 23, 2019, 8:36:49 PM2/23/19
to YALMIP
hello everyone
as we all know, Yalmip tansform the programing problem from arbitary form to standard form.
now, i want to get the standard form model, how to do this?
for example:
in Matlab, if i want to use the solver 'fmincon', we should input the A,b,Aeq,beq,lb,ub and the nonlinear fctn,etc.
when i use Yalmip to call this solver, where are these matrix? how can i get these?
thank you so much!

PS: i know the fctn 'export',but i cannot stiil understand how Yalmip calling solvers. 

Johan Löfberg

unread,
Feb 24, 2019, 2:36:39 AM2/24/19
to YALMIP
if export isn't enough, you will have to put a break in the code that calls the solver, such as callfmincon or callgurobi etc, and check the logic and structures

fmincon models cannot be extracted, as the nonlinear functions are computed dynamically and computational engines for computing function values and derivatives are generated internally
Reply all
Reply to author
Forward
0 new messages