[Clp] switch from gusek (GLPK) to clp

Ted Ralphs ted at lehigh.edu
Sun Jul 19 22:54:55 EDT 2015


There is also PuLP, which is a bit lighter weight. The learning curve is
shallower than Pyomo.

https://projects.coin-or.org/PuLP

Cheers,

Ted

On Thu, Jul 16, 2015 at 7:02 AM, Meketon, Marc <Marc.Meketon at oliverwyman.com
> wrote:

>  Yes. For example look at the Python based Pyomo modeling language. It
> has support for CBC.  Another is JmP which based on the new-ish language
> Julia from MIT.
>
> Sent from my iPhone
>
> On Jul 16, 2015, at 3:49 AM, Louis Mathieu <louis.mathieu at student.ecp.fr>
> wrote:
>
>   Hello Marc,
>
>
>  Thank for your answer,
>
>
>  One last question, is there any other solution to build the .mps file
> and have some output data (like printf in glpk) using clp ? If I do not use
> glpk anymore it does not bother me, I can rewrite my model in another
> language.
>
>
>  Regards,
>
>
>  LM
>
>
>
>
>  ------------------------------
> *De :* Meketon, Marc <Marc.Meketon at oliverwyman.com>
> *Envoyé :* mercredi 8 juillet 2015 16:23
> *À :* Louis Mathieu; clp at list.coin-or.org
> *Objet :* RE: switch from gusek (GLPK) to clp
>
>
> I do not believe anyone has completed the GLPK to CLP (or CBC) link.
> Please look at email from Heinrich Schuchardt:
>
> https://lists.gnu.org/archive/html/help-glpk/2015-05/msg00012.html
>
>
>
> Heinrich also sent me the following:
>
> “at the time of my testing GMPL postsolve processing did not work. As
> described in the Wikibook I was only able to export to CSV.
>
> The relevant coding is in
>
> https://github.com/coin-or/CoinUtils/blob/master/CoinUtils/src/CoinMpsIO.cpp
> method CoinMpsIO::readGMPL”
>
>
>  I tend to use GLPK to write out the “freemps” version of the .mps file,
> call CBC, have CBC write out a solution file, and then read in the solution
> file.  So this is by file transfer, and it means that any statements you
> make after the “solve;” statement in GLPK is missing.  It also means a lack
> of integration with GUSEK.
>
>
>
> -Marc
>
>
>
> *From:* clp-bounces at list.coin-or.org [mailto:clp-bounces at list.coin-or.org
> <clp-bounces at list.coin-or.org>] *On Behalf Of *Louis Mathieu
> *Sent:* Wednesday, July 08, 2015 8:17 AM
> *To:* clp at list.coin-or.org
> *Subject:* [Clp] switch from gusek (GLPK) to clp
>
>
>
> Hello,
>
>
>
> I am currently working on a linear programming model.
>
>
>
> I started using GLPK (in fact Gusek). It allowed me to just write my
> constraints define my variables ... and solve my model.
>
>
>
> I would like to switch to CLP which seems faster for my model.
>
>
>
> Could you explain me how to replace Gusek by CLP ? I understood I have to
> develop in C++ using the API to use CLP solver, but CLP seems to be solving
> matrix problems (.mps), is there any way feed clp using a model ?
>
>
>
> Regards,
>
>
>
> L.M
>
> ------------------------------
> This e-mail and any attachments may be confidential or legally privileged.
> If you received this message in error or are not the intended recipient,
> you should destroy the e-mail message and any attachments or copies, and
> you are prohibited from retaining, distributing, disclosing or using any
> information contained herein. Please inform us of the erroneous delivery by
> return e-mail. Thank you for your cooperation.
>
>
> ------------------------------
> This e-mail and any attachments may be confidential or legally privileged.
> If you received this message in error or are not the intended recipient,
> you should destroy the e-mail message and any attachments or copies, and
> you are prohibited from retaining, distributing, disclosing or using any
> information contained herein. Please inform us of the erroneous delivery by
> return e-mail. Thank you for your cooperation.
>
> _______________________________________________
> Clp mailing list
> Clp at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/clp
>
>


-- 
Dr. Ted Ralphs
Professor, Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/clp/attachments/20150719/9f41dd42/attachment.html>


More information about the Clp mailing list