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