<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><span id="result_box" class="" lang="en">Dear Pietro,</span></p>
<p><span id="result_box" class="" lang="en"><br>
<span class="">Thank you infiment, your help allowed me to unlock the situation.</span></span></p>
<p><span id="result_box" class="" lang="en"><span class="">Your reply has been simple and understandable</span></span></p>
<p><br>
</p>
<p></p>
<div>
<p style="margin-bottom: 0cm">Best wishes, KONE<br>
</p>
</div>
<p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De :</b> Pietro Belotti <petr.7b6@gmail.com><br>
<b>Envoyé :</b> dimanche 5 février 2017 02:37:23<br>
<b>À :</b> Mamadou KONE<br>
<b>Cc :</b> couenne@list.coin-or.org<br>
<b>Objet :</b> Re: [Couenne] Run file couenne-ampl and option time_limit</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>Hello,<br>
<br>
</div>
unfortunately Couenne doesn't accept options via the AMPL interface. The only way to set a time limit is to create a file called couenne.opt with a line such as<br>
<br>
</div>
time_limit 400<br>
<br>
</div>
for a 400-second limit. The file must be in the same directory as where the command (AMPL, in this case) is launched from.<br>
<br>
</div>
Hope this helps.<br>
<div><br>
</div>
<div>Pietro<br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Feb 4, 2017 at 8:46 PM, Mamadou KONE <span dir="ltr">
<<a href="mailto:mamadou1.kone@ucad.edu.sn" target="_blank">mamadou1.kone@ucad.edu.sn</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_-8599769650611412155divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p></p>
<div>
<p style="margin-bottom:0cm">Hello,</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm">I have pretty big MINLP problem that I solve on Couenne using AMPL</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm">The problem is that the problem runs for number of hours.</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm">I wonder if it is possible to do either of the following:</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm">1. After the problem breaks, have results displayed (run the command file), that might not be optimal, but seeing current primal value, it is good enough for me.</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm">2. Have solver to stop and have the results displayed after primal value had reached certain desired value</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm">3. Have a solver to display intermediate (current) variable values every x minutes (that one would be a perfect solution for me)</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm">4. Have a time limit after which the solver stops and current solution</p>
<p style="margin-bottom:0cm">is displayed.</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"></p>
<div>
<p style="margin-bottom:0cm">5. well I used:</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm">option couenne_options "time_limit =x";</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm">However, this manner don´t work.</p>
<p style="margin-bottom:0cm"><br>
</p>
</div>
<p></p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm">Thanks for you. </p>
</div>
<br>
<p></p>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Couenne mailing list<br>
<a href="mailto:Couenne@list.coin-or.org">Couenne@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/couenne" rel="noreferrer" target="_blank">http://list.coin-or.org/<wbr>mailman/listinfo/couenne</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>