Changeset 822


Ignore:
Timestamp:
Jun 19, 2006 6:21:50 AM (14 years ago)
Author:
forrest
Message:

to pass miplib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpSimplexDual.cpp

    r820 r822  
    39723972           !numberAtFakeBound()&&!numberDualInfeasibilities_) {
    39733973    //printf("lim %g obj %g %g\n",limit,objectiveValue_,objectiveValue());
    3974     problemStatus_=1;
    3975     secondaryStatus_ = 1; // and say was on cutoff
     3974    if (perturbation_==101) {
     3975      // be careful
     3976      if (numberIterations_) {
     3977        computeObjectiveValue(); // value without perturbation
     3978        if(objectiveValue()*optimizationDirection_>limit) {
     3979          problemStatus_=1;
     3980          secondaryStatus_ = 1; // and say was on cutoff
     3981        }
     3982      }
     3983    } else {
     3984      problemStatus_=1;
     3985      secondaryStatus_ = 1; // and say was on cutoff
     3986    }
    39763987  }
    39773988  // If we are in trouble and in branch and bound give up
Note: See TracChangeset for help on using the changeset viewer.