COIN-OR::LEMON - Graph Library

Changeset 932:2eebc8f7dca5 in lemon-1.2 for test/lp_test.cc


Ignore:
Timestamp:
11/01/11 08:24:30 (8 years ago)
Author:
Gabor Retvari <retvari@…>
Branch:
default
Children:
933:140facbd1d7c, 937:17e36e175725
Phase:
public
Message:

Fix LpBase::Constr two-side limit bug (#430)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/lp_test.cc

    r631 r932  
    167167    c = ((2 >= p1) >= 3);
    168168
     169    { //Tests for #430
     170      LP::Col v=lp.addCol();
     171      LP::Constr c = v >= -3;
     172      c = c <= 4;
     173      LP::Constr c2;
     174      c2 = -3 <= v <= 4;
     175    }
     176
    169177    e[x[3]]=2;
    170178    e[x[3]]=4;
Note: See TracChangeset for help on using the changeset viewer.