Changeset 1124


Ignore:
Timestamp:
Sep 27, 2007 5:32:58 PM (13 years ago)
Author:
forrest
Message:

memory leak

Location:
trunk/Clp/src
Files:
2 edited

Legend:

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

    r1111 r1124  
    15271527                problemStatus_=10;
    15281528                // Get rid of objective
    1529                 objective_ = new ClpLinearObjective(NULL,numberColumns_);
     1529                if ((specialOptions_&16384)==0)
     1530                  objective_ = new ClpLinearObjective(NULL,numberColumns_);
    15301531              }
    15311532              rowArray_[0]->clear();
  • trunk/Clp/src/ClpSimplexNonlinear.cpp

    r1111 r1124  
    360360      if (infeasibilityCost_<1.0e14) {
    361361        infeasibilityCost_ *= 1.5;
    362         printf("increasing weight to %g\n",infeasibilityCost_);
     362        if (handler_->logLevel()==63)
     363          printf("increasing weight to %g\n",infeasibilityCost_);
    363364        gutsOfSolution(NULL,NULL,true);
    364365      }
Note: See TracChangeset for help on using the changeset viewer.