[Cbc] Initial integer feasible solution
    Gabrielle  A. Grün 
    grun at cs.sfu.ca
       
    Sat Oct  4 20:58:40 EDT 2008
    
    
  
}
Hi Pratim,
You may try the hotstart approach::
/** Pass in target solution and optional priorities.
If priorities then >0 means only branch if incorrect
while <0 means branch even if correct. +1 or -1 are
highest priority */
void CbcModel::setHotstartSolution(const double * solution, const int * 
priorities=NULL) ;
Take care.
Gabrielle
----- Original Message ----- 
From: Pratim Vakish
To: cbc at list.coin-or.org
Sent: Thursday, October 02, 2008 6:11 PM
Subject: [Cbc] Initial integer feasible solution
Hello,
I am solving large-scale MIP problems using the CBC solver and the AMPL 
interface.
For some problems, I know an integer feasible solution of good "quality" and 
I would like CBC to use it as first incumbent solution in the 
branch-and-bound tree.
I think that the CBC option CbcModel::setBestSolution() allows to do that.
I use AMPL and I would like to know what is the AMPL command to use this 
option?
How can I tell CBC (with AMPL) which solution I would like to use as first 
incumbent solution?
Thanks very much,
Pratim
Get more out of the Web. Learn 10 hidden secrets of Windows Live. Learn Now
_______________________________________________
Cbc mailing list
Cbc at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/cbc 
    
    
More information about the Cbc
mailing list