Changeset 2241
 Timestamp:
 Jan 5, 2017 11:51:13 AM (2 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/Clp/src/ClpSolve.cpp
r2235 r2241 3982 3982 int i; 3983 3983 for (i = 0; i < CLP_PROGRESS; i++) { 3984 objective_[i] = COIN_DBL_MAX ;3984 objective_[i] = COIN_DBL_MAX*1.0e50; 3985 3985 infeasibility_[i] = 1.0; // set to an impossible value 3986 realInfeasibility_[i] = COIN_DBL_MAX ;3986 realInfeasibility_[i] = COIN_DBL_MAX*1.0e50; 3987 3987 numberInfeasibilities_[i] = 1; 3988 3988 iterationNumber_[i] = 1; … … 3990 3990 #ifdef CLP_PROGRESS_WEIGHT 3991 3991 for (i = 0; i < CLP_PROGRESS_WEIGHT; i++) { 3992 objectiveWeight_[i] = COIN_DBL_MAX ;3992 objectiveWeight_[i] = COIN_DBL_MAX*1.0e50; 3993 3993 infeasibilityWeight_[i] = 1.0; // set to an impossible value 3994 realInfeasibilityWeight_[i] = COIN_DBL_MAX ;3994 realInfeasibilityWeight_[i] = COIN_DBL_MAX*1.0e50; 3995 3995 numberInfeasibilitiesWeight_[i] = 1; 3996 3996 iterationNumberWeight_[i] = 1; … … 4001 4001 initialWeight_ = 0.0; 4002 4002 for (i = 0; i < CLP_CYCLE; i++) { 4003 //obj_[i]=COIN_DBL_MAX ;4003 //obj_[i]=COIN_DBL_MAX*1.0e50; 4004 4004 in_[i] = 1; 4005 4005 out_[i] = 1; … … 4292 4292 for (i = 0; i < CLP_PROGRESS; i++) { 4293 4293 if (model_>algorithm() >= 0) 4294 objective_[i] = COIN_DBL_MAX ;4294 objective_[i] = COIN_DBL_MAX*1.0e50; 4295 4295 else 4296 objective_[i] = COIN_DBL_MAX ;4296 objective_[i] = COIN_DBL_MAX*1.0e50; 4297 4297 infeasibility_[i] = 1.0; // set to an impossible value 4298 realInfeasibility_[i] = COIN_DBL_MAX ;4298 realInfeasibility_[i] = COIN_DBL_MAX*1.0e50; 4299 4299 numberInfeasibilities_[i] = 1; 4300 4300 iterationNumber_[i] = 1; … … 4302 4302 #ifdef CLP_PROGRESS_WEIGHT 4303 4303 for (i = 0; i < CLP_PROGRESS_WEIGHT; i++) { 4304 objectiveWeight_[i] = COIN_DBL_MAX ;4304 objectiveWeight_[i] = COIN_DBL_MAX*1.0e50; 4305 4305 infeasibilityWeight_[i] = 1.0; // set to an impossible value 4306 realInfeasibilityWeight_[i] = COIN_DBL_MAX ;4306 realInfeasibilityWeight_[i] = COIN_DBL_MAX*1.0e50; 4307 4307 numberInfeasibilitiesWeight_[i] = 1; 4308 4308 iterationNumberWeight_[i] = 1; … … 4312 4312 #endif 4313 4313 for (i = 0; i < CLP_CYCLE; i++) { 4314 //obj_[i]=COIN_DBL_MAX ;4314 //obj_[i]=COIN_DBL_MAX*1.0e50; 4315 4315 in_[i] = 1; 4316 4316 out_[i] = 1; … … 4374 4374 int i; 4375 4375 for (i = 0; i < CLP_CYCLE; i++) { 4376 //obj_[i]=COIN_DBL_MAX ;4376 //obj_[i]=COIN_DBL_MAX*1.0e50; 4377 4377 in_[i] = 1; 4378 4378 out_[i] = 1;
Note: See TracChangeset
for help on using the changeset viewer.