Ignore:
Timestamp:
Jun 5, 2003 9:20:30 AM (16 years ago)
Author:
forrest
Message:

Improvements to presolve

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PresolveEmpty.cpp

    r104 r173  
    2828  double *dcost         = prob->cost_;
    2929
     30  const double ztoldj   = prob->ztoldj_;
    3031  //int *mrstrt         = prob->mrstrt_;
    3132  //int *hinrow         = prob->hinrow_;
     
    5758    // there are no more constraints on this variable,
    5859    // so we had better be able to compute the answer now
    59 
     60    if (fabs(dcost[jcol])<ztoldj)
     61      dcost[jcol]=0.0;
    6062    if (dcost[jcol] * maxmin == 0.0) {
    6163      // hopefully, we can make this non-basic
Note: See TracChangeset for help on using the changeset viewer.