SETS: ogg/1..2/:p, x; ris/macch1 macch2 man/:b; mat(ris,ogg):a; ENDSETS DATA: p= 120 180; b= 960 960 1920 ; a= 15 55 35 45 60 100; ENDDATA MAX= @SUM(ogg(j): p(j)*x(j) ); @FOR(ris(i): [ris] @SUM(ogg(j): a(i,j) * x(j) ) < b(i) );