coin-or / Clp

COIN-OR Linear Programming Solver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clp print information (primal/dual inf) for each pivoting iteration in `whileIterating`

dxyzx0 opened this issue · comments

commented
Clp0027I Model was imported from /home/psw/Documents/github/ClpSuite/Data/Netlib/25fv47.mps.gz in 0.004018 seconds
5 doubles - 0.001 194.964 2.52062e-05 0.00252062 2.97983e-05 
0 ints - 
0 strings - 
Clp0014I Perturbing problem by 0.001% of 194.96409 - largest nonzero change 2.5206213e-05 ( 0.0025206213%) - largest zero change 2.9798318e-05
5 doubles - 0.001 26.7274 0.000126671 0.364321 0.000126658 
0 ints - 
0 strings - 
Clp0014I Perturbing problem by 0.001% of 26.727395 - largest nonzero change 0.00012667122 ( 0.36432067%) - largest zero change 0.00012665786
3 doubles - -1.13964e+09 4.63024e+10 0 
4 ints - 7538 345 0 0 
0 strings - 
Clp0006I 7538  Obj -1.1396446e+09 Primal inf 4.6302436e+10 (345)
1 doubles - 5501.85 
0 ints - 
0 strings - 
Clp0000I Optimal - objective value 5501.8459
1 doubles - 5501.85 
0 ints - 
0 strings - 
Clp0000I Optimal - objective value 5501.8459

The log only shows the results after multiple iterations after exit whileIterating, I want to be able to get the results of each pivot iteration( i.e. a var enters and another var leaves the basis).

For example, print this line Clp0006I 7538 Obj -1.1396446e+09 Primal inf 4.6302436e+10 (345) each time an pivot is performed.

Is there anyway to do this in Clp?

model.setLogLevel(63)