0% found this document useful (0 votes)
76 views6 pages

This Study Resource Was: Operations Research

This document contains a test memorandum for a semester test in operations research. The memorandum provides solutions and workings for two questions from the test. Question 1 asks students to use the simplex algorithm to solve a linear program with 5 constraints and 2 variables. The solution provided converts the problem to standard form, writes the canonical form, identifies the basic and non-basic variables, performs the ratio test, and provides the optimal simplex tableau with the optimal solution. Question 2 provides background information for a multi-period facility location and distribution problem faced by a fast food company over 4 years. The problem involves deciding which plant and distribution center sites to open each year to meet customer demands, given costs and capacities for facilities and transportation

Uploaded by

Reyal Mohan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views6 pages

This Study Resource Was: Operations Research

This document contains a test memorandum for a semester test in operations research. The memorandum provides solutions and workings for two questions from the test. Question 1 asks students to use the simplex algorithm to solve a linear program with 5 constraints and 2 variables. The solution provided converts the problem to standard form, writes the canonical form, identifies the basic and non-basic variables, performs the ratio test, and provides the optimal simplex tableau with the optimal solution. Question 2 provides background information for a multi-period facility location and distribution problem faced by a fast food company over 4 years. The problem involves deciding which plant and distribution center sites to open each year to meet customer demands, given costs and capacities for facilities and transportation

Uploaded by

Reyal Mohan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

University of Pretoria

Department of Industrial and Systems Engineering

Operations Research BOZ 312


Lecturer: Mrs Wilna L Bean
Moderator: Prof Johan W Joubert

This paper comprises 2 questions. Please answer all the questions.

Marks for each question, or sub-question, are indicated in a square frame next to
the question in the left margin.

This is a closed book test.

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

11 May 2018 1 of 6 Semester test 2 Memorandum


https://www.coursehero.com/file/42443774/2018-BOZ-312-Semester-Test-2-Memo-1pdf/
Test questions

10 1. Use the simplex algorithm to solve the following linear program:

max z = 2x1 + 4x2 (1)

subject to

5x1 − 2x2 ≤ 8 (2)


2x1 + x2 ≤ 10 (3)
x1 ≥ 0 (4)
x2 urs. (5)

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

The objective function can then be rewritten as z − 2x1 − 4x02 + 4x002 = 0.


vi y re

We write the canonical form 0 and calculate the basic variables (BV) by setting the non-basic
variables x1 = x02 = x002 = 0.
ed d

z x1 x02 x002 s1 s2 rhs BV


ar stu

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

z x1 x02 x002 s1 s2 rhs BV Ratio


row 0 1 -2 -4 4 0 0 0 z=0 -
row 1 0 5 -2 2 1 0 8 s1 = 8 No ratio X
row 2 0 2 1 -1 0 1 10 s2 = 10 10 X

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

11 May 2018 2 of 6 Semester test 2 Memorandum


https://www.coursehero.com/file/42443774/2018-BOZ-312-Semester-Test-2-Memo-1pdf/
coefficient of 1 in the winning row (row 2). Now we can use elementary row operations (ero’s) to
calculate the new tableau.

z x1 x02 x002 s1 s2 rhs BV Calculation


row 0’ 1 6 0 0 0 4 40 z = 40 4row 2’ + row 0 X
row 1’ 0 9 0 0 1 2 28 s1 = 28 2row 2’ + row 1 X
row 2’ 0 2 1 -1 0 1 10 x02 = 10 row 2 X

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

11 May 2018 3 of 6 Semester test 2 Memorandum


https://www.coursehero.com/file/42443774/2018-BOZ-312-Semester-Test-2-Memo-1pdf/
2. Fast Food Co is planning the production and distribution system for its new product over a four
year period. As part of the planning process the company needs to decide which plants and
distribution centres to open as well as when to open these facilities during the four year period.
Plants may be opened at any of the potential plant sites i ∈ I = {1, . . . , 8}, and distribution
centres may be opened at any of the potential distribution centre locations j ∈ J = {1, . . . , 10},
to meet the demands (in cases/ year), denoted by dkt , at customers k ∈ K = {1, . . . , 50} during
year t ∈ T = {1, . . . , 4}.
Each plant costs a fixed amount of C p rands to build and produces up to 30 000 cases per year
(if opened). Each distribution centre costs a fixed amount of C d rands to build and can handle
up to 15 000 cases per year (if opened). If opened, a plant incurs an annual operating cost of Op
rands and a distribution centre incurs an annual operating cost of Od rands if opened.
Transportation costs (in R/case) between plant i and distribution centre j are denoted by rij ,
while tjk denotes the transportation costs (in R/case) between distribution centre j and customer
k. No direct shipments from the plants to the customers are allowed.
We then define the following variables:
(
1 if a plant is opened at site i ∈ I at the beginning of year t ∈ T

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

the annual demand at the lowest possible cost.


aC s
vi y re

We let:

pijt , the number of cases shipped from plant i ∈ I to warehouse j ∈ J during


ed d

year t ∈ T .
ar stu

wjkt , the number of cases shipped from warehouse j ∈ J to customer k ∈ K ,


during year t ∈ T .

We can then model the problem as follows:


is
Th

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

11 May 2018 4 of 6 Semester test 2 Memorandum


https://www.coursehero.com/file/42443774/2018-BOZ-312-Semester-Test-2-Memo-1pdf/
X
wjkt ≥ dkt ∀k ∈ K , t ∈ T (12)
J
j∈J
X X
pijt = wjkt ∀j ∈ J , t ∈ T (13)
i∈II K
k∈K
X t
X
pijt ≤ 30 000 xil ∀i ∈ I , t ∈ T (14)
J
j∈J l=1

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

The following criteria are assessed using a 0-1-2-3 rubric:

1. Definition of decision variables.


2. Objective function.
ed d

3. Ensure demand satisfaction.


ar stu

4. Ensure everything moved from plants are shipped to customers.


5. Plant capacity and fixed charge enforcement.
6. DC capacity and fixed charge enforcement.
7. Ensure that plants and DCs not built more than once.
is

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

onwards)? Show your new objective function.

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

11 May 2018 5 of 6 Semester test 2 Memorandum


https://www.coursehero.com/file/42443774/2018-BOZ-312-Semester-Test-2-Memo-1pdf/
The following criteria are assessed using a 0-1-2-3 rubric:

1. Including increase in objective function.

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?

2x4t ≤ y2t + y9t ∀t ∈ T

The following criteria are assessed using a 0-1-2-3 rubric:

1. Ensure DCs 2 and 9 are built if plant 4 is built.

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

??? end of paper ???


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

11 May 2018 6 of 6 Semester test 2 Memorandum


https://www.coursehero.com/file/42443774/2018-BOZ-312-Semester-Test-2-Memo-1pdf/
Powered by TCPDF (www.tcpdf.org)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy