Ignore:
Timestamp:
Sep 21, 2007 4:13:41 PM (12 years ago)
Author:
forrest
Message:

trying to improve networks

File:
1 edited

Legend:

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

    r1048 r1111  
    101101#include "ClpDualRowDantzig.hpp"
    102102#include "ClpMessage.hpp"
     103#include "ClpLinearObjective.hpp"
    103104#include <cfloat>
    104105#include <cassert>
     
    15221523              // unless primal feasible!!!!
    15231524              //printf("%d %g %d %g\n",numberPrimalInfeasibilities_,sumPrimalInfeasibilities_,
    1524               //     numberDualInfeasibilities_,sumDualInfeasibilities_);
    1525               if (numberDualInfeasibilities_)
     1525              //   numberDualInfeasibilities_,sumDualInfeasibilities_);
     1526              if (sumPrimalInfeasibilities_<1.0e-3||sumDualInfeasibilities_>1.0e-6||(specialOptions_&1024)!=0) {
    15261527                problemStatus_=10;
     1528                // Get rid of objective
     1529                objective_ = new ClpLinearObjective(NULL,numberColumns_);
     1530              }
    15271531              rowArray_[0]->clear();
    15281532              columnArray_[0]->clear();
Note: See TracChangeset for help on using the changeset viewer.