Integer Linear Programming
Integer Linear Programming
MULTIPLE CHOICE
6. The graph of a problem that requires x1 and x2 to be integer has a feasible region
a. the same as its LP relaxation.
b. of dots.
c. of horizontal stripes.
d. of vertical stripes.
ANS: B PTS: 1 TOP: Graphical solution
9. Let x1 and x2 be 0-1 variables whose values indicate whether projects 1 and 2 are not done or are done.
Which answer below indicates that project 2 can be done only if project 1 is done?
a. x1 + x2 = 1
b. x1 + x2 = 2
c. x1 x2 0
d. x1 x2 0
10. Let x1 , x2 , and x3 be 0-1 variables whose values indicate whether the projects are not done (0) or are
done (1). Which answer below indicates that at least two of the projects must be done?
a. x1 + x2 + x3 2
b. x1 + x2 + x3 2
c. x1 + x2 + x3 = 2
d. x1 x2 = 0
11. If the acceptance of project A is conditional on the acceptance of project B, and vice versa, the
appropriate constraint to use is a
a. multiple-choice constraint.
b. k out of n alternatives constraint.
c. mutually exclusive constraint.
d. corequisite constraint.
ANS: D PTS: 1
TOP: Modeling flexibility provided by 0-1 integer variables
TRUE/FALSE
1. The LP Relaxation contains the objective function and constraints of the IP problem, but drops all
integer restrictions.
2. In general, rounding large values of decision variables to the nearest integer value causes fewer
problems than rounding small values.
3. The solution to the LP Relaxation of a minimization problem will always be less than or equal to the
value of the integer program minimization problem.
4. If the optimal solution to the LP relaxation problem is integer, it is the optimal solution to the integer
linear program.
5. Slack and surplus variables are not useful in integer linear programs.
7. In a model involving fixed costs, the 0-1 variable guarantees that the capacity is not available unless
the cost has been incurred.
9. The constraint x1 + x2 + x3 + x4 2 means that two out of the first four projects must be selected.
10. The constraint x1 x2 = 0 implies that if project 1 is selected, project 2 cannot be.
11. The product design and market share optimization problem presented in the textbook is formulated as
a 0-1 integer linear programming model.
ANS: T PTS: 1
TOP: Product design and market share optimization problem
12. The objective of the product design and market share optimization problem presented in the textbook
is to choose the levels of each product attribute that will maximize the number of sampled customers
preferring the brand in question.
ANS: T PTS: 1
TOP: Product design and market share optimization problem
13. If a problem has only less-than-or-equal-to constraints with positive coefficients for the variables,
rounding down will always provide a feasible integer solution.
14. Dual prices cannot be used for integer programming sensitivity analysis because they are designed for
linear programs.
15. Some linear programming problems have a special structure which guarantees that the variables will
have integer values.
SHORT ANSWER
1. The use of integer variables creates additional restrictions but provides additional flexibility. Explain.
ANS:
Answer not provided.
ANS:
Answer not provided.
3. Give a verbal interpretation of each of these constraints in the context of a capital budgeting problem.
a. x1 x2 0
b. x1 x2 = 0
c. x1 + x2 + x3 2
ANS:
Answer not provided.
4. Explain how integer and 0-1 variables can be used in an objective function to minimize the sum of
fixed and variable costs for production on two machines.
ANS:
Answer not provided.
5. Explain how integer and 0-1 variables can be used in a constraint to enable production.
ANS:
Answer not provided.
PROBLEM
Max 5X + 6Y
a. Graph the constraints for this problem. Indicate all feasible solutions.
b. Find the optimal solution to the LP Relaxation. Round down to find a feasible integer
solution. Is this solution optimal?
c. Find the optimal solution.
ANS:
a. The feasible region is those integer values in the space labeled feasible region.
b. Optimal LP relaxed occurs at X = 5.818, Y = 4.636, with Z = 56.909. Rounded down
solution occurs at X = 5, Y = 4, Z= 49.
Max X + 2Y
s.t. 6X + 8Y 48
7X + 5Y 35
X, Y 0
Y integer
a. Graph the constraints for this problem. Indicate all feasible solutions.
b. Find the optimal solution to the LP Relaxation. Round down to find a feasible integer
solution. Is this solution optimal?
c. Find the optimal solution.
ANS:
a. The feasible region consists of the portions of the horizontal lines that lie within the area
labeled
F. R.
b. The optimal relaxed solution is at X = 1.538, Y = 4.846 where Z = 11.231. The rounded
solution is X = 1.538, Y = 4.
Min 6X + 11Y
s.t. 9X + 3Y 27
7X + 6Y 42
4X + 8Y 32
X, Y 0 and integer
a. Graph the constraints for this problem. Indicate all feasible solutions.
b. Find the optimal solution to the LP Relaxation. Round up to find a feasible integer solution.
Is this solution optimal?
c. Find the optimal solution.
ANS:
a. The feasible region is the set of integer points in the area labeled feasible region.
b. The optimal relaxed solution is at X = 4.5, Y = 1.75, and Z = 46.25.
The rounded solution is X = 5, Y = 2.
4. Consider a capital budgeting example with five projects from which to select. Let x i = 1 if project i is
selected, 0 if not, for i = 1,...,5. Write the appropriate constraint(s) for each condition. Conditions are
independent.
ANS:
a. x1 + x2 + x3 + x4 + x5 3
b. x3 x4 0
c. x1 + x5 1
d. 100x1 + 200x2 + 150x3 + 75x4 + 300x5 450
e. x1 + x2 + x3 2
5. Grush Consulting has five projects to consider. Each will require time in the next two quarters
according to the table below.
Revenue from each project is also shown. Develop a model whose solution would maximize revenue,
meet the time budget of 25 in the first quarter and 20 in the second quarter, and not do both projects C
and D.
ANS:
s.t. 5A + 3B + 7C + 2D + 15E 25
8A + 12B + 5C + 3D + 1E 20
C+D 1
6. The Westfall Company has a contract to produce 10,000 garden hoses for a large discount chain.
Westfall has four different machines that can produce this kind of hose. Because these machines are
from different manufacturers and use differing technologies, their specifications are not the same.
a. This problem requires two different kinds of decision variables. Clearly define each kind.
b. The company wants to minimize total cost. Give the objective function.
c. Give the constraints for the problem.
d. Write a constraint to ensure that if machine 4 is used, machine 1 cannot be.
ANS:
c. P1 6000U1
P2 7500U2
P3 4000U3
P4 5000U4
P1 + P2 + P3 + P4 10000
c. U1 + U4 1
Develop a model whose solution would reveal which plants to build and the optimal shipping
schedule.
ANS:
Min 350000B3 + 200000B4 + 480000B5 + 5P11 + 7P12 + 8P13 + 10P21 + 8P22 + 6P23
+ 9P31 + 4P32 + 3P33 + 12P41 + 6P42 + 2P43 + 4P51 + 10P52 + 11P53
8. Simplon Manufacturing must decide on the processes to use to produce 1650 units. If machine 1 is
used, its production will be between 300 and 1500 units. Machine 2 and/or machine 3 can be used only
if machine 1's production is at least 1000 units. Machine 4 can be used with no restrictions.
(HINT: Use an additional 0-1 variable to indicate when machines 2 and 3 can be used.)
ANS:
Let Ui = the number of units made by machine i
Si = 1 if machine i is used (requiring a set-up), = 0 otherwise
K = 1 if machine 1 produces at least 1000 units, = 0 otherwise
s.t. U1 300S1
U1 1500S1
U1 1000K
S2 K
S3 K
U 2 500S2
U2 1200S2
U3 100S3
U3 800S 3
U4 1650S4
U1 + U2 + U3 + U4 = 1650
9. Your express package courier company is drawing up new zones for the location of drop boxes for
customers. The city has been divided into the seven zones shown below. You have targeted six possible
locations for drop boxes. The list of which drop boxes could be reached easily from each zone is listed
below.
Let xi = 1 if drop box location i is used, 0 otherwise. Develop a model to provide the smallest number
of locations yet make sure that each zone is covered by at least two boxes.
ANS:
Min xi
s.t. x1 + x2 + x5 + x6 2
x2 + x4 + x5 2
x1 + x2 + x4 + x6 2
x3 + x4 + x5 2
x1 + x 2 + x5 2
x3 + x4 2
x1 + x2 + x6 2
a. Give a general definition of the variables necessary in this problem so that each activity can
be considered for inclusion in the day's schedule.
b. The popularity ratings are defined so that 1 is the most popular. If the objective is to keep
the campers happy, what should the objective function be?
ANS:
11. Tower Engineering Corporation is considering undertaking several proposed projects for the next fiscal
year. The projects, the number of engineers and the number of support personnel required for each
project, and the expected profits for each project are summarized in the following table:
Project
1 2 3 4 5 6
Engineers Required 20 55 47 38 90 63
Support Personnel Required 15 45 50 40 70 70
Profit ($1,000,000s) 1.0 1.8 2.0 1.5 3.6 2.2
Formulate an integer program that maximizes Tower's profit subject to the following management
constraints:
ANS: