Warm start for CBC?

576 views
Skip to first unread message

Luis de la Torre

unread,
Aug 31, 2015, 11:57:15 PM8/31/15
to Pyomo Forum
The pyomo documentation says that passing the option warmstart=True to solve() allows warm starts with some solvers.

The following:
opt = SolverFactory('cbc')
opt.solve(model, warmstart=True)

gives me the error

ValueError: ProblemWriter_cpxlp passed unrecognized io_options:
	warmstart = True

Is there a way to warm start CBC through Pyomo? I'm using CBC 2.8.8.

Thank you,

Luis de la Torre

Gabe Hackebeil

unread,
Sep 1, 2015, 12:31:48 AM9/1/15
to pyomo...@googlegroups.com
Currently there is no way, that I am aware of, to warmstart CBC through the Pyomo LP file interface.

Out of curiosity, are you aware of any CBC documentation that discusses how to provide warmstart information through its LP file interface? Solvers like CPLEX and Gurobi use an extra MST file. If you come across anything let us know.

Another thing to look into would be compiling CBC with support for the ASL interface (NL files). Starting points are automatically included in NL files written by Pyomo (no warmstart keyword is necessary), and it might be that CBC will use this information for a MIP warmstart.

Regards,
Gabe
--
You received this message because you are subscribed to the Google Groups "Pyomo Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyomo-forum...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages