This Study Resource Was: Operations Research
This Study Resource Was: Operations Research
Marks for each question, or sub-question, are indicated in a square frame next to
the question in the left margin.
m
er as
Calculators are allowed.
co
eH w
o.
rs eComplete all 2 questions for 43 marks
ou urc
Total time: 90 minutes
o
aC s
vi y re
ed d
ar stu
is
Th
sh
This study source was downloaded by 100000826598227 from CourseHero.com on 05-22-2021 22:51:31 GMT -05:00
subject to
First convert the LP into standard form. Since x2 is unrestricted in sign, we have to define two
new non-negative variables (x02 and x002 ) to replace x2 :
m
er as
co
max z = 2x1 + 4x02 −4x002 (6)
eH w
o.
subject to rs e
ou urc
5x1 − 2x02 + 2x002 + s1 = 8 X (7)
2x1 + x02 − x002 + s2 = 10 (8)
x1 , x02 , x002 , s1 , s2 ≥0 (9)
o
aC s
We write the canonical form 0 and calculate the basic variables (BV) by setting the non-basic
variables x1 = x02 = x002 = 0.
ed d
row 0 1 -2 -4 4 0 0 0 z=0X
row 1 0 5 -2 2 1 0 8 s1 = 8 X
row 2 0 2 1 -1 0 1 10 s2 = 10 X
is
Th
The first entry variable is x02 as it has the highest negative coefficient in row 0. We then calculate
the ratios by dividing the RHS of each row with the coefficient of the entry variable in that row.
sh
and we see that row 2 is the winner of the ratio test as it has the lowest ratio (in this case the
only low with a valid ratio). Now we need to make the entry variable x02 a basic variable with a
This study source was downloaded by 100000826598227 from CourseHero.com on 05-22-2021 22:51:31 GMT -05:00
This is the optimal tableau as there are no more variables with negative coefficients in row 0’.
The solution of this tableau is therefore: z = 40; s1 = 28; x02 = 10, x1 = x002 = s2 = 0. Note that
x2 = x02 − x002 , therefore the optimal solution to the problem yields an objective function value of
z = 40 when x1 = 0 and x2 = 10. X
m
er as
co
eH w
o.
rs e
ou urc
o
aC s
vi y re
ed d
ar stu
is
Th
sh
This study source was downloaded by 100000826598227 from CourseHero.com on 05-22-2021 22:51:31 GMT -05:00
m
xit ,
er as
0 otherwise
co
eH w
(
1 if a warehouse is opened at location j ∈ J at the beginning of year t ∈ T
yjt ,
o.
0 otherwise. rs e
ou urc
24 (a) If plants and distribution centres are not allowed to carry over any inventory from one year
to another, formulate an Integer Linear Program (ILP) to help Fast Food Co decide which
facilities to open, when to open these facilities and how to service customers in order to satisfy
o
We let:
year t ∈ T .
ar stu
X XX XX X
min z = rij pijt + tjk wjkt + Op xit (5 − t)
T
t∈T i∈II j∈J
J J k∈K
j∈J K i∈II
!
sh
X X X
+ Od yjt (5 − t) + C p xit + C d yjt (10)
J
j∈J i∈II J
j∈J
subject to
(11)
This study source was downloaded by 100000826598227 from CourseHero.com on 05-22-2021 22:51:31 GMT -05:00
X t
X
wjkt ≤ 15 000 yjl ∀j ∈ J , t ∈ T (15)
K
k∈K l=1
X
xit ≤ 1 ∀i ∈ I (16)
T
t∈T
X
yjt ≤ 1 ∀j ∈ J (17)
T
t∈T
xit ∈ {0, 1} ∀i ∈ I , t ∈ T (18)
yjt ∈ {0, 1} ∀j ∈ J , t ∈ T (19)
pijt ≥ 0 and integer ∀i ∈ I , j ∈ J , t ∈ T (20)
m
er as
wjkt ≥ 0 and integer ∀j ∈ J , k ∈ K , t ∈ T (21)
co
eH w
The objective function in (11) minimises the total cost of establishing and operating plants,
distribution centres, and shipping goods from plants to customers. Each year, demand must
o.
be met according to (12). To ensure that we are shipping all products sent from plants to
rs e
customers, we introduce (13). Any product moved from a plant implies the plant is opened,
ou urc
according to (14). Similarly, any product moved from a warehouse implies the warehouse
is opened, according to (15). To ensure that plants and distribution centres are not opened
more than once, we include (16) and (16). Variable definitions take place in (18) through (21).
o
aC s
vi y re
8. Accessibility of information.
Th
3 (b) How would you modify your objective function in (a) if the fixed cost to build plants (C p )
and the fixed cost to build distribution centres (C d ) increased by 5% per year (from year two
sh
X XX XX X X
min z = rij pijt + tjk wjkt + Op xit (5 − t) + Od yjt (5 − t)
T
t∈T i∈II j∈J
J J k∈K
j∈J K i∈II J
j∈J
!
X X
t−1 p t−1 d
+ 1.05 C xit + 1.05 C yjt
i∈II J
j∈J
This study source was downloaded by 100000826598227 from CourseHero.com on 05-22-2021 22:51:31 GMT -05:00
3 (c) What constraint(s) will you add to the formulation in (a) to ensure that if a plant is built at
location 4 in a year, then distribution centres must also be built at locations 2 and 9 in that
same year?
3 (d) What constraint(s) will you add to the formulation in (a) to ensure that in year 1 a distribution
m
centre is built at either location 5 or 8?
er as
co
y51 + y81 ≥ 1
eH w
o.
rs e
The following criteria are assessed using a 0-1-2-3 rubric:
ou urc
1. Ensure that either DC 1, 5 or DC 8 (or both) is built in year 1.
o
aC s
vi y re
This study source was downloaded by 100000826598227 from CourseHero.com on 05-22-2021 22:51:31 GMT -05:00