[Couenne] Changing on Couenne code to save information

Wendel Melo wendelalexandre at gmail.com
Fri Oct 18 17:56:40 EDT 2013


Thank you Stefan and Pietro!

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

Thank you again

Wendel


2013/10/17 Pietro Belotti <petr.7b6 at gmail.com>

> Wendel,
>
> in alternative you can set the option
>
> bb_log_interval 10
>
> (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.
>
> Pietro
>
>
> On Thu, Oct 17, 2013 at 3:10 PM, Stefan Vigerske <stefan at math.hu-berlin.de
> > wrote:
>
>> Hi,
>>
>> I'm adding a primal heuristic to Couenne in order to track such
>> information.
>>
>> CouenneSetup couenne_setup;
>> couenne_setup.heuristics().**push_back(BabSetupBase::**
>> HeuristicMethod());
>> couenne_setup.heuristics().**back().heuristic = new
>> GamsCbcHeurSolveTrace(...);
>> couenne_setup.heuristics().**back().id = "Solvetrace writing heuristic";
>>
>> https://projects.coin-or.org/**GAMSlinks/browser/trunk/**GAMSlinks/src/**
>> SolverInterfaces/**GamsCbcHeurSolveTrace.hpp<https://projects.coin-or.org/GAMSlinks/browser/trunk/GAMSlinks/src/SolverInterfaces/GamsCbcHeurSolveTrace.hpp>
>>
>> Stefan
>>
>>
>> On 10/16/2013 11:18 PM, Wendel Melo wrote:
>>
>>> Hi experts
>>>
>>> I am a new couenne user. I have used Couenne to solve a kind of nonconvex
>>> quadratic problems. However, I would like to save information about
>>> Couenne
>>> progress in a file after a certain measure of time, since I am doing a
>>> comparative research. For example, I would like to save lower bound and
>>> upper bound of a input problem after each 30 minutes of cpu time.
>>>
>>> I know it would require a change on Couenne code. Does anyone here have
>>> some idea where I could do those changes in the Couenne code?
>>>
>>> Thanks in advanced
>>>
>>>
>>> Wendel Melo
>>> Ph. D. Student
>>> University of Michigan / Federal University of Rio de Janeiro
>>>
>>>
>>>
>>>
>>> ______________________________**_________________
>>> Couenne mailing list
>>> Couenne at list.coin-or.org
>>> http://list.coin-or.org/**mailman/listinfo/couenne<http://list.coin-or.org/mailman/listinfo/couenne>
>>>
>>>
>> ______________________________**_________________
>> Couenne mailing list
>> Couenne at list.coin-or.org
>> http://list.coin-or.org/**mailman/listinfo/couenne<http://list.coin-or.org/mailman/listinfo/couenne>
>>
>
>


-- 
Wendel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/couenne/attachments/20131018/a4f36ec3/attachment.html>


More information about the Couenne mailing list