Questions when using CBC #1168
-
Dear Professor: Recently I am using Yalmip together with CBC (in the OPTI Toolbox) to solve MIP problems. And I have a question: ============================================================
============================================================ I failed to solve an MILP problem due to the maximum time. However, I didn't find an option to change the parameter "maximum time" in ops.cbc . I wonder how to change the parameters like "maximum time" and "maximum nodes" for CBC. Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Opti has some mix of common and solver specific, so I think you have to do something like below to add some some missing options ops = sdpsettings('solver','cbc'); YALMIP creates the options via cbcset, and some are not added by that constructor. You can look in opti_cbc to reverse engineer some stuff |
Beta Was this translation helpful? Give feedback.
Opti has some mix of common and solver specific, so I think you have to do something like below to add some some missing options
ops = sdpsettings('solver','cbc');
ops.cbc.maxtime = 1;
YALMIP creates the options via cbcset, and some are not added by that constructor. You can look in opti_cbc to reverse engineer some stuff