Changeset 2083


Ignore:
Timestamp:
Jan 12, 2015 6:55:54 AM (5 years ago)
Author:
forrest
Message:

force serial blas and correct dualobjlimit

Location:
trunk/Clp/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpMain.cpp

    r2078 r2083  
    2424//#define LAPACK_TEST
    2525//#define CLP_USE_OPENBLAS 1
     26/*
     27  Somehow with some BLAS we get multithreaded by default
     28  For 99.99% of problems this is not a good idea.
     29  The openblas_set_num_threads(1) seems to work even with other blas
     30 */
     31#if COIN_FACTORIZATION_DENSE_CODE==1
     32#ifndef CLP_USE_OPENBLAS
     33#define CLP_USE_OPENBLAS 1
     34#endif
     35#endif
    2636#if CLP_USE_OPENBLAS
    2737extern "C"
  • trunk/Clp/src/OsiClp/OsiClpSolverInterface.cpp

    r2070 r2083  
    16071607  const int stat = modelPtr_->status();
    16081608  if (stat == 1)
    1609   return true;
     1609    return true;
     1610  else if (stat<0)
     1611    return false;
    16101612  double limit = 0.0;
    16111613  modelPtr_->getDblParam(ClpDualObjectiveLimit, limit);
Note: See TracChangeset for help on using the changeset viewer.