Changeset 708


Ignore:
Timestamp:
Jan 13, 2006 11:36:29 AM (15 years ago)
Author:
forrest
Message:

for presolve tolerance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ClpModel.cpp

    r706 r708  
    9393  dblParam_[ClpObjOffset] = 0.0;
    9494  dblParam_[ClpMaxSeconds] = -1.0;
     95  dblParam_[ClpPresolveTolerance] = 1.0e-8;
    9596
    9697#ifndef CLP_NO_STD
     
    651652  dblParam_[ClpObjOffset] = rhs.dblParam_[ClpObjOffset];
    652653  dblParam_[ClpMaxSeconds] = rhs.dblParam_[ClpMaxSeconds];
     654  dblParam_[ClpPresolveTolerance] = rhs.dblParam_[ClpPresolveTolerance];
    653655#ifndef CLP_NO_STD
    654656
     
    859861    break;
    860862
     863  case ClpPresolveTolerance:
     864    if (value<=0.0||value>1.0e10)
     865      return false;
     866    break;
     867   
    861868  case ClpLastDblParam:
    862869    return false;
     
    27462753  dblParam_[ClpObjOffset] = rhs->dblParam_[ClpObjOffset];
    27472754  dblParam_[ClpMaxSeconds] = rhs->dblParam_[ClpMaxSeconds];
     2755  dblParam_[ClpPresolveTolerance] = rhs->dblParam_[ClpPresolveTolerance];
    27482756#ifndef CLP_NO_STD
    27492757  strParam_[ClpProbName] = rhs->strParam_[ClpProbName];
Note: See TracChangeset for help on using the changeset viewer.