Dear Martin,<div>You should better run bonmin from inside ampl that knows how to read the output sol file generated by bonmin.</div><div>In ampl just use:</div><div>option solver bonmin;</div><div>to choose bonmin as the solver.</div>
<div>I hope this helps. Best,</div><div>Pierre<br><br>On Thursday, January 5, 2012, Martin Mevissen1  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi everyone,<br>
<br>
I have the following problem, for which I could not find an answer in the<br>
bonmin manual (and checking the available online support):<br>
<br>
I am running bonmin from command line in cygwin with an *.nl file<br>
(generated via ampl as outlined in the tutorial by David Gay) as input.<br>
Bonmin does terminate successfully and prints the correct minimum. However,<br>
the optimal solution for which this minimum is achieved is not reported.<br>
How can I access the full optimal vector of continuous and binary<br>
variables? I put the print level = 8 in bonmin.opt, but the stated primal<br>
solution vector $x$ is too short to be the full optimal solution. In the<br>
case it is contained in the *.sol file generated by bonmin, how can I<br>
read/access this file?<br>
<br>
It would be great, if someone could help me with this.<br>
<br>
Best regards,<br>
<br>
Martin<br>
<br>
_______________________________________________<br>
Bonmin mailing list<br>
<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;Bonmin@list.coin-or.org&#39;)">Bonmin@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/bonmin" target="_blank">http://list.coin-or.org/mailman/listinfo/bonmin</a><br>
</blockquote></div>