Skip to content

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

@dxyzx0

Description

@dxyzx0
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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions