coin-or / Clp

COIN-OR Linear Programming Solver
Other
396 stars 82 forks source link

ClpSimplex print out #194

Closed hongkai-dai closed 2 years ago

hongkai-dai commented 3 years ago

When I use ClpSimplex class, I don't see how to set the print level. In ClpSimplex.hpp, I still see the documentation https://github.com/coin-or/Clp/blob/8bd93963e05771a0930c6945361dcec7d5d2b823/src/ClpSimplex.hpp#L690-L697, but there is not function there. What would be the right approach to set the print level?

jwnimmer-tri commented 3 years ago

Call the base class ClpModel::setLogLevel(int):

https://github.com/coin-or/Clp/blob/1f0d405d632f2b1453cf5ceb4d76bbfc74c20c61/src/ClpModel.hpp#L977-L988