6
$\begingroup$

I would like to code some IP/MIP models in python and test them with an open-source solver. As of now, I only know the Cbc - COIN-OR open-source solver.

I have already tried the or-tools interface, unfortunately, its capabilities are restricted (e.g., linear expressions are not possible).

I have also tried to install the COIN-OR CyLP Interface both in Win10 and Linux Ubuntu without any success.

Are there any interfaces that offer an OR-Tools similar experience?

$\endgroup$
8
$\begingroup$

There are several packages I can think of with an interface to CBC:

| improve this answer | |
$\endgroup$
  • $\begingroup$ I also found MiniZinc although it only has Constraint Programming examples. Which one of the three you mentioned would you recommend? $\endgroup$ – Georgios Jan 11 at 17:51
  • $\begingroup$ Also from the three interfaces, you mentioned the MIP is beautifully documented. $\endgroup$ – Georgios Jan 11 at 18:46
  • 1
    $\begingroup$ I came to know Pulp before the other two and I've used it more. Also, Pulp syntax resembles gurobi which definitely made it easier for me and I think it's easy to learn for anyone. Pyomo is definitely the richest, with object-oriented style and feel, and well maintained. So, I incline to say it's the most robust. I've not had the chance to use MIP myself and I heard about it from others, but I agree with your statement about its documentation. $\endgroup$ – EhsanK Jan 11 at 19:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.