Changes in / [467:a1155a9e8e09:466:4f1431aeef42] in lemon-1.2
- Files:
-
- 17 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
.hgignore
r456 r385 27 27 .deps/* 28 28 demo/*.eps 29 m4/libtool.m430 m4/ltoptions.m431 m4/ltsugar.m432 m4/ltversion.m433 m4/lt~obsolete.m434 29 35 30 syntax: regexp -
configure.ac
r459 r363 51 51 52 52 dnl Checks for libraries. 53 LX_CHECK_GLPK 54 LX_CHECK_CPLEX 55 LX_CHECK_SOPLEX 56 LX_CHECK_CLP 57 58 AM_CONDITIONAL([HAVE_LP], [test x"$lx_lp_found" = x"yes"]) 59 AM_CONDITIONAL([HAVE_MIP], [test x"$lx_mip_found" = x"yes"]) 53 #LX_CHECK_GLPK 54 #LX_CHECK_CPLEX 55 #LX_CHECK_SOPLEX 60 56 61 57 dnl Disable/enable building the demo programs. … … 119 115 echo C++ compiles flags............ : $WARNINGCXXFLAGS $CXXFLAGS 120 116 echo 121 echo GLPK support.................. : $lx_glpk_found 122 echo CPLEX support................. : $lx_cplex_found 123 echo SOPLEX support................ : $lx_soplex_found 124 echo CLP support................... : $lx_clp_found 125 echo 117 #echo GLPK support.................. : $lx_glpk_found 118 #echo CPLEX support................. : $lx_cplex_found 119 #echo SOPLEX support................ : $lx_soplex_found 120 #echo 126 121 echo Build demo programs........... : $enable_demo 127 122 echo Build additional tools........ : $enable_tools -
lemon/Makefile.am
r461 r445 11 11 lemon/base.cc \ 12 12 lemon/color.cc \ 13 lemon/lp_base.cc \14 lemon/lp_skeleton.cc \15 13 lemon/random.cc 16 14 17 18 lemon_libemon_la_CXXFLAGS = \ 19 $(GLPK_CFLAGS) \ 20 $(CPLEX_CFLAGS) \ 21 $(SOPLEX_CXXFLAGS) \ 22 $(CLP_CXXFLAGS) 23 24 lemon_libemon_la_LDFLAGS = \ 25 $(GLPK_LIBS) \ 26 $(CPLEX_LIBS) \ 27 $(SOPLEX_LIBS) \ 28 $(CLP_LIBS) 29 30 if HAVE_GLPK 31 lemon_libemon_la_SOURCES += lemon/glpk.cc 32 endif 33 34 if HAVE_CPLEX 35 lemon_libemon_la_SOURCES += lemon/cplex.cc 36 endif 37 38 if HAVE_SOPLEX 39 lemon_libemon_la_SOURCES += lemon/soplex.cc 40 endif 41 42 if HAVE_CLP 43 lemon_libemon_la_SOURCES += lemon/clp.cc 44 endif 15 #lemon_libemon_la_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS) $(SOPLEX_CXXFLAGS) $(AM_CXXFLAGS) 16 #lemon_libemon_la_LDFLAGS = $(GLPK_LIBS) $(CPLEX_LIBS) $(SOPLEX_LIBS) 45 17 46 18 lemon_HEADERS += \ … … 51 23 lemon/bin_heap.h \ 52 24 lemon/circulation.h \ 53 lemon/clp.h \54 25 lemon/color.h \ 55 26 lemon/concept_check.h \ 56 27 lemon/counter.h \ 57 28 lemon/core.h \ 58 lemon/cplex.h \59 29 lemon/dfs.h \ 60 30 lemon/dijkstra.h \ … … 64 34 lemon/error.h \ 65 35 lemon/full_graph.h \ 66 lemon/glpk.h \67 36 lemon/graph_to_eps.h \ 68 37 lemon/grid_graph.h \ … … 72 41 lemon/lgf_reader.h \ 73 42 lemon/lgf_writer.h \ 74 lemon/list_graph.h \75 lemon/lp.h \76 lemon/lp_base.h \77 lemon/lp_skeleton.h \78 43 lemon/list_graph.h \ 79 44 lemon/maps.h \ … … 86 51 lemon/random.h \ 87 52 lemon/smart_graph.h \ 88 lemon/soplex.h \89 53 lemon/suurballe.h \ 90 54 lemon/time_measure.h \ … … 103 67 lemon/bits/map_extender.h \ 104 68 lemon/bits/path_dump.h \ 105 lemon/bits/solver_bits.h \106 69 lemon/bits/traits.h \ 107 70 lemon/bits/variant.h \ -
lemon/config.h.in
r459 r1 1 /* Define to 1 if you have any LP solver. */2 #undef HAVE_LP3 4 /* Define to 1 if you have any MIP solver. */5 #undef HAVE_MIP6 7 1 /* Define to 1 if you have CPLEX. */ 8 2 #undef HAVE_CPLEX … … 10 4 /* Define to 1 if you have GLPK. */ 11 5 #undef HAVE_GLPK 12 13 /* Define to 1 if you have SOPLEX */14 #undef HAVE_SOPLEX15 16 /* Define to 1 if you have CLP */17 #undef HAVE_CLP -
m4/lx_check_cplex.m4
r457 r187 63 63 if test x"$lx_cplex_found" = x"yes"; then 64 64 AC_DEFINE([HAVE_CPLEX], [1], [Define to 1 if you have CPLEX.]) 65 lx_lp_found=yes66 AC_DEFINE([HAVE_LP], [1], [Define to 1 if you have any LP solver.])67 lx_mip_found=yes68 AC_DEFINE([HAVE_MIP], [1], [Define to 1 if you have any MIP solver.])69 65 AC_MSG_RESULT([yes]) 70 66 else -
m4/lx_check_glpk.m4
r459 r187 43 43 } 44 44 45 #if (GLP_MAJOR_VERSION < 4) \46 || (GLP_MAJOR_VERSION == 4 && GLP_MINOR_VERSION < 33)47 #error Supported GLPK versions: 4.33 or above48 #endif49 50 45 int main(int argc, char** argv) 51 46 { … … 66 61 if test x"$lx_glpk_found" = x"yes"; then 67 62 AC_DEFINE([HAVE_GLPK], [1], [Define to 1 if you have GLPK.]) 68 lx_lp_found=yes69 AC_DEFINE([HAVE_LP], [1], [Define to 1 if you have any LP solver.])70 lx_mip_found=yes71 AC_DEFINE([HAVE_MIP], [1], [Define to 1 if you have any MIP solver.])72 63 AC_MSG_RESULT([yes]) 73 64 else -
m4/lx_check_soplex.m4
r457 r187 57 57 if test x"$lx_soplex_found" = x"yes"; then 58 58 AC_DEFINE([HAVE_SOPLEX], [1], [Define to 1 if you have SOPLEX.]) 59 lx_lp_found=yes60 AC_DEFINE([HAVE_LP], [1], [Define to 1 if you have any LP solver.])61 59 AC_MSG_RESULT([yes]) 62 60 else -
test/CMakeLists.txt
r467 r465 19 19 heap_test 20 20 kruskal_test 21 lp_test22 mip_test23 21 maps_test 24 22 max_matching_test -
test/Makefile.am
r467 r465 34 34 test/unionfind_test 35 35 36 if HAVE_LP37 check_PROGRAMS += test/lp_test38 endif HAVE_LP39 if HAVE_MIP40 check_PROGRAMS += test/mip_test41 endif HAVE_MIP42 43 36 TESTS += $(check_PROGRAMS) 44 37 XFAIL_TESTS += test/test_tools_fail$(EXEEXT) … … 59 52 test_kruskal_test_SOURCES = test/kruskal_test.cc 60 53 test_hao_orlin_test_SOURCES = test/hao_orlin_test.cc 61 test_lp_test_SOURCES = test/lp_test.cc62 54 test_maps_test_SOURCES = test/maps_test.cc 63 test_mip_test_SOURCES = test/mip_test.cc64 55 test_max_matching_test_SOURCES = test/max_matching_test.cc 65 56 test_path_test_SOURCES = test/path_test.cc
Note: See TracChangeset
for help on using the changeset viewer.