SETS: item/1..2/:v,w,x; ENDSETS DATA: v= 7 8 14 7 8 10 6 5 4 7 8 6 9 5 6 7 5 4 5 6 ; w = 52 51 127 92 84 89 43 30 54 61 96 91 80 52 70 44 68 33 26 83 ; cap=620; ENDDATA max=@SUM(item(j): v*x); @SUM(item(j):w*x) < cap; @FOR(item(j): @BND(0,x(j),1); @GIN(x(j)) );