[Cbc] Cbc fix variable
    John Forrest 
    john.forrest at fastercoin.com
       
    Sun Jul 20 03:42:21 EDT 2014
    
    
  
To do the fixing, I would try -
Write your own event handler - see some of the example driver programs.
With that you can look at solutions as they are generated (event 
solution) - when you want to start fixing variables then check event 
node - if node then use model_->solver()->setColUpper(column,0.0) for 
wanted columns.
Only problem is when variable has been branched to 1.0 - if so leave it 
for now - it would be easy to change code in CbcModel.cpp to mark as 
infeasible.
This should reduce search space.
John Forrest
On 20/07/14 04:45, sct wrote:
> Programmatically
>
> On 7/20/2014 9:57 AM, Haroldo Santos wrote:
>>
>> Programmatically or using the command line ?
>>
>> Em 19/07/2014 21:12, "sct" <see_chuenteck at yahoo.com.sg 
>> <mailto:see_chuenteck at yahoo.com.sg>> escreveu:
>>
>>     Hi,
>>
>>     After solving CBC for some iteration, if I am confident that some
>>     binary variables are definitely zero, how do it fix their values
>>     in CBC. The objective is to continue CBC with a reduced problem,
>>     so that it solves faster. Thanks a lot.
>>     _______________________________________________
>>     Cbc mailing list
>>     Cbc at list.coin-or.org <mailto:Cbc at list.coin-or.org>
>>     http://list.coin-or.org/mailman/listinfo/cbc
>>
>
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20140720/43240cdf/attachment.html>
    
    
More information about the Cbc
mailing list