Ignore:
Timestamp:
Oct 7, 2004 2:13:58 PM (16 years ago)
Author:
forrest
Message:

to make sbb faster

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ClpQuadraticObjective.cpp

    r463 r468  
    382382      double direction = model->optimizationDirection()*model->objectiveScale();
    383383      // direction is actually scale out not scale in
    384       if (direction)
    385         direction = 1.0/direction;
     384      //if (direction)
     385      //direction = 1.0/direction;
    386386      const int * columnQuadratic = quadraticObjective_->getIndices();
    387387      const CoinBigIndex * columnQuadraticStart = quadraticObjective_->getVectorStarts();
     
    462462      }
    463463    }
    464     offset *= model->optimizationDirection()*model->objectiveScale();
     464    offset *= model->optimizationDirection();
    465465    return gradient_;
    466466  }
Note: See TracChangeset for help on using the changeset viewer.