Changeset 478


Ignore:
Timestamp:
Oct 15, 2004 2:30:09 PM (15 years ago)
Author:
forrest
Message:

strongBranching correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ClpSimplexDual.cpp

    r472 r478  
    36283628   Return code is 0 if nothing interesting, -1 if infeasible both
    36293629   ways and +1 if infeasible one way (check values to see which one(s))
     3630   Returns -2 if bad factorization
    36303631*/
    36313632int ClpSimplexDual::strongBranching(int numberVariables,const int * variables,
     
    36673668    printf("***** ClpDual strong branching factorization error - debug\n");
    36683669#endif
    3669     return 0;
     3670    return -2;
    36703671  }
    36713672  else if (factorizationStatus)
     
    40454046      double * givenPi=NULL;
    40464047      returnCode = whileIterating(givenPi);
    4047       if (!alwaysFinish&&(returnCode<1||returnCode==3)) {
     4048      if ((!alwaysFinish&&(returnCode<1)||returnCode==3)) {
    40484049        double limit = 0.0;
    40494050        getDblParam(ClpDualObjectiveLimit, limit);
Note: See TracChangeset for help on using the changeset viewer.