Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How hard is to extend LP so it can use coin-CLP as the LP solver? #2

Open
migp11 opened this issue Jul 1, 2019 · 3 comments
Open

Comments

@migp11
Copy link

migp11 commented Jul 1, 2019

Hi,

First, Great project! Thanks!
Second, this is not an issue but a question.

My history. I'm currently developing some systems biology simulation which require the resolution of LP. Usually I use cplex, gurobi or glpk through a python general interface.
But this particular project I'm referring to, is coded in C++.

After reviewing some open source LP libraries in C++ I started to use Clp.
However I would like to use a more abstract interface that allow to use different
solver under the hood, and after some more exploration I founded your project.
I haven't tested yet, but it's looks like it will perfectly fit my needs.

The question. How hard is to extend the project so it can also use CLP as a solver?
Thanks!
Best
Miguel

@h-g-s
Copy link
Owner

h-g-s commented Jul 2, 2019 via email

@migp11
Copy link
Author

migp11 commented Jul 5, 2019

Hi Haroldo,

Thanks for your answer.
Ok, Cbc include Clp. It make sense ;-)
I was only using CLP so I didn't know what CBC exactly was

I just found out that for for my particular LP problem glpk is faster than CLP
So I think I will use GLPK as the default solver instead of CLP

Have you some examples on how compile using LP together with GLPK?

I've found that LP bring some .sh files to install CPLEX , Gurobi and CBC
Do I have to install nstallCPLEX.sh if I want to compile using CLPEX instead of GLPK.

Thank you very much for your help

BTW, I'm Miguel, Leon is part of my last name ;-)

@migp11 migp11 closed this as completed Jul 8, 2019
@migp11 migp11 reopened this Jul 8, 2019
@h-g-s
Copy link
Owner

h-g-s commented Jul 25, 2019

Hi Miguel,

Sorry for the delay in answering. I'm quite surprised that GLPK is faster in your application, this is very unusual. Could you share some .mps or .lp files with me ? I would like to check if with some different parameter setting the result is different.

To compile LP with GLPK just add -DGLPK .

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants