YALMIP seems to ignore sdpsettings solver options

32 views
Skip to first unread message

YALMIP-User

unread,
Jul 5, 2022, 9:23:33 AM7/5/22
to YALMIP
Dear all,

this is how I try to solve a MILP-problem by using YALMIP from within an Matlab Livescript:
options = sdpsettings('solver','intlinprog','verbose',2,'showprogress',1,'intlinprog.MaxNodes',1e2,'intlinprog.MaxTime',20)
sol = optimize(constraints,objective)

Although I limited the maximum running time for the solver (which works fine if I use the solve-command from native MATLAB) the solver does not abort when the time is over.
Also the verbose-option does not printany messages to my console.

What am I doing wrong?

Johan Löfberg

unread,
Jul 5, 2022, 9:39:37 AM7/5/22
to YALMIP

you never use the options
Reply all
Reply to author
Forward
0 new messages