Exam #1 With Key PDF
Exam #1 With Key PDF
IE 220
Mid-Term Exam 1
1. (17 points) A cargo plane has three compartments for storing cargo: front, center and back.
These compartments have capacity limits on both the weight and space, as summarized below:
m
er as
Center 18 9000
co
Back 10 5000
eH w
o.
Furthermore, the weight of the cargo in the respective compartments must be the same propor-
rs e
tion of that compartment’s weight capacity to maintain balance of the airplane. This means
ou urc
that if the front is filled up to 50% of its weight capacity, then all the other compartments
must be filled up to 50% of their weight capacity.
The following four cargoes have been offered for shipment on an upcoming flight as space is
o
available:
aC s
vi y re
3 25 600 360
ar stu
4 13 400 290
Any portion of these cargoes can be accepted, but for environmental reasons, the captain
sh is
refuses to fly the plane if the cargo is less then 20 tons. The objective is to determine
how much (if any) of each cargo should be accepted and how to distribute each among the
Th
(a) (6 points) Formulate this problem as a linear programming model. Be sure to include all
necessary constraints. You do not need to convert to standard form (maximization prob-
lem, only ≤ constraints, etc.). (Hint: Your decision variables could be x1F , x2F , . . . , x4B .)
The decision variables x1F , x2F , . . . , x4B will denote the weight of each cargo in each
compartment. We maximize the total profit:
max 320(x1F +x1C +x1B )+400(x2F +x2C +x2B )+360(x3F +x3C +x3B ))+290(x4F +x4C +x4B )
https://www.coursehero.com/file/9078656/Exam-1-with-Key/
2
m
x2F + x2C + x2B ≤ 16
er as
x3F + x3C + x3B ≤ 25
co
eH w
x4F + x4C + x4B ≤ 13
o.
The weight/capacity ratio must be the same for all compartments:
rs e
(x1F + x2F + x3F + x4F )/12 = (x1C + x2C + x3C + x4C )/18
ou urc
(x1F + x2F + x3F + x4F )/12 = (x1B + x2B + x3B + x4B )/10
These two actually guarantee that the ratios are the same.
o
(b) (2 points) Explain in one or two sentences why it may be difficult to find a starting
ar stu
tional values. Do you think this is a reasonable assumption for this model? Explain in
Th
https://www.coursehero.com/file/9078656/Exam-1-with-Key/
3
m
er as
500x1B + 700x2B + 600x3B + 400x4B + x6 = 5000
co
x1F + x1C + x1B + x7 = 20
eH w
x2F + x2C + x2B + x8 = 16
o.
x3F + x3C + x3B + x9 = 25
rs e
ou urc
x4F + x4C + x4B + x10 = 13
The two equalities get an artificial variable (penalty terms appear in the objective):
o
(x1F + x2F + x3F + x4F )/12 − (x1C + x2C + x3C + x4C )/18 + x̄11 = 0
aC s
vi y re
(x1F + x2F + x3F + x4F )/12 − (x1B + x2B + x3B + x4B )/10 + x̄12 = 0
The inequality gets a surplus and an artificial variable (one more penalty term in the
objective):
ed d
https://www.coursehero.com/file/9078656/Exam-1-with-Key/
4
maximize Z = x1 + x2
subject to −x1 + 2x2 ≤ 4
−2x1 + 2x2 ≥ −2
2x1 ≤ 4
x1 , x2 ≥ 0
(a) (3 points) Graph the constraints and shade the feasible region. Draw an objective func-
tion line through the optimal solution.
x2
m
2x1 ≤ 4
er as
5
−x1 + 2x2 ≤ 4
co
eH w
4
o.
rs e
ou urc
3 −2x1 + 2x2 ≥ −2
o
2
aC s
vi y re
max x1 + x2
1
ed d
x1
ar stu
1 2 3 4 5
sh is
Th
(b) (3 points) Suppose that the basic variables in a given basic solution are x1 , x3 , and x5 ,
where x3 is the slack variable for the first constraint and x5 is the slack variable for
the third constraint. Draw a box () in your graph around the corner-point feasible
solution corresponding to this basic solution and explain briefly how you determined the
corner-point solution.
If x1 , x3 , x5 are basic solutions, then x2 is nonbasic, implying x2 = 0. Further, x3 and x5
are positive, which means that the point is not on the constraint boundaries of the first
and third constraints. This leaves (1, 0).
https://www.coursehero.com/file/9078656/Exam-1-with-Key/
5
3. (4 points) Suppose that after solving Phase 1 of an LP problem, the simplex tableau looks
like this (x̄5 is an artificial variable):
What does this tell us about the original problem? How do we start Phase 2?
m
This tableau is optimal, but the artificial variable is still basic, and the objective value is
er as
positive, not 0. This means that the original problem must be infeasible. We can not start
co
Phase 2.
eH w
4. (6 points) Perform one iteration of the simplex method starting with the following tableau:
o.
rs e
ou urc
Basic Coefficient of: Right
Variable Eq. Z x1 x2 x3 x4 x5 Side
−2 0 −1
o
Z (0) 1 0 0 1
aC s
x3 (1) 0 4 0 1 0 0 8
vi y re
x2 (2) 0 2 1 0 1 0 3
x5 (3) 0 2 0 0 −2 4 2
Z (0) 1 0 0 0 −3 4 3
ed d
x3 (1) 0 0 0 1 4 −8 4
ar stu
x2 (2) 0 0 1 0 3 −4 1
x1 (3) 0 1 0 0 −1 2 1
sh is
Write down the solution after the simplex step, decide if it is optimal.
Th
https://www.coursehero.com/file/9078656/Exam-1-with-Key/
6
For questions (c-h) below, indicate which of the following you can say are true for sure. List
all items that are applicable.
m
er as
1. The current solution is feasible.
co
eH w
2. The current solution is infeasible.
o.
3. The current solution is optimal.
rs e
4. The current solution is not optimal.
ou urc
5. The problem is infeasible.
6. The problem is unbounded.
o
(a) (2 points) What is the current solution and its objective value?
ed d
(x1 , x2 , x3 , x4 , x5 , x6 ) = (12 , 6 , 1 , 0 , 0 , 3 )
ar stu
Z=5
sh is
Entering: x4
Leaving: x6
(c) (2 points) Which statements are definitely true for the simplex tableau given above?
1,4
https://www.coursehero.com/file/9078656/Exam-1-with-Key/
7
(d) (2 points) Which statements are definitely true if you change the entry marked with a [
to −6?
2,4,9
(e) (2 points) Which statements are definitely true if you change the entry marked with a ]
to 1?
1,3
m
er as
co
eH w
o.
(f) (2 points) Which statements are definitely true if you change the entry marked with a \
to −4?
rs e
ou urc
1,4,6
o
aC s
vi y re
(g) (2 points) Which statements are definitely true if you change the entry marked with a ]
to 0?
ed d
1,3,7
ar stu
sh is
Th
(h) (2 points) Which statements are definitely true if you change the entry marked with a [
to 6?
1,4,8
6. (1 point) 2 + 2 = 4
https://www.coursehero.com/file/9078656/Exam-1-with-Key/