[Cbc] Free Binary

Christos chtsolak at gmail.com
Thu Sep 13 12:58:26 EDT 2012


Hi again,

I learned from here that to declare a variable-column as Binary (to take 
only values 0-1), needs to use the command solver.setInteger() and  
colb[] = 0, colub = 1 ;

Am i right?

I did all that but when i use the command solver.isFreeBinary()  i get 
the true value.
As i read for the description, isFreeBinare returns true if variable is 
binary and not fixed to either bound.

So why i get the true value?

Thank you


More information about the Cbc mailing list