<div> </div><div> </div><blockquote type="cite"><div> </div><div>It seems couenne get couenne.opt from current directory.</div><div> </div><div>You can try to put solver, opt-file and nl-file to same directory.</div><div> </div><div> </div><div>11.11.2015, 17:49, "Johannes Bethcke" <<a href="mailto:johannesbethcke@hotmail.de">johannesbethcke@hotmail.de</a>>:</div><blockquote type="cite"><div lang="DE" link="blue" vlink="#954F72"><div><p>Hi Pietro,</p><p> </p><p>Thanks for your quick answer. As mentioned before, I tried to alter the file couenne.opt. It resides in the same directory as the couenne executable. I tried several things, for example</p><p> </p><p>time_limit 10</p><p> </p><p>Followed by a blank line. I attached my couenne.opt file. Couenne is in version 0.5.3 and runs on Windows 10.</p><p> </p><p>Regards,</p><p> </p><p>Johannes</p><p> </p><div style="border:none;border-top:solid #E1E1E1 1pt;padding:3pt 0cm 0cm 0cm;"><p style="border:none;padding:0cm;"><br /><b>Von: </b>Pietro Belotti<br /><b>Gesendet: </b>Mittwoch, 11. November 2015 11:38<br /><b>An: </b>Johannes Bethcke<br /><b>Cc: </b><a href="mailto:couenne@list.coin-or.org">couenne@list.coin-or.org</a><br /><b>Betreff: </b>Re: [Couenne] Time limit</p></div><p> </p><p><span style="font-family:"Times New Roman",serif;"> </span></p><p><span style="font-size:12pt;font-family:"Times New Roman",serif;">Hi Johannes,<br /><br />these options need to be put into a file called couenne.opt, which has<br />to reside in the same directory where the executable is called. Then<br />you just need to call "couenne someMinlp.nl". In your case it just<br />needs to contain the line<br /><br />time_limit 10<br /><br />Hope this helps.<br /><br />Regards,<br />Pietro<br /><br />On Wed, Nov 11, 2015 at 10:31 AM, Johannes Bethcke<br /><<a href="mailto:johannesbethcke@hotmail.de">johannesbethcke@hotmail.de</a>> wrote:<br />> Hello,<br />><br />><br />><br />> I’m running Couenne 0.5.3 on Windows 10. I’m calling couenne via the command<br />> prompt and I’d like to pass a time limit. So I tried<br />><br />><br />><br />> couenne someMinlp.nl time_limit=10 (produces „Unknown keyword "time_limit"“)<br />><br />> couenne someMinlp.nl max_cpu_time=10 (nothing seems to change)<br />><br />> couenne someMinlp.nl bonmin.time_limit=10 (nothing seems to change)<br />><br />><br />><br />> Also I tried to alter the couenne.opt file several times, for example with<br />> time_limit 10 followed by an empty line.<br />><br />><br />><br />> Does anyone know a workaround?<br />><br />><br />><br />> Greetings from Frankfurt,<br />><br />><br />><br />> Johannes Bethcke<br />><br />><br />><br />><br />> _______________________________________________<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">http://list.coin-or.org/mailman/listinfo/couenne</a></span></p><p> </p><p> </p></div></div>,<p>_______________________________________________<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">http://list.coin-or.org/mailman/listinfo/couenne</a></p></blockquote></blockquote>