Docsity

Operations Management: Linear Programming for Mask Production & Shortest Path in Italy, Prove d'esame di Ricerca Operativa

Toggle sidebar
bg1
Course: Operations Management
Date: 04th September 2020
Time Available: 1 hour and a half
Results Published by: 15th September 2020
Oral Exam: No oral exam is planned for this
session
Candidate
Student ID Number:
First Name:
Family Name:
Exercise One [max 6 points]
A company produces 3 different types of face masks: FM1, FM2, and FM3. The production cycle consists
of two flow lines, referred to as L1 (cutting the fabric and attaching the laces) and L2 (packaging). Each of
the 3 product types must undergo a sequential processing from the 2 lines (before cutting the fabric and
attaching the laces, and then packaging).
The central part of the following table shows the number of seconds required for processing one package
of each type of face mask on each line. For each line, the rightmost column shows the maximum limit of
seconds that are available the next week. Finally, the last row reports the unit profit (in € per package) of
each type of face mask.
The company assumes that all the packages that are produced in the next week will be sold.
Face mask types
FM1
FM2
FM3
Maximum limit of
seconds available
(in seconds)
Lines
L1 (cutting and attaching)
120
180
150
3,800
L2 (packaging)
60
70
50
1,500
Unit profit
(in € per package)
1.5
2.1
1.8
1. Formulate a Linear Programming model that allows determining the weekly production plan that
maximizes the total profit.
2. How does the formulation change if the company decides to produce at least 250 packages of face mask
FM2, and no more than 130 packages of face mask FM1?
3. Finally, how does the formulation change if the company decides that the number of packages of face
mask FM2 must be larger than or equal to the total number of packages produced of the other two types
of masks (i.e., FM1 plus FM3).
Exercise Two [max 6 points]
You and your friends have decided to spend a week by the sea, in a well-known seaside resort in southern
Italy. In order to reduce the exposition to the risk of infection from the Sars-Cov2 virus, you have decided
to reach such location by car, and not by train or plane. Unfortunately, due to his physical conditions, one
of your friends is unable to travel by car for more than 4 consecutive hours. You have therefore identified
a set of cities (denoted hereafter as B, C, D, E) where it would be possible to make an intermediate stop,
thus dividing the entire journey into sections that have a travel time of no more than 4 hours. (A section is
a trip from one city to another.)
A
B
C
D
E
F
City
(from)
A
-
3
4
-
-
-
B
-
-
1.5
4
3
-
C
-
-
-
2.5
2.5
-
D
-
-
-
-
1
1.5
E
-
-
-
-
-
2.5
F
-
-
-
-
-
-
pf3
pf4
pf5
pf8
pf9
pfa

Anteprima parziale del testo

Scarica Operations Management: Linear Programming for Mask Production & Shortest Path in Italy e più Prove d'esame in PDF di Ricerca Operativa solo su Docsity!

Course: Operations Management Date: 04 th September 2020 Time Available: 1 hour and a half Results Published by: 15 th September 2020 Oral Exam: No oral exam is planned for this session Candidate Student ID Number: First Name: Family Name:

Exercise One [max 6 points]

A company produces 3 different types of face masks: FM1, FM2, and FM3. The production cycle consists of two flow lines, referred to as L1 (cutting the fabric and attaching the laces) and L2 (packaging). Each of the 3 product types must undergo a sequential processing from the 2 lines (before cutting the fabric and attaching the laces, and then packaging). The central part of the following table shows the number of seconds required for processing one package of each type of face mask on each line. For each line, the rightmost column shows the maximum limit of seconds that are available the next week. Finally, the last row reports the unit profit (in € per package) of each type of face mask. The company assumes that all the packages that are produced in the next week will be sold.

Face mask types

FM1 FM2 FM

Maximum limit of seconds available Lines (in seconds) L1 (cutting and attaching) 120 180 150 3, L2 (packaging)^60 70 50 1, Unit profit (in € per package) 1.5 2.1 1.

  1. Formulate a Linear Programming model that allows determining the weekly production plan that maximizes the total profit.
  2. How does the formulation change if the company decides to produce at least 250 packages of face mask FM2, and no more than 130 packages of face mask FM1?
  3. Finally, how does the formulation change if the company decides that the number of packages of face mask FM2 must be larger than or equal to the total number of packages produced of the other two types of masks (i.e., FM1 plus FM3).

Exercise Two [max 6 points]

You and your friends have decided to spend a week by the sea, in a well-known seaside resort in southern

Italy. In order to reduce the exposition to the risk of infection from the Sars-Cov2 virus, you have decided

to reach such location by car, and not by train or plane. Unfortunately, due to his physical conditions, one

of your friends is unable to travel by car for more than 4 consecutive hours. You have therefore identified a set of cities (denoted hereafter as B, C, D, E) where it would be possible to make an intermediate stop,

thus dividing the entire journey into sections that have a travel time of no more than 4 hours. (A section is

a trip from one city to another.)

City (to) A B C D E F

City (from)

A - 3 4 - - -

B -^ -^ 1.5^4 3 -

C - - - 2.5 2.5 -

D - - - - 1 1.

E - - - - - 2.

F - - - - - -

The previous table shows the travel time (in hours) of each section that connects directly two cities, where A identifies your hometown and F identifies the seaside resort in southern Italy. Each section is identified by the departure city “City (from)” and by the destination city “City (to)”. The symbol ‘-’ indicates that the direct connection between those two cities is not possible. You must determine the route to travel in order to minimize the total travel time for reaching, from your hometown, the seaside resort in southern Italy. What problem must you solve? Solve the problem and provide a graphical representation of the solution.

Exercise Three [max 7 points] A project consists of 9 elementary activities, from A to I. The following table shows, in weeks, the estimated duration (in days) of each activity k. The table also shows the precedence relationships between the activities.

Activity Duration Predecessors A 5 - B 3 - C 5 - D 6 A E 4 B, C F 3 D, E G 6 F H 7 E I 6 G, H

  1. Define the project network using an AON representation.
  2. Determine, by using the CPM technique, the critical path, the critical activities and the estimated project duration.
  3. Highlight on the initial project network the critical path.

Question One [max 1 points] Write on the paper the question plus only the right answer! Given a convex set 𝑆 ⊆ 𝑅𝑛^ and a function 𝑐: 𝑆 → 𝑅^1. 𝑐 is said to be a convex function on 𝑆 if: ☐ 𝑐(𝜆𝑥 + (1 − 𝜆)𝑦) ≥ 𝜆 𝑐(𝑥) + (1 − 𝜆) 𝑐(𝑦), ∀𝑥, 𝑦 𝜖 𝑆, 𝑎𝑛𝑑 ∀ 𝜆: 0 ≤ 𝜆 ≤ 1; ☐ 𝑐(𝜆𝑥 + (1 − 𝜆)𝑦) ≤ 𝜆 𝑐(𝑥) + (1 − 𝜆) 𝑐(𝑦), ∀𝜆 𝜖 𝑆, 𝑎𝑛𝑑 ∀ 𝑐: 0 ≤ 𝑐 ≤ 1; ☐ 𝑐(𝜆𝑥 + (1 − 𝜆)𝑦) ≤ 𝜆 𝑐(𝑥) + (1 − 𝜆) 𝑐(𝑦), ∀𝑥, 𝑦 𝜖 𝑆, 𝑎𝑛𝑑 ∀ 𝜆: 0 ≤ 𝜆 ≤ 1.

Question Two [max 1 points] Write on the paper the question plus only the right answer! For any Linear Programming problem with 𝑛 decision variables, two vertices are said to be adjacent if: ☐ they share 𝑝 constraint boundaries; ☐ they share 𝑛 constraint boundaries; ☐ they share 𝑛 − 1 constraint boundaries.

Question Three [max 4 points] Describe the main steps of the graphical method for the solution of two-dimensional Linear Programming problems. Report also a small example with random values.

Question Four [max 5 points] Describe the Jackson networks: detail the key concepts and the basic assumptions.

Exercise Two. The set of all possible sections can be represented as a weighted and directed graph G. The vertices of the

graph represent the cities (sA, 𝑣 1 B, 𝑣 2 C, 𝑣 3 D, 𝑣 4 E, dF). The generic arc ( i,j ) indicates the

possibility to drive directly from city i to city j. The associated graph is the following.

You must determine the shortest path from your hometown to the seaside resort in southern Italy. We apply the Dijkstra’s algorithm.

Iteration 0 (Initialization).

𝑙(𝑠) = 0, 𝑙(1) = ∞, 𝑙(2) = ∞, 𝑙(3) = ∞, 𝑙(4) = ∞, 𝑙(𝑑) = ∞.

𝑝(𝑠) = --, 𝑝(1) = --, 𝑝(2) = --, 𝑝(3) = --, 𝑝(4) = --, 𝑝(𝑑) = --.

Make the label of vertex s permanent (in red in the following graph).

r = s.

Iteration 1.

𝐹(𝑟) = {𝑣 1 , 𝑣 2 }

𝑙(1) = 𝑚𝑖𝑛{𝑙(1), 𝑙(𝑠) + 𝑤(𝑠, 1)} = min{∞, 0 + 3} = 3

𝑙(2) = 𝑚𝑖𝑛{𝑙(2), 𝑙(𝑠) + 𝑤(𝑠, 2)} = min{∞, 0 + 4} = 4

Update the labels.

s

𝑣 1 𝑣 3

𝑣 2 𝑣 4

3

4

1

4 3

d

[0, --]

[∞, --] (^) [∞, --]

[∞, --]

[∞, --]

[∞, --]

s

𝑣 1 𝑣 3

𝑣 2 𝑣 4

3

4

1

4 3

d

[0, --]

[∞, --] (^) [∞, --]

[∞, --]

[∞, --]

[∞, --]

Choose the tentative label having the minimum 𝑙(𝑗) and make it permanent. In this case, the label of vertex

𝑣 1 becomes permanent.

𝑟 = 𝑣 1.

Iteration 2.

𝐹(𝑟) = {𝑣 2 , 𝑣 3 , 𝑣 4 }

𝑙(2) = 𝑚𝑖𝑛{𝑙(2), 𝑙(1) + 𝑤(1,2)} = min{4, 3 + 1.5} = 4

𝑙(3) = 𝑚𝑖𝑛{𝑙(3), 𝑙(1) + 𝑤(1,3)} = min{∞, 3 + 4} = 7

𝑙(4) = 𝑚𝑖𝑛{𝑙(4), 𝑙(1) + 𝑤(1,4)} = min{∞, 3 + 3} = 6

Update the labels, if needed (N.B.: the label of vertex 𝑣 2 does not need to be updated).

s

𝑣 1 𝑣 3

𝑣 2 𝑣 4

3

4

1

4 3

d

[0, --]

[ 3 , s] (^) [∞, --]

[ 4 , s]

[∞, --]

[∞, --]

s

𝑣 1 𝑣 3

𝑣 2 𝑣 4

3

4

1

4 3

d

[0, --]

[ 3 , s] (^) [∞, --]

[ 4 , s]

[∞, --]

[∞, --]

s

𝑣 1 𝑣 3

𝑣 2 𝑣 4

3

4

1

4 3

d

[0, --]

[ 3 , s] (^) [ 7 , 1]

[ 4 , s]

[∞, --]

[ 6 , 1]

𝑟 = 𝑣 4.

Iteration 4.

𝐹(𝑟) = {𝑑}

𝑙(𝑑) = 𝑚𝑖𝑛{𝑙(𝑑), 𝑙(4) + 𝑤(4, 𝑑)} = min{∞, 6 + 2. 5 }^ = 8. 5

Update the label of vertex 𝑑.

Choose the tentative label having the minimum 𝑙(𝑗)^ and make it permanent. In this case, the label of vertex

𝑣 3 becomes permanent.

𝑟 = 𝑣 3.

Iteration 5.

𝐹(𝑟) = {𝑑}

𝑙(𝑑) = 𝑚𝑖𝑛{𝑙(𝑑), 𝑙(3) + 𝑤(3, 𝑑)} = min{8.5, 6.5 + 1.5} = 8

s

𝑣 1 𝑣 3

𝑣 2 𝑣 4

3

4

1

4 3

d

[0, --] 1.

[ 3 , s] (^) [ 6. 5 , 2]

[ 4 , s]

[ 8. 5 , 4]

[ 6 , 1]

s

𝑣 1 𝑣 3

𝑣 2 𝑣 4

3

4

1

4 3

d

[0, --] 1.

[ 3 , s] (^) [ 6. 5 , 2]

[ 4 , s]

[ 8. 5 , 4]

[ 6 , 1]

Update the label of vertex 𝑑, and make it permanent, being the only tentative label remaining.

The shortest path from your hometown (s) to the seaside resort in southern Italy (d) is the following:

s – 𝑣 2 – 𝑣 3 – d,

having a total travel time equal to:

4 + 2.5 + 1.5 = 8.

A graphical representation of the shorted path is highlighted in red in the following graph:

s

𝑣 1 𝑣 3

𝑣 2 𝑣 4

3

4

1

4 3

d

[0, --] 1.

[ 3 , s] (^) [ 6. 5 , 2]

[ 4 , s]

[ 8 , 3]

[ 6 , 1]

s

𝑣 1 𝑣 3

𝑣 2 𝑣 4

3

4

1

4 3

d

[0, --] 1.

[ 3 , s] (^) [ 6. 5 , 2]

[ 4 , s]

[ 8 , 3]

[ 6 , 1]

The critical path is START-A-D-F-G-I-FINISH. Consequently, the critical activities are A, D, F, G, and I. The estimated project duration is given by the sum of the estimated duration of all (and only) the critical activities: dA+ dD+ dF+ dG+ dI = 5 + 6 + 3 + 6 + 6 = 26 days.

  1. The critical path is highlighted in red on the following graph.

A^ D

B

E

Start

H

Finish

F

C

G

I