Changes in lemon/clp.cc [485:9b082b3fb33f:623:745e182d0139] in lemon
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/clp.cc
r485 r623 25 25 _prob = new ClpSimplex(); 26 26 _init_temporals(); 27 messageLevel(MESSAGE_NO _OUTPUT);27 messageLevel(MESSAGE_NOTHING); 28 28 } 29 29 … … 33 33 cols = other.cols; 34 34 _init_temporals(); 35 messageLevel(MESSAGE_NO _OUTPUT);35 messageLevel(MESSAGE_NOTHING); 36 36 } 37 37 … … 57 57 } 58 58 59 ClpLp* ClpLp:: _newSolver() const {59 ClpLp* ClpLp::newSolver() const { 60 60 ClpLp* newlp = new ClpLp; 61 61 return newlp; 62 62 } 63 63 64 ClpLp* ClpLp:: _cloneSolver() const {64 ClpLp* ClpLp::cloneSolver() const { 65 65 ClpLp* copylp = new ClpLp(*this); 66 66 return copylp; … … 431 431 } 432 432 433 void ClpLp::messageLevel(MessageLevel m) { 434 _prob->setLogLevel(static_cast<int>(m)); 433 void ClpLp::_messageLevel(MessageLevel level) { 434 switch (level) { 435 case MESSAGE_NOTHING: 436 _prob->setLogLevel(0); 437 break; 438 case MESSAGE_ERROR: 439 _prob->setLogLevel(1); 440 break; 441 case MESSAGE_WARNING: 442 _prob->setLogLevel(2); 443 break; 444 case MESSAGE_NORMAL: 445 _prob->setLogLevel(3); 446 break; 447 case MESSAGE_VERBOSE: 448 _prob->setLogLevel(4); 449 break; 450 } 435 451 } 436 452
Note: See TracChangeset
for help on using the changeset viewer.