<font face="arial,helvetica,sans-serif">Hi Michal,<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></font><font face="arial,helvetica,sans-serif"></font><br>
<br><div class="gmail_quote">On Tue, Feb 8, 2011 at 6:14 AM, Michal Kaut <span dir="ltr">&lt;<a href="mailto:mail@michalkaut.net">mail@michalkaut.net</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;">
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>
<font color="#888888">Michal<br>
</font><div><div></div><div class="h5"><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">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">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">clp@list.coin-or.org</a>&gt;<br>
&gt;&gt;&gt; Message-ID:&lt;001201cbc680$192379e0$4b6a6da0$@<a href="mailto:s@excelindia.com">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">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">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;<br>
<br>
</div></div><div><div></div><div class="h5">_______________________________________________<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>
</div></div></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>