<div dir="ltr"><div>Wendel,<br><br></div>I think a good place is Couenne/src/convex/generateCuts.cpp, at the beginning of CouenneCutGenerator::generateCuts(). This function is called more or less at every node. You can get the total CPU time spent so far with CoinCpuTime(), and lower and upper bound with si.getColLower () [indObj] and problem_ -&gt; getCutOff (), respectively (indObj is declared at the beginning).<br>

<br>Regards,<br>Pietro<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 18, 2013 at 10:56 PM, Wendel Melo <span dir="ltr">&lt;<a href="mailto:wendelalexandre@gmail.com" target="_blank">wendelalexandre@gmail.com</a>&gt;</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><div><div>Thank you Stefan and Pietro! <br><br></div>Taking advantage, Pietro, do you know where I could change the Couenne code to save that information in a external txt file? I have lot of problems to test and it would be very painful check output for all cases<br>

<br></div>Thank you again<br><br></div>Wendel<br></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">2013/10/17 Pietro Belotti <span dir="ltr">&lt;<a href="mailto:petr.7b6@gmail.com" target="_blank">petr.7b6@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Wendel,<br><br></div>in alternative you can set the option <br><br>bb_log_interval 10<br><br>
</div>
(or an even smaller number than 10) in the option file couenne.opt. This will increase by far the amount of output, but Couenne will print a line every 10 nodes with information on the lower bound and the total CPU time so far. You can then select those lines with times around multiples of 1800.<span><font color="#888888"><br>


<br>Pietro<br></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 17, 2013 at 3:10 PM, Stefan Vigerske <span dir="ltr">&lt;<a href="mailto:stefan@math.hu-berlin.de" target="_blank">stefan@math.hu-berlin.de</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I&#39;m adding a primal heuristic to Couenne in order to track such information.<br>
<br>
CouenneSetup couenne_setup;<br>
couenne_setup.heuristics().<u></u>push_back(BabSetupBase::<u></u>HeuristicMethod());<br>
couenne_setup.heuristics().<u></u>back().heuristic = new GamsCbcHeurSolveTrace(...);<br>
couenne_setup.heuristics().<u></u>back().id = &quot;Solvetrace writing heuristic&quot;;<br>
<br>
<a href="https://projects.coin-or.org/GAMSlinks/browser/trunk/GAMSlinks/src/SolverInterfaces/GamsCbcHeurSolveTrace.hpp" target="_blank">https://projects.coin-or.org/<u></u>GAMSlinks/browser/trunk/<u></u>GAMSlinks/src/<u></u>SolverInterfaces/<u></u>GamsCbcHeurSolveTrace.hpp</a><br>



<br>
Stefan<div><div><br>
<br>
On 10/16/2013 11:18 PM, Wendel Melo wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
Hi experts<br>
<br>
I am a new couenne user. I have used Couenne to solve a kind of nonconvex<br>
quadratic problems. However, I would like to save information about Couenne<br>
progress in a file after a certain measure of time, since I am doing a<br>
comparative research. For example, I would like to save lower bound and<br>
upper bound of a input problem after each 30 minutes of cpu time.<br>
<br>
I know it would require a change on Couenne code. Does anyone here have<br>
some idea where I could do those changes in the Couenne code?<br>
<br>
Thanks in advanced<br>
<br>
<br>
Wendel Melo<br>
Ph. D. Student<br>
University of Michigan / Federal University of Rio de Janeiro<br>
<br>
<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
Couenne mailing list<br>
<a href="mailto:Couenne@list.coin-or.org" target="_blank">Couenne@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/couenne" target="_blank">http://list.coin-or.org/<u></u>mailman/listinfo/couenne</a><br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Couenne mailing list<br>
<a href="mailto:Couenne@list.coin-or.org" target="_blank">Couenne@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/couenne" target="_blank">http://list.coin-or.org/<u></u>mailman/listinfo/couenne</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>Wendel
</font></span></div>
</blockquote></div><br></div>