test/lp_test.cc
branch1.2
changeset 1277 e13061207f85
parent 1237 deaf433636ca
parent 1247 115031ac8001
equal deleted inserted replaced
18:10861677ae6e 20:dda722d1f785
   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;