Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dxyzx0 opened this issue Apr 18, 2023 · 1 comment

Comments

@dxyzx0
Copy link

dxyzx0 commented Apr 18, 2023

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?

@jjhforrest
Copy link
Contributor

model.setLogLevel(63)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants