Ignore:
Timestamp:
Jan 18, 2006 9:40:57 AM (13 years ago)
Author:
jpfasano
Message:

Modifed to use ClpCholeskyDense?, unless WSSMP_BARRIER is defined.
If WSSMP_BARRIER is defined, then ClpCholeskyWssmp? is used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Samples/testBarrier.cpp

    r279 r709  
    55#include "ClpSimplex.hpp"
    66#include "ClpCholeskyWssmp.hpp"
     7#include "ClpCholeskyDense.hpp"
    78int main (int argc, const char *argv[])
    89{
     
    1819  }
    1920  // ** note this does not have presolve
     21#ifdef WSSMP_BARRIER
    2022  ClpCholeskyWssmp * cholesky = new ClpCholeskyWssmp();
     23#else
     24  ClpCholeskyDense * cholesky = new ClpCholeskyDense();
     25#endif
    2126  model.setCholesky(cholesky);
    2227  model.primalDual();
Note: See TracChangeset for help on using the changeset viewer.