Changeset 2085 for stable


Ignore:
Timestamp:
Sep 29, 2014 7:00:08 AM (5 years ago)
Author:
forrest
Message:

fix sign for ampl

Location:
stable/2.8/Cbc/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable/2.8/Cbc/src/CbcModel.cpp

    r2082 r2085  
    1433614336        bool exitNow = false;
    1433714337        for (i = 0; i < numberHeuristics_; i++) {
     14338            heuristic_[i]->setModelOnly(this);
    1433814339            if (heuristic_[i]->exitNow(bestObjective_))
    1433914340                exitNow = true;
  • stable/2.8/Cbc/src/CbcSolver.cpp

    r2068 r2085  
    29882988#ifdef COIN_HAS_ASL
    29892989                            if (statusUserFunction_[0]) {
    2990                                 double value = model2->getObjValue() * model2->getObjSense();
     2990                                double value = model2->getObjValue();
    29912991                                char buf[300];
    29922992                                int pos = 0;
Note: See TracChangeset for help on using the changeset viewer.