You are on page 1of 6

Constants:

r (profit)
h (inventory cost)
I-0
t
c_t (capacity unit/t)
d_t (demand unit/t)

10
1
0 unit
1
100
80

2
100
100

3
100
120

Decision Variables:
t
X_t (produced)
S_t (sold)
I_t (inventory)

1
100
80
20

2
100
100
20

3
100
120
0

Objective (max):
Net profit
Constraints:
S_1
S_2
S_3
S_4
S_5
S_6
X_1
X_2
X_3
X_4
X_5
X_6
(I_1) - (I_0) (I_2) - (I_1) (I_3) - (I_2) (I_4) - (I_3) (I_5) - (I_4) (I_6) - (I_5) -

(X_1)
(X_2)
(X_3)
(X_4)
(X_5)
(X_6)

6,440.00

+
+
+
+
+
+

(S_1)
(S_2)
(S_3)
(S_4)
(S_5)
(S_6)

80
100
120
120
90
140
100
100
100
120
110
120
0
0
0
0
0
0

r * (S_1 + S_2 + S_3 + S

<=
<=
<=
<=
<=
<=
<=
<=
<=
<=
<=
<=
=
=
=
=
=
=

80
100
120
140
90
140
100
100
100
120
120
120
0
0
0
0
0
0

4
120
140

5
120
90

6
120
140

Total
660
670

4
120
120
0

5
110
90
20

6
120
140
0

Total
650
650
60

(S_1 + S_2 + S_3 + S_4 + S_5 + S_6) - h * (I_1+ I_2 + S_3 + S_4 + S_5 + S_6)

d_1
d_2
d_3
d_4
d_5
d_6
c_1
c_2
c_3
c_4
c_5
c_6

NOTE: X_t, S_t, and I_t must be > 0

S_3 + S_4 + S_5 + S_6)

Beerflex
cost =

42050
f1-s1
25
150

f1-s2
75
220

Facility 1
Facility 2

Shop 1
Shop 2
Shop 3

Cost $/tag unit


Supply Constraints

Demand Constraints
1

f1-s3
0
350

f2-s1
0
270

f2-s2
20
290

f2-s3
80
200

1
1

100
100

25
95
80

1
1
1

100
125

25
95
80

You might also like