[Cbc] Disabling "Reduced Cost Fixing"?

John Forrest john.forrest at fastercoin.com
Sat Aug 4 04:41:15 EDT 2012


Daniel,

Try

model.setSpecialOptions(model.specialOptions()&(~512));

the 512 is set by default to try reducing size of problem after 100 nodes.

John Forrest

On 03/08/12 17:38, Dan Fullmer wrote:
>
> I'm trying to display particular variables from the integer solutions 
> found while CBC is running. I've hooked up a CbcEventHandler that 
> pulls in values from bestSolution(). I'm using CbcMain to do the real 
> work on my model. (Like examples/driver4.cpp). I've turned off 
> preprocessing so I'm not looking at the processed model.
>
> However, as my model is being optimized, I will sometimes see:
>
> Cbc0044I Reduced cost fixing - 3125 rows, 14771 columns - restarting 
> search
>
> After which, my callback is never activated, since the event handler 
> isn't registered with the new problem.
>
> Is there an option that I'm missing that can disable this? Or am I 
> going about this the wrong way?
>
> Thanks,
>
> -Daniel Fullmer
>
>
>
> _______________________________________________
> 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/20120804/ec9de60f/attachment.html>


More information about the Cbc mailing list