Questions tagged [coin-or-clp]

Clp (Coin-OR linear programming) is an open-source linear programming solver written in C++. It is part of the COIN-OR (Computational Infrastructure for Operations Research) project, a collection of Open Source software for the Operations Research Community.

Resources:

COIN-OR Homepage

Clp Procect Page

8 questions
3
votes
0 answers

How do I set up a linear program in COIN-OR Clp?

I'm using COIN-OR Clp, and I need to define my linear problem in C++. I can construct my problem in terms of a matrix and a constraint vector, but I don't understand the format that Clp needs this information in. How do I structure a…
Battery_Al
  • 779
  • 1
  • 5
  • 20
1
vote
0 answers

How to let the Coin-or Cbc Solver write solution file?

I use the C++ library of COIN-OR Cbc Solver to solve some LP problems. And I can't find anywhere a function or something that writes the solution file. I think somewhere in the code there is this functionality because you can use COIN-OR's command…
Pureve G
  • 11
  • 1
1
vote
0 answers

how can i change the lower bound using JuMP 0.19

I have a variable x where its lower bound was defined as lb=zeros(3), after that I want to change for each element of lb to be equal element of an array like c=[1;2;1] what I want exactly is to make lb[i]=c[i] for i=1:length(c) I used to do this in…
Marouane1994
  • 534
  • 3
  • 11
1
vote
1 answer

Pyomo - Location of Log Files

Pretty basic question, but where can I find solver log files from Pyomo? I have a local installation of the COIN-OR solvers on an Ubuntu machine. This is happening in a Jupyter notebook, but I'm getting the same error message when I run the .py…
Ralph
  • 255
  • 2
  • 18
1
vote
1 answer

CMake ExternalProject_Add use automatically set variables

According to documentation, ExternalProject_Add sets unset directory variables itself. If any of the above ..._DIR options are not specified, their defaults are computed as follows. If the PREFIX option is given or the EP_PREFIX directory property…
Matthias Brandt
  • 342
  • 3
  • 11
0
votes
0 answers

CBC Hangs After Finding Optimal Solution

I am trying to use CBC to solve an mps file. It frequently hangs for long periods of time and it will exit without any message. It will also hang even after it has found the optimal solution. I don't know why it isn't returning to prompt. I've…
Jim
  • 105
  • 1
  • 7
0
votes
1 answer

Objective Lower Bound command? Using PULP with COIN_CMD/CBC/CLP

I'm using PULP to solve an LP with CBC with a fracgap(epgap) of 0.01 (99.99%). Is there a command to return the best lower bound found after the solver finishes? So, whatever the solver is comparing the objective value to in order to know its…
user3431083
  • 404
  • 5
  • 19
-1
votes
1 answer

Coin-or - using in my project

I would like to use COIN-OR as a shared library for my own project, do you have any link to create COIN-OR as a shared library and include it in my project including CMakeList demo?