Hi Giusepe,<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
- max_cpu_time can make Ipopt gives infeasibility</blockquote><div>If Ipopt did not have time to solve the problem it can not find a solution. Have in mind that Ipopt is not an algorithm to find a feasible solution, it is an algorithm to find an optimal solution (or a minimaly infeasible one).<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
- max_cpu_time only stops a single Ipopt iteration so<br>
if each iteration had duration less than max_cpu_time bonmin<br>
would never stop</blockquote><div>Correct. <br></div><div>That&#39;s why there is bonmin.time_limit. <br>Really imposing a time limit to Ipopt in Bonmin or imposing a time_limit of 1sec to Bonmin does not have much sense. If you are not certain that you have plenty of time to solve the continuous relaxation you should not expect Bonmin to find the integral optimum to the problem. Bonmin is based on Ipopt being able to solve continuous relaxations to optimality.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
if the answer to both previous question is yes:<br>
<br>
is there a method to retrieve the last good solution?</blockquote><div>If bonmin finds one good solution it will be available.<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
is there an option, other than max_cpu_time, to stop the process and<br>
which does not give infeasibility?</blockquote><div>If you are not willing to give Ipopt time to solve problem to optimality there is none.<br>I hope this helps.<br>Cheers,<br>Pierre <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
cheers,<br>
<br>
giuseppe<br>
<br>
_______________________________________________<br>
Bonmin mailing list<br>
<a href="mailto:Bonmin@list.coin-or.org">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><br>