wiki:CglunitTestOutput

After a the output for compilation of the unitTest, you should get something similar to:

./unitTest
Testing CglGomory with OsiClpSolverInterface?
There are 2 gomory cuts
Cut 0 lb -1.79769e+308 solution 0 ub -6
(col=2,el=-1,sol=0) (col=3,el=-2,sol=0)
Cut 1 lb -1.79769e+308 solution 0 ub -5
(col=2,el=-2,sol=0) (col=3,el=-4,sol=0)
There are 4 gomory cuts
Cut 2 lb -1.79769e+308 solution 0 ub -1
(col=4,el=-1,sol=0)
Cut 3 lb -1.79769e+308 solution 0 ub -1
(col=4,el=-1,sol=0)
There are 4 gomory cuts
There are 2 gomory cuts
Cut 0 lb -1.79769e+308 solution 16 ub 10
(col=2,el=-1,sol=0) (col=3,el=2,sol=8)
Cut 1 lb -1.79769e+308 solution 32 ub 27
(col=2,el=-2,sol=0) (col=3,el=4,sol=8)
There are 4 gomory cuts
Cut 2 lb -1.79769e+308 solution 0 ub -1
(col=4,el=-1,sol=0)
Cut 3 lb -1.79769e+308 solution 0 ub -1
(col=4,el=-1,sol=0)
There are 4 gomory cuts
There are 1 gomory cuts
Cut 0 lb -1.79769e+308 solution 2.85714 ub 2
(col=0,el=1,sol=2.85714)
There are 2 gomory cuts
Cut 1 lb -1.79769e+308 solution 1.5 ub 1
(col=0,el=1,sol=2) (col=1,el=-1,sol=0.5)
There are 2 gomory cuts
There are 1 gomory cuts
Cut 0 lb -1.79769e+308 solution 2.85714 ub 2
(col=0,el=1,sol=2.85714)
There are 2 gomory cuts
Cut 1 lb -1.79769e+308 solution 1.5 ub 1
(col=0,el=1,sol=2) (col=1,el=-1,sol=0.5)
There are 2 gomory cuts
There are 1 gomory cuts
Cut 0 lb -1.79769e+308 solution 0 ub -0.857143
(col=2,el=-0.142857,sol=0) (col=3,el=-0.285714,sol=0)
There are 1 gomory cuts
There are 1 gomory cuts
Cut 0 lb -1.79769e+308 solution 2.28571 ub 1.42857
(col=2,el=-0.142857,sol=0) (col=3,el=0.285714,sol=8)
There are 1 gomory cuts
There are 1 gomory cuts
Cut 0 lb -1.79769e+308 solution 2.85714 ub 2
(col=0,el=1,sol=2.85714)
There are 1 gomory cuts
There are 1 gomory cuts
Cut 0 lb -1.79769e+308 solution 2.85714 ub 2
(col=0,el=1,sol=2.85714)
There are 1 gomory cuts
Coin0001I At line 15 NAME P0033
Coin0001I At line 16 ROWS
Coin0001I At line 34 COLUMNS
Coin0001I At line 109 RHS
Coin0001I At line 118 BOUNDS
Coin0001I At line 152 ENDATA
Coin0002I Problem P0033 has 16 rows, 33 columns and 98 elements
Coin0008I P0033 read with 0 errors
Coin0506I Presolve 15 (-1) rows, 32 (-1) columns and 97 (-1) elements
Clp0006I 0 Obj 0 Primal inf 18.4925 (10)
Clp0006I 20 Obj 2520.57
Clp0000I Optimal - objective value 2520.57
Coin0511I After Postsolve, objective 2520.57, infeasibilities - dual 0 (0), primal 0 (0)
Clp0032I Optimal objective 2520.571739 - 20 iterations time 0.002, Presolve -0.00
Clp0006I 0 Obj 2520.57 Primal inf 0.727737 (2)
Clp0006I 8 Obj 2552
Clp0000I Optimal - objective value 2552
Testing CglSimpleRounding with OsiClpSolverInterface?
Coin0001I At line 30 NAME EXAMPLE
Coin0001I At line 31 ROWS
Coin0001I At line 39 COLUMNS
Coin0001I At line 60 RHS
Coin0001I At line 67 RANGES
Coin0001I At line 70 BOUNDS
Coin0001I At line 77 ENDATA
Coin0002I Problem EXAMPLE has 6 rows, 8 columns and 17 elements
Coin0008I EXAMPLE read with 0 errors
Coin0001I At line 15 NAME P0033
Coin0001I At line 16 ROWS
Coin0001I At line 34 COLUMNS
Coin0001I At line 109 RHS
Coin0001I At line 118 BOUNDS
Coin0001I At line 152 ENDATA
Coin0002I Problem P0033 has 16 rows, 33 columns and 98 elements
Coin0008I P0033 read with 0 errors
Coin0506I Presolve 15 (-1) rows, 32 (-1) columns and 97 (-1) elements
Clp0006I 0 Obj 0 Primal inf 18.4925 (10)
Clp0006I 20 Obj 2520.57
Clp0000I Optimal - objective value 2520.57
Coin0511I After Postsolve, objective 2520.57, infeasibilities - dual 0 (0), primal 0 (0)
Clp0032I Optimal objective 2520.571739 - 20 iterations time 0.002, Presolve -0.00
Clp0006I 0 Obj 2520.57 Primal inf 0.0324997 (3)
Clp0006I 3 Obj 2530.92
Clp0000I Optimal - objective value 2530.92
Testing CglOddHole with OsiClpSolverInterface?
Coin0001I At line 1 NAME scOnInt
Coin0001I At line 2 ROWS
Coin0001I At line 10 COLUMNS
Coin0001I At line 23 RHS
Coin0001I At line 30 BOUNDS
Coin0001I At line 32 ENDATA
Coin0002I Problem scOnInt has 6 rows, 6 columns and 12 elements
Coin0008I scOnInt read with 0 errors
Testing CglProbing with OsiClpSolverInterface?
Coin0001I At line 15 NAME P0033
Coin0001I At line 16 ROWS
Coin0001I At line 34 COLUMNS
Coin0001I At line 109 RHS
Coin0001I At line 118 BOUNDS
Coin0001I At line 152 ENDATA
Coin0002I Problem P0033 has 16 rows, 33 columns and 98 elements
Coin0008I P0033 read with 0 errors
Coin0506I Presolve 15 (-1) rows, 32 (-1) columns and 97 (-1) elements
Clp0006I 0 Obj 0 Primal inf 18.4925 (10)
Clp0006I 20 Obj 2520.57
Clp0000I Optimal - objective value 2520.57
Coin0511I After Postsolve, objective 2520.57, infeasibilities - dual 0 (0), primal 0 (0)
Clp0032I Optimal objective 2520.571739 - 20 iterations time 0.002, Presolve -0.00
There are 3 probing cuts
there are 0 probing column cuts
Cut 0 lb 1 solution 0.175 ub 1.79769e+308
(col=6,el=1,sol=0) (col=32,el=1,sol=0.175)
Cut 1 lb 0 solution -0.825 ub 1.79769e+308
(col=5,el=-1,sol=1) (col=32,el=1,sol=0.175)
Cut 2 lb -1.79769e+308 solution 0.825 ub 0
(col=5,el=1,sol=1) (col=32,el=-1,sol=0.175)
There are 9 probing cuts
there are 0 probing column cuts
Cut 0 lb -1.79769e+308 solution -50 ub -100
(col=3,el=-300,sol=0) (col=29,el=-100,sol=0.5) (col=30,el=-400,sol=0)
Cut 1 lb 1 solution 0.175 ub 1.79769e+308
(col=6,el=1,sol=0) (col=32,el=1,sol=0.175)
Cut 2 lb -1.79769e+308 solution -247.25 ub -270
(col=6,el=-285,sol=0) (col=31,el=-200,sol=1) (col=32,el=-270,sol=0.175)
Cut 3 lb 0 solution -0.825 ub 1.79769e+308
(col=5,el=-1,sol=1) (col=32,el=1,sol=0.175)
Cut 4 lb -1.79769e+308 solution -140 ub -270
(col=5,el=130,sol=1) (col=6,el=-285,sol=0) (col=31,el=-200,sol=1) (col=32,el=-400,sol=0.175)
Cut 5 lb -1.79769e+308 solution -0.108696 ub -5
(col=9,el=-5,sol=0.0217391) (col=15,el=-200,sol=0) (col=16,el=-400,sol=0)
Cut 6 lb -1.79769e+308 solution 0.825 ub 0
(col=5,el=1,sol=1) (col=32,el=-1,sol=0.175)
Cut 7 lb -1.79769e+308 solution -272.625 ub -285
(col=6,el=-285,sol=0) (col=31,el=-200,sol=1) (col=32,el=-415,sol=0.175)
Cut 8 lb -1.79769e+308 solution -270 ub -400
(col=6,el=-415,sol=0) (col=31,el=-200,sol=1) (col=32,el=-400,sol=0.175)
All tests completed successfully

Last modified 13 years ago Last modified on May 29, 2006 10:13:21 AM