05. Integer Programming Problem
05. Integer Programming Problem
Integer Programming
Sessions 9 - 10
1
21-01-2025
Types of IPPs
2
21-01-2025
3
21-01-2025
Example 1
Example 1 contd…
Subject to
2𝑥1 + 4𝑥2 ≤ 17
3𝑥1 + 3𝑥2 ≤ 15
𝑥1 , 𝑥2 ≥ 0 and integer
4
21-01-2025
Zero-One Model
A special type of integer programming problem is a case
where the values of the decision variables are limited to two
logical variables, like yes or no, match or no match and so on,
which are symbolized by the values of 0 and 1. An IPP where
all the variables much equal zero or one is called a 0-1
integer programming problem.
Examples of 0-1 IPPs
The Assignment Problem
The Knapsack problem
Capital budgeting/ investment problem
The fixed charge problem
The facility location problem
5
21-01-2025
Objective function:
Minimize Z = 4𝑥11 + 7𝑥12 + 8𝑥13 + 6𝑥21 + 5𝑥22 + 10𝑥23 + 7𝑥31 + 7𝑥32 + 9𝑥33
Subject to:
6
21-01-2025
Weight (Tons) 3 5 6 4
Subject to:
𝑥𝑖 = 0,1 (𝑖 = 1,2,3,4)
7
21-01-2025
8
21-01-2025
Objective function:
Subject to:
𝑥3 - 𝑥5 = 0
𝑥3 + 𝑥4 = 1
−𝑥1 + 𝑥4 ≤ 0
𝑥4 -𝑥6 ≤ 0
𝑥𝑖 𝑖 = 1,2,3,4,5,6 = 0, 1
9
21-01-2025
Example: Three machines are available to make 5,000 units which are
required for the internal use of a company as components to another
product. If the production is to be done by any one of these machines, a
set-up cost is incurred apart from the cost of making each unit on different
machines. The cost data are as follows:
Subject to:
𝑥1 +𝑥2 + 𝑥3 ≥ 5000
𝑥1 ≤ 4000𝑑1
𝑥2 ≤ 3000𝑑2
𝑥3 ≤ 1000𝑑3
10
21-01-2025
Supply Region N. America S. America Europe Asia Africa Cost $ Capacity Cost $ Capacity
N. America 81 92 101 130 115 6000 10 9000 20
S. America 117 77 108 98 100 4500 10 6750 20
Europe 102 105 95 119 111 6500 10 9750 20
Asia 115 125 90 59 74 4100 10 6150 20
Africa 142 100 103 105 71 4000 10 6000 20
Demand 12 8 14 16 7
Inputs required
n = Number of potential plant location/ capacity
m = Number of markets or demand points
Dj = Annual Demand from Market j
Ki = Potential capacity of plant i
fi = Annualized fixed cost of keeping factory i open
cij = Cost of producing and shipping one unit from factory i to market j
11
21-01-2025
Decision variables
yi = 1 if plant i is open, 0 otherwise
xij = Quantity shipped from factory i to market j
The problem can be formulated as an integer programming
problem
Subject to
Solution
SunOil Company
12