COIN-OR::LEMON - Graph Library

Changeset 957:2eebc8f7dca5 in lemon-main for test


Ignore:
Timestamp:
11/01/11 08:24:30 (13 years ago)
Author:
Gabor Retvari <retvari@…>
Branch:
default
Children:
958:9a716871028e, 959:17e36e175725
Phase:
public
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/lp_test.cc

    r631 r957  
    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.