Changeset 992


Ignore:
Timestamp:
Jun 25, 2008 9:45:21 AM (11 years ago)
Author:
ladanyi
Message:

one more bug...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dynamicbranching/dynamicbranching.cpp

    r991 r992  
    954954
    955955  if (lpres.isProvenOptimal ||
    956       lpres.isDualObjectiveLimitReached ||
    957956      lpres.isIterationLimitReached) {
     957    // THINK: should we do anything? like:
     958#if 0
     959    double djValue = lpres.getReducedCost[GP_brvar_fullid]*direction;
     960    if (djValue > 1.0e-6) {
     961      // wants to go down
     962      return (parent_is_down_child);
     963    } else if (djValue < -1.0e-6) {
     964      return (! parent_is_down_child);
     965    }
     966#endif
     967    return false;
     968  }
     969   
     970  if (lpres.isDualObjectiveLimitReached) {
    958971    // Dual feasible, and in this case we don't care how we have
    959972    // stopped (iteration limit, obj val limit, time limit, optimal solution,
Note: See TracChangeset for help on using the changeset viewer.