Changeset 2240
 Timestamp:
 Jan 5, 2017 11:41:37 AM (15 months ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

stable/1.16/Clp/src/ClpSolve.cpp
r2217 r2240 3957 3957 int i; 3958 3958 for (i = 0; i < CLP_PROGRESS; i++) { 3959 objective_[i] = COIN_DBL_MAX ;3959 objective_[i] = COIN_DBL_MAX*1.0e50; 3960 3960 infeasibility_[i] = 1.0; // set to an impossible value 3961 realInfeasibility_[i] = COIN_DBL_MAX ;3961 realInfeasibility_[i] = COIN_DBL_MAX*1.0e50; 3962 3962 numberInfeasibilities_[i] = 1; 3963 3963 iterationNumber_[i] = 1; … … 3965 3965 #ifdef CLP_PROGRESS_WEIGHT 3966 3966 for (i = 0; i < CLP_PROGRESS_WEIGHT; i++) { 3967 objectiveWeight_[i] = COIN_DBL_MAX ;3967 objectiveWeight_[i] = COIN_DBL_MAX*1.0e50; 3968 3968 infeasibilityWeight_[i] = 1.0; // set to an impossible value 3969 realInfeasibilityWeight_[i] = COIN_DBL_MAX ;3969 realInfeasibilityWeight_[i] = COIN_DBL_MAX*1.0e50; 3970 3970 numberInfeasibilitiesWeight_[i] = 1; 3971 3971 iterationNumberWeight_[i] = 1; … … 3976 3976 initialWeight_ = 0.0; 3977 3977 for (i = 0; i < CLP_CYCLE; i++) { 3978 //obj_[i]=COIN_DBL_MAX ;3978 //obj_[i]=COIN_DBL_MAX*1.0e50; 3979 3979 in_[i] = 1; 3980 3980 out_[i] = 1; … … 4267 4267 for (i = 0; i < CLP_PROGRESS; i++) { 4268 4268 if (model_>algorithm() >= 0) 4269 objective_[i] = COIN_DBL_MAX ;4269 objective_[i] = COIN_DBL_MAX*1.0e50; 4270 4270 else 4271 objective_[i] = COIN_DBL_MAX ;4271 objective_[i] = COIN_DBL_MAX*1.0e50; 4272 4272 infeasibility_[i] = 1.0; // set to an impossible value 4273 realInfeasibility_[i] = COIN_DBL_MAX ;4273 realInfeasibility_[i] = COIN_DBL_MAX*1.0e50; 4274 4274 numberInfeasibilities_[i] = 1; 4275 4275 iterationNumber_[i] = 1; … … 4277 4277 #ifdef CLP_PROGRESS_WEIGHT 4278 4278 for (i = 0; i < CLP_PROGRESS_WEIGHT; i++) { 4279 objectiveWeight_[i] = COIN_DBL_MAX ;4279 objectiveWeight_[i] = COIN_DBL_MAX*1.0e50; 4280 4280 infeasibilityWeight_[i] = 1.0; // set to an impossible value 4281 realInfeasibilityWeight_[i] = COIN_DBL_MAX ;4281 realInfeasibilityWeight_[i] = COIN_DBL_MAX*1.0e50; 4282 4282 numberInfeasibilitiesWeight_[i] = 1; 4283 4283 iterationNumberWeight_[i] = 1; … … 4287 4287 #endif 4288 4288 for (i = 0; i < CLP_CYCLE; i++) { 4289 //obj_[i]=COIN_DBL_MAX ;4289 //obj_[i]=COIN_DBL_MAX*1.0e50; 4290 4290 in_[i] = 1; 4291 4291 out_[i] = 1; … … 4349 4349 int i; 4350 4350 for (i = 0; i < CLP_CYCLE; i++) { 4351 //obj_[i]=COIN_DBL_MAX ;4351 //obj_[i]=COIN_DBL_MAX*1.0e50; 4352 4352 in_[i] = 1; 4353 4353 out_[i] = 1;
Note: See TracChangeset
for help on using the changeset viewer.