Changeset 716


Ignore:
Timestamp:
Aug 1, 2007 3:33:39 AM (12 years ago)
Author:
forrest
Message:

message handling

Location:
trunk/Cbc/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcSolver.cpp

    r715 r716  
    30013001                  clpSolver->setDualBound(CoinMax(1.0001e8,CoinMin(1000.0*largest,1.00001e10)));
    30023002                }
    3003                 clpSolver->dual();  // clean up
     3003                si->resolve();  // clean up
    30043004              }
    30053005              // If user made settings then use them
     
    32593259                // get clp itself
    32603260                ClpSimplex * modelC = si->getModelPtr();
    3261                 if (noPrinting)
    3262                   modelC->setLogLevel(0);
     3261                //if (noPrinting)
     3262                //modelC->setLogLevel(0);
    32633263                if (!complicatedInteger&&modelC->tightenPrimalBounds()!=0) {
    32643264                  std::cout<<"Problem is infeasible!"<<std::endl;
    32653265                  break;
    32663266                }
    3267                 modelC->dual();
     3267                si->resolve();
    32683268              }
    32693269#if 0
     
    46664666                  memset (rowSolution,0,numberRows*sizeof(double));
    46674667                  lpSolver->clpMatrix()->times(1.0,bestSolution,rowSolution);
     4668                  lpSolver->setObjectiveValue(babModel->getObjValue());
    46684669                }
    46694670                if (debugFile=="create"&&bestSolution) {
  • trunk/Cbc/src/CoinSolve.cpp

    r715 r716  
    200200  // Could use different handlers (if different log levels)
    201201  clpSolver->passInMessageHandler(&messageHandler);
    202   clpSolver->getModelPtr()->passInMessageHandler(&messageHandler);
     202  //clpSolver->getModelPtr()->passInMessageHandler(&messageHandler);
    203203#endif
    204204  // initialize
Note: See TracChangeset for help on using the changeset viewer.