Changeset 64


Ignore:
Timestamp:
Feb 18, 2005 1:46:38 PM (17 years ago)
Author:
forrest
Message:

tolerance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CbcHeuristic.cpp

    r6 r64  
    149149    int j;
    150150    double value = newSolution[i];
     151    if (value<lower[i]) {
     152      value=lower[i];
     153      newSolution[i]=value;
     154    } else if (value>upper[i]) {
     155      value=upper[i];
     156      newSolution[i]=value;
     157    }
    151158    if (value) {
    152159      for (j=columnStart[i];
Note: See TracChangeset for help on using the changeset viewer.