Riset Operasional
Riset Operasional
Riset Operasional
1.
max= 110*X11 + 110*X21 + 118*X12 +118*X22 - 100*A1 - 100*A2;
X11/5 + X12/5 <= 8 + L1;
X21/8 + X22/4 <= 8 + L2;
A1 <= 4;
A2 <= 4;
Model Class: LP
Total variables: 6
Nonlinear variables: 0
Integer variables: 0
Total constraints: 5
Nonlinear constraints: 0
Total nonzeros: 14
Nonlinear nonzeros: 0
(0.08*(X11+X12+X13+X14)+0.06*(X21+X22+X23+X24)+ 0.04*(X31+X32+X33+X34)) /
(X11+X12+X13+X14+X21+X22+X23+X24+X31+X32+X33+X34)<= 0.05;
(0.05*(X11+X12+X13+X14)+0.04*(X21+X22+X23+X24)+0.03*(X31+X32+X33+X34)) /
(X11+X12+X13+X14+X21+X22+X23+X24+X31+X32+X33+X34)<= 0.04;
Total variables: 12
Nonlinear variables: 12
Integer variables: 0
Total constraints: 10
Nonlinear constraints: 2
Total nonzeros: 60
Nonlinear nonzeros: 24
3.
ba + ca + C1 = A;
ba = 0.6*A;
ca + C1 = 0.4*a;
dc = 0.6*C1;
bc = 0.4*C1;
ba + bc <= 30;
ca <= 60;
dc <= 40;
Model Class: LP
Total variables: 7
Nonlinear variables: 0
Integer variables: 0
Total constraints: 10
Nonlinear constraints: 0
Total nonzeros: 24
Nonlinear nonzeros: 0
4.
min = 30000*(A+B+C+D)+30*(E+F+G);
A + B + D >= 4000/500;
A + B + C >= 2000/500;
A + C + D >= 3000/500;
B + C + D >= 10000/500;
A >= 0;
B >= 0;
C >= 0;
D >= 0;
Model Class: LP
Total variables: 7
Nonlinear variables: 0
Integer variables: 0
Total constraints: 13
Nonlinear constraints: 0
Total nonzeros: 45
Nonlinear nonzeros: 0
5.
min = 3*1000*X11 + 2*1100*X12 + 2*1200*X13 + 1500*X14+
4*800*X21 + 3*900*X22 + 3*1000*X23 + 2*1000*X24+
5*600*X31 + 5*800*X32 + 4*800*X33 + 2*900*X34 +
40*S1 + 50*S2 + 4*S3 + 70*S4;
X11+X12+X13+X14 <= 5;
X21+X22+X23+X24 <= 8;
X31+X32+X33+X34 <= 10;
Model Class: LP
Total variables: 16
Nonlinear variables: 0
Integer variables: 0
Total constraints: 8
Nonlinear constraints: 0
Total nonzeros: 44
Nonlinear nonzeros: 0
Variable Value Reduced Cost
X11 0.000000 3000.000
X12 0.000000 2200.000
X13 0.000000 2400.000
X14 0.000000 1500.000
X21 0.000000 3200.000
X22 0.000000 2700.000
X23 0.000000 3000.000
X24 0.000000 2000.000
X31 0.000000 3000.000
X32 0.000000 4000.000
X33 0.000000 3200.000
X34 0.000000 1800.000
S1 0.000000 40.00000
S2 0.000000 50.00000
S3 0.000000 4.000000
S4 0.000000 70.00000
6.
min = 30*C1 + 35*C2 + 33*C3;
C1 <= 30;
C2 <= 30;
C3 <= 30;
C1 + C2 + C3 >= 50;
(2500*C1+1500*C2+1600*C3)<= 2000*(C1+C2+C3);
Total constraints: 6
Nonlinear constraints: 1
Total nonzeros: 12
Nonlinear nonzeros: 3
7.
min = 140000*tb + 80000*ts1 + 80000*ts2;
Model Class: LP
Total variables: 3
Nonlinear variables: 0
Integer variables: 0
Total constraints: 6
Nonlinear constraints: 0
Total nonzeros: 13
Nonlinear nonzeros: 0
9.
max = 150*b + 200*w + 230*p + 35*m;
w >= 25;
Model Class: LP
Total variables: 4
Nonlinear variables: 0
Integer variables: 0
Total constraints: 7
Nonlinear constraints: 0
Total nonzeros: 13
Nonlinear nonzeros: 0
Model Class: LP
Total variables: 4
Nonlinear variables: 0
Integer variables: 0
Total constraints: 8
Nonlinear constraints: 0
Total nonzeros: 14
Nonlinear nonzeros: 0
Model Class: LP
Total variables: 12
Nonlinear variables: 0
Integer variables: 0
Total constraints: 4
Nonlinear constraints: 0
Total nonzeros: 24
Nonlinear nonzeros: 0
Model Class: LP
Total variables: 12
Nonlinear variables: 0
Integer variables: 0
Total constraints: 4
Nonlinear constraints: 0
Total nonzeros: 24
Nonlinear nonzeros: 0
max = W1 + W2 ;
A1 + A2 = W1 + W2;
2*A1 + 8*A1 + 16*A2 + 28*A2 - 30*B2 = 0;
2*A1 = W1;
2*A2 = W2;
B1 <= 25;
B2 <= 25;
A1 <= 20;
A2 <= 20;
Model Class: LP
Total variables: 6
Nonlinear variables: 0
Integer variables: 0
Total constraints: 9
Nonlinear constraints: 0
Total nonzeros: 17
Nonlinear nonzeros: 0
12.