Call OR-Tools from Pyomo

304 views
Skip to first unread message

Ihsan Salleh

unread,
Mar 22, 2021, 1:46:23 PM3/22/21
to or-tools...@googlegroups.com
Hello community.
I am not sure which group to ask: Pyomo or OR-Tools. 

Is there a way to call the OR-Tools solver, BOP, from a Pyomo model?

I am thinking something like this Pyomo model setup:

from pyomo.opt import SolverFactory
solver = SolverFactory('bop')
results = solver.solve(instance)

Here, instance is an instantiation of the Pyomo model from the data.

Thank you for any thoughts.

Ihsan

Laurent Perron

unread,
Mar 22, 2021, 2:04:36 PM3/22/21
to or-tools-discuss
I have never talked to the pyomo team, so I guess not.
Laurent Perron | Operations Research | lpe...@google.com | (33) 1 42 68 53 00



--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/or-tools-discuss/CAM95_5z9JLnvaagJv7u-j2Hj8twq05rbixPNc5n-BCDvqfSSwQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages