test/lp_test.cc
changeset 807 3e711ee55d31
parent 800 756022ac1674
child 806 14394c9603c2
equal deleted inserted replaced
17:b3b16300fee3 19:751b16079c4a
   196     { //Tests for #430
   196     { //Tests for #430
   197       LP::Col v=lp.addCol();
   197       LP::Col v=lp.addCol();
   198       LP::Constr c = v >= -3;
   198       LP::Constr c = v >= -3;
   199       c = c <= 4;
   199       c = c <= 4;
   200       LP::Constr c2;
   200       LP::Constr c2;
       
   201 #if ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ == 3 )
       
   202       c2 = ( -3 <= v ) <= 4;
       
   203 #else
   201       c2 = -3 <= v <= 4;
   204       c2 = -3 <= v <= 4;
       
   205 #endif
       
   206 
   202     }
   207     }
   203 
   208 
   204     e[x[3]]=2;
   209     e[x[3]]=2;
   205     e[x[3]]=4;
   210     e[x[3]]=4;
   206     e[x[3]]=1;
   211     e[x[3]]=1;