Changeset 1509 for stable


Ignore:
Timestamp:
Feb 4, 2010 4:02:57 PM (10 years ago)
Author:
forrest
Message:

for couenne to see if anything wrong

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.11/Clp/src/ClpSimplex.cpp

    r1501 r1509  
    53425342    //assert (!numberDualInfeasibilities_);
    53435343  }
     5344  //#define CLP_INVESTIGATE_OBJ
     5345#ifdef CLP_INVESTIGATE_OBJ
     5346  if (saveObjective != objective_) {
     5347    // We changed objective to see if infeasible
     5348    printf("ZZ DUAL objective_ %x saveObjective %x\n",
     5349           objective_,saveObjective);
     5350    delete objective_;
     5351    objective_=saveObjective;
     5352  }
     5353#endif
    53445354  return returnCode;
    53455355}
     
    53475357int ClpSimplex::primal (int ifValuesPass , int startFinishOptions)
    53485358{
     5359#ifdef CLP_INVESTIGATE_OBJ
     5360  ClpObjective * saveObjective = objective_;
     5361#endif
    53495362  //double savedPivotTolerance = factorization_->pivotTolerance();
    53505363#ifndef SLIM_CLP
     
    55975610  //if (problemStatus_==1&&lastAlgorithm==1)
    55985611  //returnCode=10; // so will do primal after postsolve
     5612#ifdef CLP_INVESTIGATE_OBJ
     5613  if (saveObjective != objective_) {
     5614    // We changed objective to see if infeasible
     5615    printf("ZZ DUAL objective_ %x saveObjective %x\n",
     5616           objective_,saveObjective);
     5617    delete objective_;
     5618    objective_=saveObjective;
     5619  }
     5620#endif
    55995621  return returnCode;
    56005622}
Note: See TracChangeset for help on using the changeset viewer.