Ise 426 HW 01
Ise 426 HW 01
Total 75 points
1. (10 points) Box Allocation Problem: In class, we discussed the optimization problem of locating
boxes of given height into two bins such that the bin with the maximum height has the minimum possible
height, and derived a mathematical formulation for it. Write a Mathematical Programming formulation
(Decision Variables, Contraints, Objective) for this problem in the case that instead of two (2) bins, there
are three (3) bins (or in the more general case of m bins and n boxes with heights hi , i = 1, . . . , n, if you
prefer).
2. (10 points) Linear programming formulation: As a weapon shop owner in a video game, you
produce and sell weapons to knights. The following table summarizes the sales profit, the quantities of
the basic ingredients (iron and wood) for the production of swords and atgeirs (mail-piercer), and the
required processing time.
Weapon Profit (crowns) Iron needed (kg) Wood needed (kg) Time (minutes)
Sword 10 1.00 0.30 30
Atgeir 8 1.40 0.64 25
The weapon shop has 40 kg of iron and 30 kg of wood. The workforce is available for no more than 24
hours in total.
Formulate a Linear Program to decide the quantity of swords and atgeirs to be produced in order to
maximize the overall profit. Assume that fractions of swords and atgeirs can be produced (i.e., no need
for integer variables). In particular state the problem’s:
Formulate the this problem as a linear programming (LP) optimization problem. In particular, clearly
state the decision variables, objective, and constraints for the problem.
3. (20 points) LP Graphical Method: Consider the two-variable Linear Program below:
s.t. x1 + 2x2 ≥ 10
2x1 − 3x2 ≤ 6
x1 + x2 ≥ 6
x1 ≥ 0, x2 ≥ 0
(a) (10 points) Use the graphical method to solve the Linear Program (provide optimal solution and
optimal value of the problem)
(b) (3 points) To what class does this Linear Program belongs (feasible or infeasible?, bounded or
unbounded?, unique or multiple optimal solutions?)
(c) (3 points) Suppose that you are allowed to change (only) the objective coefficient of x1 (15 in the
original problem) in the Linear Program. What value of the objective coefficient of x1 would lead
to a problem that is unbounded (unbounded objective)?
1
(d) (4 points) What would be the optimal solution of the Linear Program if suddenly we are told that
the second constraint of the Linear Program must be satisfied with equality, instead of inequality;
namely, instead of 2x1 − 3x2 ≤ 6 we have 2x1 − 3x2 = 6.
4. (10 points) Graphical method for Linear Programming: Suppose that the following constraints
have been provided for a linear programming model.
−x1 + 2x2 ≤ 50
−2x1 + x2 ≤ 50
x1 ≥ 0, x2 ≥ 0
5. (10 points) Linear Programming Formulation. A contractor has been hired to build a house. His
first job is to schedule the different jobs that are needed to complete the house. For that purpose, the
contractor has constructed the following table:
The purpose of the contractor is to schedule the jobs such that the house can be sell as soon as possible
while satisfying all the preceding constraints; for example, to do the Electrical job, the Roofing and the
Windows must have been completed.
(a) (7 points) Write a Linear Programming formulation to help the contractor come up with the best
job scheduling. In particular, determine:
• Decision Variables
• Objective
• Constraints
(b) (3 points) Assume that part of the crew that is responsible for the Electrical job can be assigned to
help in the Inside Finish job. Specifically, and for simplicity, assume that the time to complete the
Inside Finish job can be reduce by a time t of up to 1 week, but as a result, the Electrical job would
take 1.2t more to complete. How would this possibility change your formulation on the problem in
the previous question? Feel free to state only the parts of the Linear Programming formulation that
actually change.
2
6. (10 points) Large-scale LP formulation: Suppose a production manager is responsible for scheduling
the monthly production levels of a certain product for a planning horizon of twelve (12) months. For
planning purposes, the manager was given the following information:
The manager’s task is to generate a production schedule that minimizes the total production and inventory-
holding costs over this twelve-month planning horizon. Formulate a Linear Program for this purpose
(a) (3 points) Define the problem’s Decision Variables for the problem.
(b) (2 points) Define the problem’s Objective in terms of the decision variables.
(c) (5 points) Define the problem’s Constraints in terms of the decision variables.
7. (5 points) Linear Programming formulation: Consider the Orange Co. problem discussed in class.
On that problem, it was assumed that no loss of was incurred when mixing the raw materials (A and
B oranges juice) into the final products (Premium and Regular juice). Now assume that in the mixing
process of the raw materials there is a loss of 2% of the raw meterials when producing any of the final
producst (e.g., because of spills). How would this fact change the Linear Programming formulation on the
problem Orange Co. problem? Feel free to state only the parts of the Linear Programming formulation
that actually change.
3
Further Practice Problems
(you DO NOT need to include the solution of these problems, but I recommend you to work on
them in preparation for your midterm. Solutions to some of these problems will be provided
with the HW solutions)
2. (20 points) LP Graphical Method: Consider the two-variable Linear Program below:
max 2x1 + x2
s.t. x2 ≤ 10
2x1 + 5x2 ≤ 60
x1 + x2 ≤ 18
3x1 + x2 ≤ 44
x1 ≥ 0, x2 ≥ 0
(a) (12 points) Use the graphical method to solve the Linear Program (provide graphical representation
of the problem’s feasible region, optimal solution, and optimal value)
(b) (2 points) To what class does this Linear Program belongs?
(c) (3 points) Suppose that you are allowed to change (only) the objective coefficient of x2 (1 in the
original problem) in the Linear Program. What value of the objective coefficient of x2 would lead
to a problem with multiple optimal solutions?
(d) (3 points) What would be the optimal solution of the Linear Program if suddenly we are told that
it is not necessary to satisfy the second constraint of the problem; namely, x1 + x2 ≤ 18.
3. (20 points) LP Graphical Method: Consider the two-variable Linear Program below:
s.t. x1 + 2x2 ≥ 10
2x1 − 3x2 ≤ 6
x1 + x2 ≥ 6
x1 ≥ 0, x2 ≥ 0
(a) (12 points) Use the graphical method to solve the Linear Program (provide optimal solution and
optimal value of the problem)
(b) (2 points) To what class does this Linear Program belongs?
(c) (3 points) Suppose that you are allowed to change (only) the objective coefficient of x1 (15 in the
original problem) in the Linear Program. What value of the objective coefficient of x1 would lead
to a problem that is unbounded (unbounded objective)?
(d) (3 points) What would be the optimal solution of the Linear Program if suddenly we are told that
the second constraint of the Linear Program must be satisfied with equality, instead of inequality;
namely, instead of 2x1 − 3x2 ≤ 6 we have 2x1 − 3x2 = 6.