YALMIP time used by optimizer

19 views
Skip to first unread message

Friso

unread,
Jan 10, 2017, 10:31:50 AM1/10/17
to YALMIP
Hi,

I am solving a certain MIQP multiple times, each time with different input parameters and hence use to optimizer function to reduce YALMIP time. This works great!!

However, I was wondering if there is an option to see the required YALMIP time to create the optimizer object and the required time to solve the optimizer object. Something like the optimize function already gives, like

optimize(Constraints,Objective,options)
ans
=
    yalmiptime
: 0.1806
    solvertime
: 0.0184
          info
: 'Successfully solved (GUROBI-GUROBI)'
       problem
: 0

Regards,

Friso

Johan Löfberg

unread,
Jan 10, 2017, 11:08:22 AM1/10/17
to YALMIP
No, for that you have to profile the code
Reply all
Reply to author
Forward
0 new messages