Ignore:
Timestamp:
Nov 3, 2011 5:26:23 AM (8 years ago)
Author:
forrest
Message:

add ClpTraceDebug?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpSimplexOther.cpp

    r1795 r1817  
    29702970    returnCode = reinterpret_cast<ClpSimplexDual *> (this)->startupSolve(0, NULL, 0);
    29712971    if (!returnCode) {
     2972      double saveDualBound=dualBound_;
     2973      dualBound_=CoinMax(dualBound_,1.0e15);
    29722974      swapped=true;
    29732975      double * temp;
     
    30813083        }
    30823084      }
     3085      dualBound_ = saveDualBound;
    30833086      //reinterpret_cast<ClpSimplexDual *> (this)->gutsOfDual(0, saveDuals, -1, data);
    30843087    }
     
    43914394    if (thetaCoefficientLower > 1.0e-8) {
    43924395      double currentLower = lower_[iSequence];
    4393       assert (currentSolution >= currentLower - 100.0*primalTolerance_);
     4396      ClpTraceDebug (currentSolution >= currentLower - 100.0*primalTolerance_);
    43944397      double gap=currentSolution-currentLower;
    43954398      if (thetaCoefficientLower*theta_>gap) {
     
    44014404    if (thetaCoefficientUpper < -1.0e-8) {
    44024405      double currentUpper = upper_[iSequence];
    4403       assert (currentSolution <= currentUpper + 100.0*primalTolerance_);
     4406      ClpTraceDebug (currentSolution <= currentUpper + 100.0*primalTolerance_);
    44044407      double gap=currentSolution-currentUpper; //negative
    44054408      if (thetaCoefficientUpper*theta_<gap) {
     
    44174420      double currentSolution = solution_[iSequence];
    44184421      double currentLower = lower_[iSequence];
    4419       assert (currentSolution >= currentLower - 100.0*primalTolerance_);
     4422      ClpTraceDebug (currentSolution >= currentLower - 100.0*primalTolerance_);
    44204423      double thetaCoefficient = lowerChange[iSequence];
    44214424      if (thetaCoefficient > 0.0) {
     
    44354438      double currentSolution = solution_[iSequence];
    44364439      double currentUpper = upper_[iSequence];
    4437       assert (currentSolution <= currentUpper + 100.0*primalTolerance_);
     4440      ClpTraceDebug (currentSolution <= currentUpper + 100.0*primalTolerance_);
    44384441      double thetaCoefficient = upperChange[iSequence];
    44394442      if (thetaCoefficient < 0) {
Note: See TracChangeset for help on using the changeset viewer.