[Cbc] CBC ignoring binary variables

John Forrest john.forrest at fastercoin.com
Wed May 15 03:26:35 EDT 2013


Aditya,

Exactly what options did you pass to cbc and what did log look like?

I get that solution (and objective value) if I just use "dualsimplex" 
rather than "solve" but with solve I get

command line - bin/cbc BinaryIgnoredSample.mps -solve -solution $ 
(default strategy 1)
At line 8 NAME
At line 9 ROWS
At line 95 COLUMNS
At line 206 RHS
At line 218 BOUNDS
At line 235 ENDATA
Problem no_name has 84 rows, 48 columns and 162 elements
Coin0008I no_name read with 0 errors
Continuous objective value is -24981.6 - 0.00 seconds
Cgl0003I 0 fixed, 0 tightened bounds, 2 strengthened rows, 4 substitutions
Cgl0004I processed model has 19 rows, 15 columns (4 integer) and 45 elements
Cbc0038I Solution found of -16690.8
Cbc0038I Before mini branch and bound, 4 integers at bound fixed and 9 
continuous
Cbc0038I Mini branch and bound did not improve solution (0.00 seconds)
Cbc0038I After 0.00 seconds - Feasibility pump exiting with objective of 
-16690.8 - took 0.00 seconds
Cbc0012I Integer solution of -16690.8 found by feasibility pump after 0 
iterations and 0 nodes (0.00 seconds)
Cbc0001I Search completed - best objective -16690.80000000001, took 0 
iterations and 0 nodes (0.00 seconds)


and the solution file looks fine.

John Forrest



More information about the Cbc mailing list