ISE 754 (Fall 2026) 2.7 Discrete Location and MILP
Overview
The lecture explains how mixed-integer linear programming (MILP) converts discrete location and allocation decisions into optimization models, then demonstrates implementation in Julia with JuMP and the open-source HiGHS solver. Examples show MILP's global-optimality guarantees and its ability to add capacity constraints directly, alongside set-covering and bin-packing applications where solver performance and heuristics differ substantially.
Key takeaways
- MILP enforces discrete choices that continuous linear programming cannot represent, and integer restrictions can worsen the best objective value by reducing the feasible region.
- JuMP lets Julia models closely mirror mathematical programs, and HiGHS offers an open-source solver suitable for many practical MILP problems.
- A heuristic can find a useful facility-location solution but does not generally certify global optimality; a completed MILP solve does, while an optimality gap supports stopping early.
- Modeling machine capacity directly reduced the example from 17 machines costing just under $1.8 million to an optimal feasible solution of eight machines costing just under $1.35 million.
- Set covering is often tractable even for thousands of objects because its LP relaxation is close to the integer solution, whereas bin packing can become hard at several hundred objects and is often better served by heuristics.
Chapters
- A continuous linear program can yield fractional decisions, such as 3.5 units, while personnel and facility choices often require discrete or yes/no decisions.
- Restricting the feasible region to integer points changes the example's maximum objective from 31.67 to 30, since added constraints cannot improve a maximization solution.
- The lecture applies MILP to the uncapacitated facility location problem, alongside add-drop and hybrid heuristics introduced earlier.
- Julia's JuMP package expresses variables, objective functions, coverage constraints, and linking constraints in code close to the mathematical formulation.
- The example uses the open-source HiGHS solver, which provides much of the needed MILP functionality without the cost of commercial solvers.
- For five cities along I-40, the model selects sites 1 and 4 for a total cost of 600, matching the earlier heuristic result while certifying global optimality if solved to completion.
- MILP can take exponential time on difficult instances; solvers use optimality gaps to stop when the current solution is sufficiently close to the bound.
- Ignoring capacity produced an infeasible six-machine solution; adding machines by trial and error required 17 machines and cost just under $1.8 million.
- Adding a capacity constraint directly to the MILP model yields a feasible optimum of eight machines, maximum utilization of 85.7%, and a cost just under $1.35 million.
- Heuristics remain useful for problems too large for exact optimization and can provide a warm start or bound to help a MILP solver.
- Set covering chooses the fewest sets that cover every object; in the six-object example, sets M2 and M4 together cover all objects.
- A North Carolina transmitter-location example covers every county with five transmitters, allowing counties to be covered more than once.
- Bin packing minimizes the number of equal-capacity bins needed for a collection of objects, with freight containers and machine allocation as applications.
- Set covering often scales well to thousands of objects because its LP relaxation is close to the integer optimum, while bin packing can become difficult beyond several hundred objects and often relies on heuristics.
Transcript excerpt
0:02 We're going to be looking at the discrete location problem and using mixed integer linear programming, sometimes abbreviated MILP or or pronounced MILP, to solve this problem. In terms of impact, MILP solvers have been able to solve really large problems for decades now. And in terms of impact on industry, you can make an argument that it probably has had the biggest impact on industry uh with respect to any type of IT technology. Even with the current work in the genetic AI, it's only starting to approach the type of superhuman decision-making that's been available via MILP solvers for uh quite a number of decades now.
0:51 The reason is that it allows you to solve very complex problems that have so many interactions that it is literally impossible for a human to really, you know, be able to account for all of the interactions. So, it really is a superhuman type capability provided by this technology. As an example, we're going to start with a very simple linear program. Hopefully everybody has seen a linear program. Here's the way you normally see it. In terms of the model callout formulation, this is in the second rung in terms of how you would present it as a math program where you have an objective function and then constraints. But in terms of our model callout notation, one level above that
1:40 is the concept level where conceptually speaking, this is what a linear program is doing. What is it What's being maximized? What are the constraints? And then what are the assumptions? Notice the one thing not really mentioned in the math programming formulation are the assumptions, which can be in the concept layer. In terms of then solving it, this is a way of visualizing what the problem is.
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Michael G. Kay.