SCM518 2024 Week5 IntegerProgramming (1)
SCM518 2024 Week5 IntegerProgramming (1)
Integer Programming
Yimin Wang
Refresh of last session
Inputs:
: index to represent different investment options
Decisions:
: Whether to invest in investment
Objective:
[maximize total NPV]
Constraints:
[total investment cannot exceed budget]
[binary investment decision]
Implementation
Excel illustration.
Reflections on capital budgeting problem
What if at most two projects can be
selected?
https://www.gurobi.com/lp/academics
/burrito-optimization-game/
Textile manufacturing process:
https://www.youtube.com/watch?v=YYWle
vX7Kw0
Textile Manufacturing at Great Threads
Inputs:
: index to represent different products
Decisions:
: Whether to produce product
: How many to produce product
Objective:
[maximize total profit]
Constraints:
[total labor hours cannot exceed available]
Excel illustration.
Reflections on fixed cost manufacturing
problem
Key takeaway: incorporate all or nothing
fixed cost into the model through
constrained integer variables
The Set-Covering Problem
Each member of a given set must be
covered by an acceptable member from
another set
Inputs:
: index to represent different cities
Decisions:
: Whether set city
Objective:
[minimize total number of hubs]
Constraints:
[each city must be covered]
Python illustration:
https://colab.research.google.com/drive/1UI7
261eRy_GCJqD-drWkrzH9vF2An_I5?usp=shar
ing
Reflections on set covering problem
Inputs:
: index of cities
Decisions:
: Whether to setup a service center at city
: Whether to assign city to service center
Objective:
[minimize total trip distances]
Model Setup (continued)
Constraints:
[total number of service centers cannot exceed 3]
[each city must be covered]
Excel illustration.
Reflections on facility location problem
Inputs:
: index of cities
Model Setup (continued)
Decisions:
: Whether to operate a plant in city
: Whether to ship from plant to customer
Constraints:
[shipment cannot exceed plant capacity – if exist]
Excel illustration.
Reflections on production and transportation
problem
Needs to determine both production and
transportation