Optimization team
Optimization team

Reputation: 143

What are the options for CBC solver in Pyomo?

Two questions:

1- Is there any options for cbc solver to stop when a feasible solution is found? I know 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

Thanks

Upvotes: 0

Views: 1319

Answers (1)

jsiirola
jsiirola

Reputation: 2589

To terminate CBC after the first feasible integer solution, set the maxs option to 1.

See the CBC command line documentation for a partial list of CBC options. The CBC FAQ in the CBC Users Guide has instructions for getting a list of all options (including undocumented options) by running CBC in interactive mode from a command prompt, setting the verbosity to level 15, and running the "?" command:

./bin/cbc
verbose 15
?

Upvotes: 3

Related Questions