[Clp] switch from gusek (GLPK) to clp

Louis Mathieu louis.mathieu at student.ecp.fr
Thu Jul 16 03:48:46 EDT 2015


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] 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/clp/attachments/20150716/377d1564/attachment.html>


More information about the Clp mailing list