Skip to main content

Questions tagged [coin-or]

For questions relating to the Computational Infrastructure for Operations Research (COIN-OR).

Filter by
Sorted by
Tagged with
0 votes
1 answer

Help needed for compiling the LP solver CLP on COIN-OR

I am having some issues with the CLP project on COIN-OR. If I try to compile the C++ code (on Visual Studio 2022) downloaded from the CLP repository (, I get multiple ...
0 votes
0 answers

Detect presolve status in pulp model

I am running a model using pulp CBC and have few constraints in the model that may make the model infeasible if wrong input is given to the model. I can see while my model runs that in case of ...
2 votes
1 answer

Structuring an MINLP solver

Folks, I am working on a project in which I have to code some C++ algorithms for smooth MINLPs. Such algorithms are Extended Cutting Plane, Extended Supporting Hyperplane, and Outer Approximation. I ...
7 votes
1 answer

Using CBC CLI Arguments in Pyomo

I am currently using the cbc solver with Pyomo opt = SolverFactory('cbc') opt.solve(model) How can more options for Cbc be used,...
30 votes
4 answers

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

I come from an ML background, and occasionally have to dive into the OR world. I am trying to figure out whether I need to purchase a commercial solver license for a certain problem set. In the ML ...
3 votes
0 answers

Extract/Inject Solutions (orig problem-space) during Search in MILP -> CoinOR Cbc

Task / Goal I'm considering adding some customized problem-specific local-search component on top of a general-purpose MILP solver (= improvement heuristic). The basic idea is the following: All new ...
5 votes
1 answer

Deterministic termination criteria for CBC

I'm running CBC on problems for which not always an integer solution can be found in a given time, so the command line option sec 120 is set (2 minutes maximum). ...
3 votes
1 answer

Manually indicate initial basis for coin-or lp solver CLP

I have a set partitioning formulation with each constraint being an equality constraint to meet the given demand (right-hand side of the constraint). For each constraint, I have a slack and a surplus ...
8 votes
1 answer

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

This task appears to be harder than it seems to me. I want to create a continuous variable $x \in [0,1]$. To test this, I did use the open-source Python-MIP interface which uses the CBC-Solver out ...
8 votes
1 answer

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

In relation to using CBC via Pyomo: I was wondering if anyone knew if it was possible to set a maximum allowed time to improve a solution, rather than a maximum total time. This way, if you've been ...
5 votes
2 answers

Installing COIN-OR solvers in Ubuntu (Azure)

For a side project, I'm looking to install COIN-OR project solvers on a Microsoft Azure Ubuntu VM. (I will be running Pyomo optimization models on this VM as well; using NEOS isn't cutting it.) ...