test/lp_test.cc
changeset 968 53c0dd387001
parent 631 d21b38647e53
child 988 8d281761dea4
equal deleted inserted replaced
12:d9ce777edb90 13:59d5795cf70b
   164     c = ((2 <= p1) <= 3);
   164     c = ((2 <= p1) <= 3);
   165 
   165 
   166     c = ((2 >= e) >= 3);
   166     c = ((2 >= e) >= 3);
   167     c = ((2 >= p1) >= 3);
   167     c = ((2 >= p1) >= 3);
   168 
   168 
       
   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 
   169     e[x[3]]=2;
   177     e[x[3]]=2;
   170     e[x[3]]=4;
   178     e[x[3]]=4;
   171     e[x[3]]=1;
   179     e[x[3]]=1;
   172     *e=12;
   180     *e=12;
   173 
   181