<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&#39;t know how to include GLPK in the windows build.<br><br>[]&#39;s<br></font><br><div class="gmail_quote">
On Tue, Feb 8, 2011 at 10:34 AM, ranganaths <span dir="ltr">&lt;<a href="mailto:ranganath.s@excelindia.com">ranganath.s@excelindia.com</a>&gt;</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 &quot;Times New Roman&quot;;">      
</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 &quot;Times New Roman&quot;;">      
</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 &quot;Times New Roman&quot;;">      
</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 &quot;Times New Roman&quot;;">      
</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 &lt;<a href="mailto:mail@michalkaut.net" target="_blank">mail@michalkaut.net</a>&gt; 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>
&gt; This is not really the right mailing list for question about CBC, so<br>
&gt; I&#39;m cc&#39;ing the Cbc list. All of the COIN-OR projects can read GMPL in<br>
&gt; principle if the code is built with GLPK present. The ability to read<br>
&gt; GMPL files is provided in the CoinUtils project through a link to<br>
&gt; GLPK. With Cbc, if you specify the model and data files with a
&quot;%&quot; in<br>
&gt; between as your input file name, it will read them as GMPL, i.e.,<br>
&gt;<br>
&gt; cbc sample.mod%sample.dat<br>
&gt;<br>
&gt; To build cbc with GMPL support using the autotools, you would go into<br>
&gt; the ThirdParty/Glpk directory and run the command<br>
&gt;<br>
&gt; ./get.Glpk<br>
&gt;<br>
&gt; This will download the source for the proper version of Glpk. Then<br>
&gt; just configure and build as usual. The Glpk source will be<br>
&gt; auto-detected, built, and linked. We cannot distribute binaries that<br>
&gt; include this capability because of restrictions imposed by the GPL.<br>
&gt; Feel free to post further questions to either the Cbc list or the<br>
&gt; CoinUtils list, as appropriate.<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Ted<br>
&gt;<br>
&gt; On Mon, Feb 7, 2011 at 12:10 PM, Brian Borchers&lt;<a href="mailto:borchers@nmt.edu" target="_blank">borchers@nmt.edu</a>&gt;  wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Message: 1<br>
&gt;&gt;&gt; Date: Mon, 7 Feb 2011 10:02:58 +0530<br>
&gt;&gt;&gt; From: &quot;ranganaths&quot;&lt;<a href="mailto:ranganath.s@excelindia.com" target="_blank">ranganath.s@excelindia.com</a>&gt;<br>
&gt;&gt;&gt; Subject: [Clp] GNUMath Prog<br>
&gt;&gt;&gt; To:&lt;<a href="mailto:clp@list.coin-or.org" target="_blank">clp@list.coin-or.org</a>&gt;<br>
&gt;&gt;&gt; Message-ID:&lt;001201cbc680$192379e0$4b6a6da0$@<a href="mailto:s@excelindia.com" target="_blank">s@excelindia.com</a>&gt;<br>
&gt;&gt;&gt; Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hello,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;                 Does
COIN-OR BC(CBC) accept the input model in the<br>
&gt;&gt;&gt; GNUMathProg format?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; You can use glpk to convert a model from GNU Math Prog format to MPS
format<br>
&gt;&gt; and then use the MPS file as input into the COIN-OR tools.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Brian Borchers                
         <a href="mailto:borchers@nmt.edu" target="_blank">borchers@nmt.edu</a><br>
&gt;&gt; Department of Mathematics      <a href="http://www.nmt.edu/%7Eborchers/" target="_blank">http://www.nmt.edu/~borchers/</a><br>
&gt;&gt; New Mexico Tech              
        Phone: (575) 322-2592<br>
&gt;&gt; Socorro, NM 87801              
    FAX: (575) 835-5366<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Clp mailing list<br>
&gt;&gt; <a href="mailto:Clp@list.coin-or.org" target="_blank">Clp@list.coin-or.org</a><br>
&gt;&gt; <a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/mailman/listinfo/clp</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;</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>
&quot;Computer science is no more about computers than astronomy <br>
is about telescopes.&quot; 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>&quot;Computer science is no more about computers than astronomy <br>is about telescopes.&quot; Edsger Dijkstra<br>
 <br>