Bonmin options

483 views
Skip to first unread message

Carlos Vergara

unread,
Mar 1, 2016, 11:48:32 AM3/1/16
to Pyomo Forum
Hi everyone,

how can i change or modify the bonmin solver options?

Thanks,

Carlos

Bethany Nicholson

unread,
Mar 1, 2016, 12:46:27 PM3/1/16
to pyomo...@googlegroups.com

--
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.

Carlos Vergara

unread,
Mar 1, 2016, 12:56:29 PM3/1/16
to Pyomo Forum
I tried  --solver-options= "mipgap=0.01 "  but i get this error:

[    0.00] Setting up Pyomo environment
[    0.00] Applying Pyomo preprocessing actions
[    0.00] Creating model
[    0.07] Applying solver
ERROR: "[base]\site-packages\pyomo\opt\base\solvers.py", 568, solve
        Solver (asl) returned non-zero return code (1)
ERROR: "[base]\site-packages\pyomo\opt\base\solvers.py", 571, solve
        See the solver log above for diagnostic information.
[    2.70] Pyomo Finished
ERROR: Unexpected exception while running model:
        Solver (asl) did not exit normally

Gabe Hackebeil

unread,
Mar 1, 2016, 1:00:52 PM3/1/16
to pyomo...@googlegroups.com
Try adding --stream-solver to see if Bonmin gives you more information.

Gabe

David Woodruff

unread,
Mar 1, 2016, 1:02:39 PM3/1/16
to pyomo...@googlegroups.com
I looked at the Bonmin documentation and did not see a mipgap option. Pyomo passes the options specified by --solver-options to the directly to the solver, so you need to use an option name that Bonmin uses. See
https://software.sandia.gov/downloads/pub/pyomo/PyomoOnlineDocs.html#_passing_options_to_a_solver

Here is the Bonmin documentation that I looked at:
https://projects.coin-or.org/Bonmin/browser/stable/1.5/Bonmin/doc/BONMIN_UsersManual.pdf?format=raw


Carlos Vergara

unread,
Mar 1, 2016, 2:20:58 PM3/1/16
to Pyomo Forum, dlwoo...@ucdavis.edu
Bonmin documentation has all the commands to change the options.

Its just needed to add 'bonmin' before the option (bonmin.algorithm=xxxxxx)

Thank you
Reply all
Reply to author
Forward
0 new messages