[Coin-discuss] How to trace Cbc?

Spencer Fung sklfung at cse.cuhk.edu.hk
Mon Jun 27 07:38:59 EDT 2005


John,

Firstly, I want to print out the LP relaxed solution at each node during the search, i.e. all variables assignment for the problem. Secondly, I want to print out which variable is going to branch on, and which branch is selected, for example, the variable x is chosen and assignment x = 1, where the domain of x is [0,1]. 

Spencer


  ----- Original Message ----- 
  From: John J Forrest 
  To: Discussions about open source software for Operations Research 
  Sent: Sunday, June 26, 2005 6:00 PM
  Subject: Re: [Coin-discuss] How to trace Cbc?



  Spencer, 

  It is not finished but there is a class CbcStatistics.   

  If you use branchAndBound(n) when n is 1 2 or 3 you will get increasing amounts of printout.  Tell me what sort of things you want. 

  Default is obviously 0 as it takes a lot of memory to keep entire tree. 

  At present it is only printed but I will add other methods if useful. 

  John Forrest 


        "Spencer Fung" <sklfung at cse.cuhk.edu.hk> 
        Sent by: coin-discuss-bounces at list.coin-or.org 
        06/22/2005 03:23 PM Please respond to
              Discussions about open source software for Operations Research         


       To <coin-discuss at list.coin-or.org>  
              cc  
              Subject [Coin-discuss] How to trace Cbc? 

              

       



  Hi, 
    
  Does anyone know how to trace the branch-and-bound search with Cbc? Actually, I want to know the following information at each variable branch: 
    
  1.       The solution of the LP relaxation 
  2.       The variable is being branched 
  3.       The direction of the branch (left or right?) 
    
  Also, what is the default branching heuristic for Cbc? 
    
  Thanks. 
    
  Spencer_______________________________________________
  Coin-discuss mailing list
  Coin-discuss at list.coin-or.org
  http://list.coin-or.org/mailman/listinfo/coin-discuss




------------------------------------------------------------------------------


  _______________________________________________
  Coin-discuss mailing list
  Coin-discuss at list.coin-or.org
  http://list.coin-or.org/mailman/listinfo/coin-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20050627/f92946f4/attachment.html>


More information about the Coin-discuss mailing list