0% found this document useful (0 votes)
116 views7 pages

Exam #1 With Key PDF

The document describes a linear programming problem to optimize cargo distribution on a cargo plane. The objective is to maximize total profit by determining how much of each available cargo to place in the plane's three compartments (front, center, back) while satisfying capacity constraints. The constraints include maximum weight and space limits for each compartment, maintaining balanced weight distribution, and a minimum total cargo weight of 20 tons. The problem is formulated as a linear program with decision variables for the weight of each cargo placed in each compartment.

Uploaded by

m3gp13 yo
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)
116 views7 pages

Exam #1 With Key PDF

The document describes a linear programming problem to optimize cargo distribution on a cargo plane. The objective is to maximize total profit by determining how much of each available cargo to place in the plane's three compartments (front, center, back) while satisfying capacity constraints. The constraints include maximum weight and space limits for each compartment, maintaining balanced weight distribution, and a minimum total cargo weight of 20 tons. The problem is formulated as a linear program with decision variables for the weight of each cargo placed in each compartment.

Uploaded by

m3gp13 yo
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/ 7

1

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:

Compartment Weight Capacity (Tons) Space Capacity (Cubic Feet)


Front 12 7000

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

Cargo Weight (Tons) Volume (Cubic Feet/Ton) Profit ($/Ton)


1 20 500 320
2 16 700 400
ed d

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

compartments to maximize the total profit for the flight.

(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

The weight in each compartment must be less than the capacity:


x1F + x2F + x3F + x4F ≤ 12
x1C + x2C + x3C + x4C ≤ 18
x1B + x2B + x3B + x4B ≤ 10
The volume in each compartment must be less than the capacity:
500x1F + 700x2F + 600x3F + 400x4F ≤ 7000
500x1C + 700x2C + 600x3C + 400x4C ≤ 9000
500x1B + 700x2B + 600x3B + 400x4B ≤ 5000
The weight of each cargo type can not be more than what is to be shipped:
x1F + x1C + x1B ≤ 20

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

The total weight must be at least 20 tons:


aC s
vi y re

x1F + x2F + · · · + x4B ≥ 20


Finally, the decision variables must be nonnegative:
x1F , x2F , . . . , x4B ≥ 0
ed d

(b) (2 points) Explain in one or two sentences why it may be difficult to find a starting
ar stu

feasible solution for this LP.


Due to the minimum weight constraint, the origin is not a feasible solution.
(c) (2 points) Recall that the divisibility assumption states that the variables may take frac-
sh is

tional values. Do you think this is a reasonable assumption for this model? Explain in
Th

a few sentences why or why not.


It depends on the type of cargo that’s to be shipped, but as they always come in some sort
of packaging, there must be an indivisible unit. If they are too large (i.e., cars, containers,
etc.), then divisibility is violated. As long as the units are small, the LP model is fine.
(d) (2 points) Recall that the certainty assumption states that the value assigned to each
parameter is a known constant. Do you think that this is a reasonable assumption for
this model? Explain in a few sentences why or why not.
For the weights, volumes and capacities the certainty assumption holds. The profit is
slightly different, since it will depend on fuel consumption, which is not known exactly
in advance. However, as the variances are usually not large, the certainty assumption is
reasonable.

https://www.coursehero.com/file/9078656/Exam-1-with-Key/
3

(e) (5 points) Convert your LP from part (a) to augmented form:


• Maximization problem
• Only equality constraints
• Only non-negative variables
Penalize the artificial variables (if there are any) in the objective function using “big-M s.”
Every ≤ constraints gets a slack-variable:

x1F + x2F + x3F + x4F + x1 = 12


x1C + x2C + x3C + x4C + x2 = 18
x1B + x2B + x3B + x4B + x3 = 10
500x1F + 700x2F + 600x3F + 400x4F + x4 = 7000
500x1C + 700x2C + 600x3C + 400x4C + x5 = 9000

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

x1F + x2F + · · · + x4B − x13 + x̄14 = 20


ar stu

Nonnegativity is extended to the new variables:

x1F , x2F , . . . , x4B , x1 , . . . , x14 ≥ 0


sh is
Th

The new objective function is:


max 320(x1F + x1C + x1B ) + 400(x2F + x2C + x2B ) + 360(x3F + x3C + x3B )) + 290(x4F + x4C + x4B ) − M x̄11 − M x̄12 − M x̄14

https://www.coursehero.com/file/9078656/Exam-1-with-Key/
4

2. (6 points) Consider the following LP:

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):

Basic Coefficient of: Right


Variable Eq. Z x1 x2 x3 x4 x̄5 Side
Z (0) 1 1 0 0 1 0 1
x3 (1) 0 4 0 1 0 0 7
x2 (2) 0 2 1 0 1 0 3
x̄5 (3) 0 1 0 0 0 1 1

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

(x1 , x2 , x3 , x4 , x5 ) = (1, 1, 4, 0, 0), not optimal

https://www.coursehero.com/file/9078656/Exam-1-with-Key/
6

5. (16 points) Consider the following simplex tableau:

Basic Coefficient of: Right


Variable Eq. Z x1 x2 x3 x4 x5 x6 Side
Z (0) 1 0 0 0 −2] 1\ 0 5
x2 (1) 0 0 1 0 3 −2 0 6
x3 (2) 0 0 0 1 −1 0 0 1
x1 (3) 0 1 0 0 0 −2 0 12
x6 (4) 0 0 0 0 3 −1 1 3[

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

7. The problem has multiple optimal solutions.


aC s
vi y re

8. The problem is degenerate.


9. A mistake has been made in the simplex calculations.

(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

(b) (2 points) What are the entering and leaving variables?


Th

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/

Powered by TCPDF (www.tcpdf.org)

You might also like