Hot answers tagged

50 votes
Accepted

What are the advantages of commercial solvers like Gurobi or Xpress over open source solvers like COIN-OR or CVXPY?

Disclaimer: I am currently working for a commercial solver company (Gurobi) and have worked before on another commercial solver (IBM CPLEX). Hence, my opinion may be biased, but still I am trying to ...
user avatar
20 votes

What are the advantages of commercial solvers like Gurobi or Xpress over open source solvers like COIN-OR or CVXPY?

No, the situation isn´t the same for OR libraries. There are several reasons for this, among them being Performance: The difference is relevant, with an emphasis on Mixed Integer Programming (linear ...
user avatar
  • 1,587
19 votes

What are the advantages of commercial solvers like Gurobi or Xpress over open source solvers like COIN-OR or CVXPY?

I think the short answer is: speed. Most optimization problems solved in the OR world are computationally intractable, they cannot be solved in reasonable time as the size of the data increases. A ...
user avatar
  • 10.4k
12 votes
Accepted

Creating a Continuous Decision Variable between 0 and 1 in Python-MIP Interface

I don't know much about Python-mip but looking at the code, maximize expects a LinExpr, so I tried: ...
user avatar
  • 1,384
9 votes

What are the advantages of commercial solvers like Gurobi or Xpress over open source solvers like COIN-OR or CVXPY?

(Full disclosure: I run a solver company) The state of the art Unlike ML, in the optimisation space commercial software is unfortunately on average superior to open-source alternatives. This does not ...
user avatar
5 votes
Accepted

Using CBC CLI Arguments in Pyomo

You can use opt.options['Solver parameter to change']='value'. The following is part of the code that I tried and the generated output: ...
user avatar
  • 8,340
3 votes

Installing COIN-OR solvers in Ubuntu (Azure)

The Coin-OR stack is pretty complex with a huge dependency chain. In general i would say, that the usual rules apply: easiest to hardest in general looks like System Packages Official Builds Build ...
user avatar
  • 213
3 votes

Installing COIN-OR solvers in Ubuntu (Azure)

I do not have direct experience myself with installing COIN-OR solvers under unix-based operating systems, but I do know that it can be done. I have seen it successfully done for CLP (Linear Program ...
user avatar
  • 530
2 votes

Deterministic termination criteria for CBC

Use different parameter such as maximum number of nodes to be checked during branching, regardless the time of execution. Hope this helps.
user avatar
2 votes

Manually indicate initial basis for coin-or lp solver CLP

in CPLEX you can use warmstart with all APIs. Let me show you in OPL: .mod ...
user avatar
2 votes

How to set a maximum time to improve a solution with Pyomo and CBC

Please check this question which is asked and answered in Stack Overflow. Also, this link includes the explanation of different termination condition in Pyomo. One of those conditions is "...
user avatar
  • 8,340

Only top scored, non community-wiki answers of a minimum length are eligible