Changeset 1294


Ignore:
Timestamp:
Oct 23, 2008 3:41:52 PM (11 years ago)
Author:
forrest
Message:

make numberPrimalInfeasibilities_ more plausible

Location:
trunk/Clp/src
Files:
2 edited

Legend:

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

    r1293 r1294  
    56725672  //if (problemStatus_==1&&lastAlgorithm==1)
    56735673  //returnCode=10; // so will do primal after postsolve
     5674  if (!problemStatus_) {
     5675    assert (!numberPrimalInfeasibilities_);
     5676    assert (!numberDualInfeasibilities_);
     5677  }
    56745678  return returnCode;
    56755679}
  • trunk/Clp/src/ClpSimplexDual.cpp

    r1287 r1294  
    17901790          } else {
    17911791            problemStatus_=0;
     1792            // make it look OK
     1793            numberPrimalInfeasibilities_=0;
     1794            sumPrimalInfeasibilities_=0.0;
     1795            numberDualInfeasibilities_=0;
     1796            sumDualInfeasibilities_=0.0;
    17921797            // May be perturbed
    17931798            if (perturbation_==101||numberChanged_) {
Note: See TracChangeset for help on using the changeset viewer.