COIN-OR::LEMON - Graph Library

Changeset 480:69928a704ffb in lemon


Ignore:
Timestamp:
01/12/09 13:22:11 (11 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Add HAVE_LP and HAVE_MIP #defines

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r375 r480  
    5454#LX_CHECK_CPLEX
    5555#LX_CHECK_SOPLEX
     56
     57AM_CONDITIONAL([HAVE_LP], [test x"$lx_lp_found" = x"yes"])
     58AM_CONDITIONAL([HAVE_MIP], [test x"$lx_mip_found" = x"yes"])
    5659
    5760dnl Disable/enable building the demo programs.
  • lemon/config.h.in

    r1 r480  
     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
    17/* Define to 1 if you have CPLEX. */
    28#undef HAVE_CPLEX
  • m4/lx_check_cplex.m4

    r187 r480  
    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.])
    6569      AC_MSG_RESULT([yes])
    6670    else
  • m4/lx_check_glpk.m4

    r187 r480  
    6161    if test x"$lx_glpk_found" = x"yes"; then
    6262      AC_DEFINE([HAVE_GLPK], [1], [Define to 1 if you have GLPK.])
     63      lx_lp_found=yes
     64      AC_DEFINE([HAVE_LP], [1], [Define to 1 if you have any LP solver.])
     65      lx_mip_found=yes
     66      AC_DEFINE([HAVE_MIP], [1], [Define to 1 if you have any MIP solver.])
    6367      AC_MSG_RESULT([yes])
    6468    else
  • m4/lx_check_soplex.m4

    r187 r480  
    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.])
    5961      AC_MSG_RESULT([yes])
    6062    else
Note: See TracChangeset for help on using the changeset viewer.