COIN-OR::LEMON - Graph Library

Changeset 1437:2a3f3448ced1 in lemon-0.x


Ignore:
Timestamp:
05/26/05 15:21:47 (20 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1912
Message:
  • test both lp implementations
  • commented out the checking of LpCplex? because it fails
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/lp_test.cc

    r1435 r1437  
    77#ifdef HAVE_GLPK
    88#include <lemon/lp_glpk.h>
    9 #elif HAVE_CPLEX
     9#endif
     10
     11#ifdef HAVE_CPLEX
    1012#include <lemon/lp_cplex.h>
    1113#endif
    1214
    1315using namespace lemon;
    14 
    15 #ifdef HAVE_GLPK
    16 typedef LpGlpk LpDefault;
    17 #elif HAVE_CPLEX
    18 typedef LpCplex LpDefault;
    19 #endif
    2016
    2117void lpTest(LpSolverBase & lp)
     
    148144  lpTest(lp_skel);
    149145
    150   LpDefault lp;
     146#ifdef HAVE_GLPK
     147  LpGlpk lp_glpk;
     148  lpTest(lp_glpk);
     149#endif
    151150
    152   lpTest(lp);
     151#ifdef HAVE_CPLEX
     152//  LpCplex lp_cplex;
     153//  lpTest(lp_cplex);
     154#endif
    153155
    154156  return 0;
Note: See TracChangeset for help on using the changeset viewer.