Pyomo + CBC

208 views
Skip to first unread message

Optimization team

unread,
Jul 8, 2022, 5:57:53 AM7/8/22
to Pyomo Forum
Dear Pyomo Experts, 
I have two questions :

1- Is there any options for cbc solver to stop when a feasible solution is found? 
I knwo there is a opt.options['seconds'] =100 but when I specify small numbers it does not find a feasible one 

2- Is there any list for CBC options ? so I can read them all

Best regards 

Message has been deleted

Solver Max

unread,
Jul 8, 2022, 6:19:29 PM7/8/22
to Pyomo Forum
You can get a list of CBC options by:
- Open a CMD or PowerQuery window
- Start CBC by typing: CBC
- To make the output more verbose, type: verbose 15
- To get a list of parameters, type: ?

To stop when you have a feasible solution, you could try the following options in various combinations: allowableGap, ratioGap, presolve, maxIterations. Alternatively, you could constrain the objective function value, via trial-and-error, to find the point where the model becomes feasible.
Reply all
Reply to author
Forward
0 new messages