[Bonmin] reading bonmin output .sol, accessing optimal solution
pierre.bonami at gmail.com
Sat Jan 7 15:13:00 EST 2012
You should better run bonmin from inside ampl that knows how to read the
output sol file generated by bonmin.
In ampl just use:
option solver bonmin;
to choose bonmin as the solver.
I hope this helps. Best,
On Thursday, January 5, 2012, Martin Mevissen1 wrote:
> Hi everyone,
> I have the following problem, for which I could not find an answer in the
> bonmin manual (and checking the available online support):
> I am running bonmin from command line in cygwin with an *.nl file
> (generated via ampl as outlined in the tutorial by David Gay) as input.
> Bonmin does terminate successfully and prints the correct minimum. However,
> the optimal solution for which this minimum is achieved is not reported.
> How can I access the full optimal vector of continuous and binary
> variables? I put the print level = 8 in bonmin.opt, but the stated primal
> solution vector $x$ is too short to be the full optimal solution. In the
> case it is contained in the *.sol file generated by bonmin, how can I
> read/access this file?
> It would be great, if someone could help me with this.
> Best regards,
> Bonmin mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Bonmin