COIN-OR::LEMON - Graph Library

Changes in / [467:a1155a9e8e09:466:4f1431aeef42] in lemon-1.2


Ignore:
Files:
17 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • .hgignore

    r456 r385  
    2727.deps/*
    2828demo/*.eps
    29 m4/libtool.m4
    30 m4/ltoptions.m4
    31 m4/ltsugar.m4
    32 m4/ltversion.m4
    33 m4/lt~obsolete.m4
    3429
    3530syntax: regexp
  • configure.ac

    r459 r363  
    5151
    5252dnl 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
    6056
    6157dnl Disable/enable building the demo programs.
     
    119115echo C++ compiles flags............ : $WARNINGCXXFLAGS $CXXFLAGS
    120116echo
    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
    126121echo Build demo programs........... : $enable_demo
    127122echo Build additional tools........ : $enable_tools
  • lemon/Makefile.am

    r461 r445  
    1111        lemon/base.cc \
    1212        lemon/color.cc \
    13         lemon/lp_base.cc \
    14         lemon/lp_skeleton.cc \
    1513        lemon/random.cc
    1614
    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)
    4517
    4618lemon_HEADERS += \
     
    5123        lemon/bin_heap.h \
    5224        lemon/circulation.h \
    53         lemon/clp.h \
    5425        lemon/color.h \
    5526        lemon/concept_check.h \
    5627        lemon/counter.h \
    5728        lemon/core.h \
    58         lemon/cplex.h \
    5929        lemon/dfs.h \
    6030        lemon/dijkstra.h \
     
    6434        lemon/error.h \
    6535        lemon/full_graph.h \
    66         lemon/glpk.h \
    6736        lemon/graph_to_eps.h \
    6837        lemon/grid_graph.h \
     
    7241        lemon/lgf_reader.h \
    7342        lemon/lgf_writer.h \
    74         lemon/list_graph.h \
    75         lemon/lp.h \
    76         lemon/lp_base.h \
    77         lemon/lp_skeleton.h \
    7843        lemon/list_graph.h \
    7944        lemon/maps.h \
     
    8651        lemon/random.h \
    8752        lemon/smart_graph.h \
    88         lemon/soplex.h \
    8953        lemon/suurballe.h \
    9054        lemon/time_measure.h \
     
    10367        lemon/bits/map_extender.h \
    10468        lemon/bits/path_dump.h \
    105         lemon/bits/solver_bits.h \
    10669        lemon/bits/traits.h \
    10770        lemon/bits/variant.h \
  • lemon/config.h.in

    r459 r1  
    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 
    71/* Define to 1 if you have CPLEX. */
    82#undef HAVE_CPLEX
     
    104/* Define to 1 if you have GLPK. */
    115#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

    r457 r187  
    6363    if test x"$lx_cplex_found" = x"yes"; then
    6464      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.])
    6965      AC_MSG_RESULT([yes])
    7066    else
  • m4/lx_check_glpk.m4

    r459 r187  
    4343      }
    4444
    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 
    5045      int main(int argc, char** argv)
    5146      {
     
    6661    if test x"$lx_glpk_found" = x"yes"; then
    6762      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.])
    7263      AC_MSG_RESULT([yes])
    7364    else
  • m4/lx_check_soplex.m4

    r457 r187  
    5757    if test x"$lx_soplex_found" = x"yes"; then
    5858      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.])
    6159      AC_MSG_RESULT([yes])
    6260    else
  • test/CMakeLists.txt

    r467 r465  
    1919  heap_test
    2020  kruskal_test
    21   lp_test
    22   mip_test
    2321  maps_test
    2422  max_matching_test
  • test/Makefile.am

    r467 r465  
    3434        test/unionfind_test
    3535
    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 
    4336TESTS += $(check_PROGRAMS)
    4437XFAIL_TESTS += test/test_tools_fail$(EXEEXT)
     
    5952test_kruskal_test_SOURCES = test/kruskal_test.cc
    6053test_hao_orlin_test_SOURCES = test/hao_orlin_test.cc
    61 test_lp_test_SOURCES = test/lp_test.cc
    6254test_maps_test_SOURCES = test/maps_test.cc
    63 test_mip_test_SOURCES = test/mip_test.cc
    6455test_max_matching_test_SOURCES = test/max_matching_test.cc
    6556test_path_test_SOURCES = test/path_test.cc
Note: See TracChangeset for help on using the changeset viewer.