COIN-OR::LEMON - Graph Library

Ticket #503: 5de6a70446f6.patch

File 5de6a70446f6.patch, 938 bytes (added by Alpar Juttner, 10 years ago)
  • lemon/lp.h

    # HG changeset patch
    # User Alpar Juttner <alpar@cs.elte.hu>
    # Date 1404909696 -7200
    #      Wed Jul 09 14:41:36 2014 +0200
    # Node ID 5de6a70446f6ed13d456d1df8d0bfd4085bcf2af
    # Parent  1552352f97987f8fea7482cb144ba23cd5466484
    Fix buggy include logic in lemon/lp.h (#503)
    
    diff --git a/lemon/lp.h b/lemon/lp.h
    a b  
    2222#include<lemon/config.h>
    2323
    2424
    25 #ifdef LEMON_HAVE_GLPK
     25#if LEMON_DEFAULT_LP == _LEMON_GLPK || LEMON_DEFAULT_MIP == _LEMON_GLPK
    2626#include <lemon/glpk.h>
    27 #elif LEMON_HAVE_CPLEX
     27#endif
     28#if LEMON_DEFAULT_LP == _LEMON_CPLEX || LEMON_DEFAULT_MIP == _LEMON_CPLEX
    2829#include <lemon/cplex.h>
    29 #elif LEMON_HAVE_SOPLEX
     30#endif
     31#if LEMON_DEFAULT_LP == _LEMON_SOPLEX
    3032#include <lemon/soplex.h>
    31 #elif LEMON_HAVE_CLP
     33#endif
     34#if LEMON_DEFAULT_LP == _LEMON_CLP
    3235#include <lemon/clp.h>
    33 #elif LEMON_HAVE_CBC
     36#endif
     37#if LEMON_DEFAULT_MIP == _LEMON_CBC
    3438#include <lemon/cbc.h>
    3539#endif
    3640