<div dir="ltr"><div>Hi Victor, <br>thanks a lot! <br>It works.<br></div><br>I&#39;ve missed the note in Cbc Changelog (README), where they wrote about &quot;fixing the problem with AMPL interface&quot; since CBC 2.7.2. <br>
One and half year ago Cbc team told me to use OSAmplClient or OSSolverService...<br><div><div><div class="gmail_extra"><br></div><div class="gmail_extra">Now, Cbc becomes much more AMPL-friendly.<br><br></div><div class="gmail_extra">
Best regards,<br>Vladimir.<br><br></div><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 29, 2013 at 10:42 PM, <a href="mailto:victor.zverovich@gmail.com">victor.zverovich@gmail.com</a> <span dir="ltr">&lt;<a href="mailto:victor.zverovich@gmail.com" target="_blank">victor.zverovich@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Vladimir,<div><br></div><div>If you have a problem in the .nl format you can solve it with the CBC driver for AMPL and write a .sol file as follows:</div>
<div><br></div><div>  cbc &lt;stub&gt; -AMPL</div>

<div><br></div><div>where &lt;stub&gt; is the name of the .nl file without an extension.<br><div class="gmail_extra"><br></div><div class="gmail_extra">HTH,</div><div class="gmail_extra">Victor<br><br><div class="gmail_quote">
<div><div class="h5">

On Fri, Mar 29, 2013 at 11:07 AM, vladimir voloshinov <span dir="ltr">&lt;<a href="mailto:vladimir.voloshinov@gmail.com" target="_blank">vladimir.voloshinov@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div class="h5">

Dear CBC team,<br>we successfully use CBC (2.7.7) for AMPL models via OSAmplClient from AMPL translator.<br>But now, to &quot;distribute&quot; the computational load, we need to run CBC application on one server, but perform analysis of solution in AMPL translator running on another server.<br>



The most convenient would be if CBC-solution will be returned  in AMPL format (*.sol file created by write_sol ASL routine).  <br>But not in CBC nor in OSSolverService I can not find an option (similar to &quot;wantsol&quot; for AMPL-solvers) telling to write solution in AMPL format. <br>



At the same time in CbcSolver.cpp I see a call of writeAmpl(...) procedure, defined in Cbc_ampl on the base of an ASL write_sol(...).<br><br>May be there are some &quot;hidden&quot; options of CBC (or OSSolverService) or &quot;tricks&quot; of compilation  ?<br clear="all">



We&#39;ll be happy for any hints.<span><font color="#888888"><br>-- <br>Vladimir V. Voloshinov,<br>Ph.D, head of lab. O-3 &quot;Distributed computing algorithms&quot;, <span><font color="#888888"> <a href="http://www.iitp.ru/ru/researchlabs/1040.htm" target="_blank">http://www.iitp.ru/ru/researchlabs/1040.htm</a>,</font></span><br>



Department of Distributed Computing, <a href="http://dcs.isa.ru" target="_blank">http://dcs.isa.ru</a>, Institute for Information Transmission Problems RAS, <a href="http://www.iitp.ru" target="_blank">http://www.iitp.ru</a><br>


<br>
</font></span><br></div></div>_______________________________________________<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><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br><br>
</div></div></div></div>