COIN-OR::LEMON - Graph Library

Changeset 2458:93b4132ac1e8 in lemon-0.x for lemon/mip_glpk.cc


Ignore:
Timestamp:
06/26/07 16:02:08 (13 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3295
Message:

The mip column addition hack is necessary only for 4.16

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/mip_glpk.cc

    r2442 r2458  
    7676
    7777    // hack: mip does not contain integer variable
    78 #if GLP_MAJOR_VERSION > 4 || (GLP_MAJOR_VERSION == 4 && GLP_MINOR_VERSION > 15)
     78#if GLP_MAJOR_VERSION == 4 && GLP_MINOR_VERSION == 16
    7979    int tmp = -1;
    8080    if (LEMON_glp(get_num_int(lp)) == 0) {
     
    100100      solved = false;
    101101    }
    102 #if GLP_MAJOR_VERSION > 4 || (GLP_MAJOR_VERSION == 4 && GLP_MINOR_VERSION > 15)
     102#if GLP_MAJOR_VERSION == 4 && GLP_MINOR_VERSION == 16
    103103    if (tmp != -1) {
    104104      int tmpa[2];
Note: See TracChangeset for help on using the changeset viewer.