X( 1, 1) 10.55556 0.000000
X( 1,2) 0.000000 0.000000
X( 1,3)0.000000 1 1.7647 1
X( 1,4)4.44444 0.000000
x(2 1)0.000000 0.000000
X( 2,2) 9.46 1538 0.000000
X( 2,3)0.000000 1 1.7647 1
X( 2,4) 6.538462 0.000000
x(3 1)5.503268 0.000000
X( 3,2) 3.479638 0.000000
X( 3,3)0.000000 1 1.7647 1
X( 3,4) 1.0 17094 0.000000
Model:
Set:
S11... 3/:tw, TV;
s2/ 1..4/:w,v,p;
ss(s 1,S2):x;
End set
Data:
tw = 15 16 10;
Television = 6800 8700 5300;
w = 18 15 23 12;
v = 480 650 580 390
p = 3200 3900 3600 2950
End data
max=@sum(ss(i,j):x(i,j)* p(j));
@ for(s 1(I):@ sum(S2(j):x(I,j))& lt; = tw(I));
@ for(s 1(I):@ sum(S2(j):v(j)* x(I,j))& lt; = TV(I));
@ for(S2(j):@ sum(s 1(I):x(I,j))& lt; = w(j));
@ for(s 1(m):@ for(s 1(n)| n # gt # m:@ sum(S2(j):x(m,j))/tw(m)=@sum(s2(j):x(n,j))/tw(n));
end