test/mip_test.cc
changeset 1409 c89884c1737b
parent 795 4792459983d0
child 1427 57abff252556
equal deleted inserted replaced
13:0218ce23664a 14:aae4cbc23f3e
    28 #include <lemon/glpk.h>
    28 #include <lemon/glpk.h>
    29 #endif
    29 #endif
    30 
    30 
    31 #ifdef LEMON_HAVE_CBC
    31 #ifdef LEMON_HAVE_CBC
    32 #include <lemon/cbc.h>
    32 #include <lemon/cbc.h>
       
    33 #endif
       
    34 
       
    35 #ifdef LEMON_HAVE_MIP
       
    36 #include <lemon/lp.h>
    33 #endif
    37 #endif
    34 
    38 
    35 
    39 
    36 using namespace lemon;
    40 using namespace lemon;
    37 
    41 
   126 }
   130 }
   127 
   131 
   128 int main()
   132 int main()
   129 {
   133 {
   130 
   134 
       
   135 #ifdef LEMON_HAVE_MIP
       
   136   {
       
   137     Mip mip1;
       
   138     aTest(mip1);
       
   139     cloneTest<Mip>();
       
   140   }
       
   141 #endif
       
   142 
   131 #ifdef LEMON_HAVE_GLPK
   143 #ifdef LEMON_HAVE_GLPK
   132   {
   144   {
   133     GlpkMip mip1;
   145     GlpkMip mip1;
   134     aTest(mip1);
   146     aTest(mip1);
   135     cloneTest<GlpkMip>();
   147     cloneTest<GlpkMip>();