<div dir="ltr">Hi Jainendra,<div><br></div><div>FYI, We are trying to move away from the use of mailing lists in favor of the Discussions feature on Github, so it would be great if you could move this post there and I will also move my response. </div><div><br></div><div>I don't know the details of the implementation of Couenne that well, but just grepping around, there is only one place where the string "time limit reached" appears and that is in heuristics/BonNlpHeuristic.cpp:</div><div><br></div><div><a href="https://github.com/coin-or/Couenne/blob/master/src/heuristics/BonNlpHeuristic.cpp#L411">https://github.com/coin-or/Couenne/blob/master/src/heuristics/BonNlpHeuristic.cpp#L411</a><br></div><div><br></div><div>maxTime is hard-coded locally to the function with a value of 2. </div><div><br></div><div><a href="https://github.com/coin-or/Couenne/blob/master/src/heuristics/BonNlpHeuristic.cpp#L108">https://github.com/coin-or/Couenne/blob/master/src/heuristics/BonNlpHeuristic.cpp#L108</a><br></div><div><br></div><div>From the comments in the code, it doesn't appear as though reaching this time limit is not actually what causes the code to terminate (in this function, it only causes the function to return 0, indicating no solution was found), but I guess with such a short-running code, you can easily debug it and see what's really going on. </div><div><br></div><div>Cheers,</div><div><br></div><div>Ted</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 2, 2021 at 3:32 AM Jainendra Jain <<a href="mailto:jain_jainendra@iitgn.ac.in">jain_jainendra@iitgn.ac.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Everyone,<div>I am running an optimization program on google colab (Optimizer/Solver is Couenne).</div><div>I already tried the option of writing "time_limit 100" in couenne.opt file. But still my code is running for less than 2 seconds.</div><div>Please suggest a solution for this issue.</div><div>Thank you.</div><div>I am getting an error as:</div><div>"<span style="color:rgb(213,213,213);font-family:monospace;font-size:14px;white-space:pre-wrap;background-color:rgb(56,56,56)">NLP Heuristic: time limit reached"</span></div><div><font color="#d5d5d5" face="monospace"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div><div><font color="#d5d5d5" face="monospace"><span style="font-size:14px;white-space:pre-wrap">I<br clear="all"></span></font><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><font face="georgia, serif">Regards,</font><div><font face="georgia, serif">Jainendra Jain</font></div><div><br></div></div></div></div></div>
_______________________________________________<br>
Couenne mailing list<br>
<a href="mailto:Couenne@list.coin-or.org" target="_blank">Couenne@list.coin-or.org</a><br>
<a href="https://list.coin-or.org/mailman/listinfo/couenne" rel="noreferrer" target="_blank">https://list.coin-or.org/mailman/listinfo/couenne</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Dr. Ted Ralphs<br>Professor, Industrial and Systems Engineering<br>Lehigh University<br>(610) 628-1280<br>ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div></div></div></div></div></div></div></div>