[Cbc] How to get CBC-solution in AMPL format ?

victor.zverovich at gmail.com victor.zverovich at gmail.com
Fri Mar 29 14:42:28 EDT 2013


Hi Vladimir,

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:

  cbc <stub> -AMPL

where <stub> is the name of the .nl file without an extension.

HTH,
Victor

On Fri, Mar 29, 2013 at 11:07 AM, vladimir voloshinov <
vladimir.voloshinov at gmail.com> 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/fe7a494c/attachment.html>


More information about the Cbc mailing list