<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi Pratim,<div>I am affraid that there is no possibility to retrieve the option through Ampl with Bonmin right now.</div><div>The way I usualy do is that I redirect the output of Bonmin in a text file and then parse it.</div><div><br></div><div>Each time an integer feasible solution is found there is a line like this:</div><div>Cbc0004I Integer solution of -2.50014 found after 38 iterations and 2 nodes (0.10 seconds)</div><div>(always starts with Cbc0004I)</div><div><br></div><div>At the end of optimization there is a line like this:</div><div>Cbc0001I Search completed - best objective -2.500141411335856, took 43 iterations and 3 nodes (0.11 seconds)</div><div><br></div><div>Sorry, that there is no better solution right now.</div><div>Best regards,</div><div>Pierre<br><div><div>On Jun 20, 2008, at 4:24 PM, Pratim Vakish wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><blockquote> <div style="TEXT-ALIGN: left">Hello, <br><br>I am using Bonmin to solve MINLP problems modelled in AMPL. </div> <div style="TEXT-ALIGN: left">I would like to record in a text file:</div> <div style="TEXT-ALIGN: left">1) the number of nodes and the computational time needed until Bonmin finds the first feasible solution, and </div> <div style="TEXT-ALIGN: left">2) the number of nodes and the computational time needed until Bonmin finds the optimal solution.</div> <div style="TEXT-ALIGN: left"> </div> <div style="TEXT-ALIGN: left">Could you please indicate me how/which command line/option I can use (again I am using AMPL) to obtain this output?</div> <div style="TEXT-ALIGN: left"><br>Thanks!<br><br><br>Pratim</div></blockquote><br><hr>The other season of giving begins 6/24/08. Check out the i’m Talkathon. <a href="http://www.imtalkathon.com?source=TXT_EML_WLH_SeasonOfGiving" target="_new">Check it out!</a><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Bonmin mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:Bonmin@list.coin-or.org">Bonmin@list.coin-or.org</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://list.coin-or.org/mailman/listinfo/bonmin">http://list.coin-or.org/mailman/listinfo/bonmin</a></div> </blockquote></div><br></div></body></html>