Ignore:
Timestamp:
Nov 12, 2018 8:56:43 AM (5 months ago)
Author:
forrest
Message:

fix zero row problem and null factorization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/OsiClp/OsiClpSolverInterface.cpp

    r2332 r2370  
    21122112      assert (factorization!=NULL || small->problemStatus_ );
    21132113      factorization_ = factorization;
     2114      if (factorization_ == NULL)
     2115        factorization_ = static_cast<ClpSimplexDual *>(small)->setupForStrongBranching(spareArrays_,numberRows,numberColumns,false);
    21142116#endif
    21152117    } else {
     
    74757477      if (otherInformation!=NULL) {
    74767478        int * array = static_cast<int *> (otherInformation);
    7477         if (array[0]>=0||array[0]<=2)
     7479        if (array[0]>=0&&array[0]<=2)
    74787480          specialOptions_ |= array[0]<<10;
    74797481      }
Note: See TracChangeset for help on using the changeset viewer.