Chapter 15 - Integer Optimization
Chapter 15 - Integer Optimization
Demands for the coming week are 500 12-inch rolls, 715 15-inch
rolls, and 630 30-inch rolls.
The problem is to develop a model that will determine how many
110-inch rolls to cut into each of the six patterns to meet demand
and minimize scrap.
Model development
◦ Xi = number of 110-inch
rolls to cut using pattern i
Xi needs to be a whole
number (general integer
variable) because each
roll that is cut generates a
different number of end
items.
◦ The only constraints are
end-item demand,
nonnegativity, and
integer restrictions.
Workforce scheduling is a practical, yet highly complex,
problem in many businesses such as food service,
hospitals, and airlines.
Typically a huge number of possible schedules exist and
customer demand varies by day of week and time of
day, further complicating the problem of assigning
workers to time slots.
Brewer Services schedules customer
service workers on Monday to Friday, 8
a.m. to 5 p.m.
Staffing requirements are shown in the
table.
5 permanent employees work all day.
Part-time employees work 4-hour shifts.
What is the minimum number of part-time
employees needed to meet staffing
requirements?
Model development
◦ Xi = integer number of part-time workers that start on the ith 4-hour shift
(i = 1 for 8 a.m., …, i = 6 for 1 p.m.)
◦ Constraints: For each hour, we need to ensure that the total number of
part-time employees who work that hour is at least as large as the
minimum requirements.
Net staff
requirements
for each hour
The solution has 9 excess employees at
8 a.m., which may not be desirable.
Most scheduling problems have multiple
optimal solutions.
An easy way to find an alternative
optimal solution is to add an additional
constraint with the objective function
equal to the optimal solution value:
Define a cell for each constraint function (cells B17 and B18)
Location model: find a subset of locations that cover a service area.
Anderson Fire Department serves 7 districts.
The village wants to determine where to locate fire stations so that
response times to residents in all 7 districts is no more than 8
minutes.
Response times:
Model development
Define Xj as binary
Xj = 1 if a fire station is located in district j
Xj = 0 if a fire station is not located in district j
Minimize the number of fire stations:
Each district must be reachable within 8 minutes by some fire
station:
Spreadsheet implementation and Solver model
◦ Construct a matrix by converting all response times that are within 8 minutes to 1s
and those that exceed 8 minutes to 0s. Then the constraint functions for each
district are simply the SUMPRODUCT of the decision variables and the rows of
this matrix
The village’s board of trustees wants to better
understand the trade-offs between response time and
required number of fire stations.
◦ Vary response times from 5 to 10 minutes to see the effect on the
number of fire stations required.
◦ Analytic Solver Parametric Analysis
A response time
of 5 minutes
requires 3 fire
stations.
A response time
of 9-10 minutes
requires 1 fire
station.
A company has numerous potential locations for
distribution centers to ship products to customers.
A single-sourcing policy specifies that each customer
can only be supplied from one distribution center.
The problem is to determine which customers to assign
to each distribution center.
Define Xij = 1 if customer j
is assigned to distribution
center i; Xij = 0 if not
Yi = 1 if distribution center
i is selected as a location;
Yi = 0 if not
Cij = total cost of
satisfying the demand of
customer j from
distribution center i
k = number of distribution
centers to be selected
Distributes restaurant supplies in 5 major cities.
Four possible locations for distribution centers
have been identified.
P&G Foods wants to determine the supply chain
configuration that minimizes sourcing costs.
Model development
◦ Xij = 1 if city j is
assigned to distribution
center i
◦ Yi = 1 if distribution
center i is selected as a
location
◦ k = number of
distribution centers to
be selected
Spreadsheet and Solver model
Many practical applications of optimization involve a combination of
continuous variables and binary variables.
A common example is a plant location and distribution model in
which a company must decide which plant to build (binary variables)
and then how to best ship the product from the plant to the
distribution centers (continuous variables).
◦ E.g.: With increased demand that exceeds capacity at Marietta and
Minneapolis, GAC is considering adding a new plant in either Fayetteville
or Chico
Define a binary variable for the decision of which plant to
build: Y1 = 1 if the Fayetteville plant is built and Y2 = 1 if
the Chico plant is built.
Define normal variables Xij, representing the amount
shipped from plant i to distribution center j.
Objective function:
Capacity constraints
◦ Capacity constraints for the Marietta and Minneapolis plants
remain as before. However, for Fayetteville and Chico, we can
allow shipping from those locations only if a plant is built there.
◦ Note that if the binary variable is zero, then the right-hand side of
the constraint is zero, forcing all shipment variables to be zero
also. If, however, a particular Y-variable is 1, then shipping up to
the plant capacity is allowed.
Demand constraints
Suppose that the company must rent some equipment, which costs
$65 for 3 months. The equipment can be rented or returned each
quarter, so if nothing is produced in a quarter, it makes no sense to
incur the rental cost.
Model development
◦ Define binary variables for each season:
Yi = 1 if production occurs during season i
Yi = 0 if not
Objective function
Material balance constraints