test/lp_test.cc
changeset 1091 9eac00ea588f
parent 1064 fc3854d936f7
child 1092 dceba191c00d
equal deleted inserted replaced
15:b3b16300fee3 16: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;