<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Vladimir,<br>
<br>
Due to advanced senility, I can not remember much about ampl
interface (although I wrote it). I will try and look at it in a
day or two - but looking at code, it may be as simple as passing
in an explicit "exit" to get to writeAmpl.<br>
<br>
John Forrest<br>
On 29/03/13 18:07, vladimir voloshinov wrote:<br>
</div>
<blockquote
cite="mid:CAH87KpucyN5fr8=WE0ZV81TM+of7yYJEL5iceV89Uv6iwNa6iQ@mail.gmail.com"
type="cite">Dear CBC team,<br>
we successfully use CBC (2.7.7) for AMPL models via OSAmplClient
from AMPL translator.<br>
But now, to "distribute" 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 "wantsol" 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 "hidden" options of CBC (or OSSolverService)
or "tricks" of compilation ?<br clear="all">
We'll be happy for any hints.<br>
-- <br>
Vladimir V. Voloshinov,<br>
Ph.D, head of lab. O-3 "Distributed computing algorithms", <span
class="HOEnZb adL"><font color="#888888"> <a
moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://dcs.isa.ru" target="_blank">http://dcs.isa.ru</a>,
Institute for Information Transmission Problems RAS, <a
moz-do-not-send="true" href="http://www.iitp.ru">http://www.iitp.ru</a><br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Cbc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/cbc">http://list.coin-or.org/mailman/listinfo/cbc</a>
</pre>
</blockquote>
<br>
</body>
</html>