Changeset 2072


Ignore:
Timestamp:
Nov 21, 2014 5:55:26 AM (5 years ago)
Author:
forrest
Message:

fix assert error in odd case

File:
1 edited

Legend:

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

    r2070 r2072  
    39493949                         } else if (status == isFixed && upper_[i] > lower_[i]) {
    39503950                              // was fixed - not now
    3951                               if (solution_[i] <= lower_[i]) {
     3951                              if (solution_[i] <= lower_[i]+primalTolerance_) {
    39523952                                   setStatus(i, atLowerBound);
    3953                               } else if (solution_[i] >= upper_[i]) {
     3953                              } else if (solution_[i] >= upper_[i]-primalTolerance_) {
    39543954                                   setStatus(i, atUpperBound);
    39553955                              } else {
Note: See TracChangeset for help on using the changeset viewer.