<font face="arial,helvetica,sans-serif">You need GLPK not as an LP solver, but only to parse GMPL files inside CBC.<br><br>I don't know how to include GLPK in the windows build.<br><br>[]'s<br></font><br><div class="gmail_quote">
On Tue, Feb 8, 2011 at 10:34 AM, ranganaths <span dir="ltr"><<a href="mailto:ranganath.s@excelindia.com">ranganath.s@excelindia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hello,</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> I
don’t Understand why we need GLPK which is once again a LP solver with
CBC which is also a LP solver. </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><span>1.<span style="font: 7pt "Times New Roman";">
</span></span></span><span style="font-size: 11pt; color: rgb(31, 73, 125);">The need is for a converter which just generate the mps
file from a GMPL file format, correct me if I am wrong.</span></p></div></div></blockquote><div>Yes <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US"><div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><span>2.<span style="font: 7pt "Times New Roman";">
</span></span></span><span style="font-size: 11pt; color: rgb(31, 73, 125);">If at all we need the whole GLPK, should I copy the entire GLPK source
in the path Cbc-2.6.2\CoinUtils\MSVisualStudio\v8?</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><span>3.<span style="font: 7pt "Times New Roman";">
</span></span></span><span style="font-size: 11pt; color: rgb(31, 73, 125);">Is GLPK 4.34 compatible with CBC 2.6.2?</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><span>4.<span style="font: 7pt "Times New Roman";">
</span></span></span><span style="font-size: 11pt; color: rgb(31, 73, 125);">Any documentation on how to compile GLPK with CBC on Windows?</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Regards,</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Ranganath S </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <a href="mailto:cbc-bounces@list.coin-or.org" target="_blank">cbc-bounces@list.coin-or.org</a>
[mailto:<a href="mailto:cbc-bounces@list.coin-or.org" target="_blank">cbc-bounces@list.coin-or.org</a>] <b>On Behalf Of </b>Haroldo Santos<br>
<b>Sent:</b> Tuesday, February 08, 2011 5:29 PM<br>
<b>To:</b> Michal Kaut<div class="im"><br>
<b>Cc:</b> <a href="mailto:cbc@list.coin-or.org" target="_blank">cbc@list.coin-or.org</a><br>
</div><div class="im"><b>Subject:</b> Re: [Cbc] [Clp] GNUMath Prog</div></span></p>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-bottom: 12pt;"><span>Hi
Michal,<div><div></div><div class="h5"><br>
<br>
Could you try something like :<br>
cbc posmDTF.mat%comp-2007-2-17.dat solve solu.txt<br>
<br>
Will save solution in solu.txt<br>
<br>
<br>
</div></div></span></p><div><div></div><div class="h5">
<div>
<p class="MsoNormal">On Tue, Feb 8, 2011 at 6:14 AM, Michal Kaut <<a href="mailto:mail@michalkaut.net" target="_blank">mail@michalkaut.net</a>> wrote:</p>
<p class="MsoNormal">Just a question about the level of GMPL support: last time I
tried, only<br>
Symphony parsed also the reporting parts of the .mod files (printing of<br>
the results etc) - Cbc simply ignored them.<br>
Has it improved now? And if not, are there any plans to do it? (Solving<br>
a problem does not really help, if one cannot print the results<br>
afterwards..)<br>
<br>
Regards,<br>
<span style="color: rgb(136, 136, 136);">Michal</span></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom: 12pt;"><br>
<br>
On 07/02/11 19:06, Ted Ralphs wrote:<br>
> This is not really the right mailing list for question about CBC, so<br>
> I'm cc'ing the Cbc list. All of the COIN-OR projects can read GMPL in<br>
> principle if the code is built with GLPK present. The ability to read<br>
> GMPL files is provided in the CoinUtils project through a link to<br>
> GLPK. With Cbc, if you specify the model and data files with a
"%" in<br>
> between as your input file name, it will read them as GMPL, i.e.,<br>
><br>
> cbc sample.mod%sample.dat<br>
><br>
> To build cbc with GMPL support using the autotools, you would go into<br>
> the ThirdParty/Glpk directory and run the command<br>
><br>
> ./get.Glpk<br>
><br>
> This will download the source for the proper version of Glpk. Then<br>
> just configure and build as usual. The Glpk source will be<br>
> auto-detected, built, and linked. We cannot distribute binaries that<br>
> include this capability because of restrictions imposed by the GPL.<br>
> Feel free to post further questions to either the Cbc list or the<br>
> CoinUtils list, as appropriate.<br>
><br>
> Cheers,<br>
><br>
> Ted<br>
><br>
> On Mon, Feb 7, 2011 at 12:10 PM, Brian Borchers<<a href="mailto:borchers@nmt.edu" target="_blank">borchers@nmt.edu</a>> wrote:<br>
>><br>
>>><br>
>>> Message: 1<br>
>>> Date: Mon, 7 Feb 2011 10:02:58 +0530<br>
>>> From: "ranganaths"<<a href="mailto:ranganath.s@excelindia.com" target="_blank">ranganath.s@excelindia.com</a>><br>
>>> Subject: [Clp] GNUMath Prog<br>
>>> To:<<a href="mailto:clp@list.coin-or.org" target="_blank">clp@list.coin-or.org</a>><br>
>>> Message-ID:<001201cbc680$192379e0$4b6a6da0$@<a href="mailto:s@excelindia.com" target="_blank">s@excelindia.com</a>><br>
>>> Content-Type: text/plain; charset="us-ascii"<br>
>>><br>
>>> Hello,<br>
>>><br>
>>><br>
>>><br>
>>> Does
COIN-OR BC(CBC) accept the input model in the<br>
>>> GNUMathProg format?<br>
>>><br>
>>><br>
>><br>
>> You can use glpk to convert a model from GNU Math Prog format to MPS
format<br>
>> and then use the MPS file as input into the COIN-OR tools.<br>
>><br>
>><br>
>><br>
>> --<br>
>> Brian Borchers
<a href="mailto:borchers@nmt.edu" target="_blank">borchers@nmt.edu</a><br>
>> Department of Mathematics <a href="http://www.nmt.edu/%7Eborchers/" target="_blank">http://www.nmt.edu/~borchers/</a><br>
>> New Mexico Tech
Phone: (575) 322-2592<br>
>> Socorro, NM 87801
FAX: (575) 835-5366<br>
>><br>
>> _______________________________________________<br>
>> Clp mailing list<br>
>> <a href="mailto:Clp@list.coin-or.org" target="_blank">Clp@list.coin-or.org</a><br>
>> <a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/mailman/listinfo/clp</a><br>
>><br>
>><br>
><br>
><br>
></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <br>
=============================================================<br>
Haroldo Gambini Santos<br>
Computing Department - Universidade Federal de Ouro Preto - UFOP<br>
email: haroldo [at ] <a href="http://iceb.ufop.br" target="_blank">iceb.ufop.br</a><br>
home/research page: <a href="http://www.iceb.ufop.br/decom/prof/haroldo/" target="_blank">http://www.iceb.ufop.br/decom/prof/haroldo/</a><br>
<br>
"Computer science is no more about computers than astronomy <br>
is about telescopes." Edsger Dijkstra<br>
</p>
</div></div></div>
</div>
<br>_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>=============================================================<br>Haroldo Gambini Santos<br>Computing Department - Universidade Federal de Ouro Preto - UFOP<br>email: haroldo [at ] <a href="http://iceb.ufop.br">iceb.ufop.br</a><br>
home/research page: <a href="http://www.iceb.ufop.br/decom/prof/haroldo/">http://www.iceb.ufop.br/decom/prof/haroldo/</a><br> <br>"Computer science is no more about computers than astronomy <br>is about telescopes." Edsger Dijkstra<br>
<br>