[Cbc] How to get CBC-solution in AMPL format ?
John Forrest
john.forrest at fastercoin.com
Fri Mar 29 14:32:51 EDT 2013
Vladimir,
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.
John Forrest
On 29/03/13 18:07, vladimir voloshinov wrote:
> Dear CBC team,
> we successfully use CBC (2.7.7) for AMPL models via OSAmplClient from
> AMPL translator.
> 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.
> The most convenient would be if CBC-solution will be returned in AMPL
> format (*.sol file created by write_sol ASL routine).
> 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.
> 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(...).
>
> May be there are some "hidden" options of CBC (or OSSolverService) or
> "tricks" of compilation ?
> We'll be happy for any hints.
> --
> Vladimir V. Voloshinov,
> Ph.D, head of lab. O-3 "Distributed computing algorithms",
> http://www.iitp.ru/ru/researchlabs/1040.htm,
> Department of Distributed Computing, http://dcs.isa.ru, Institute for
> Information Transmission Problems RAS, http://www.iitp.ru
>
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20130329/4ce6e6c1/attachment.html>
More information about the Cbc
mailing list