Save this video free

Math317Fa26 Lec13 IntegerProgramming

Steven Miller · 51:31 · Watch on YouTube

Part of Williams College Math 317. See all 15 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Math317Fa26 Lec13 IntegerProgramming Watch on YouTube →

Overview

Steven Miller introduces integer programming as a way to model decisions that must be discrete, such as whether a plane flies or a worker is scheduled, and shows why its optimization can differ sharply from continuous linear programming. He develops a toolkit for encoding binary indicators, logical conditions, thresholds, minima and maxima, and piecewise-linear behavior, then applies the modeling ideas to path puzzles and Sudoku.

Key takeaways

Chapters

0:00 From Simplex Linear Programming to Discrete Decisions
2:00 Airline Flights, Movie Schedules, and Worker Constraints
5:30 Knapsack: Why the Integer Optimum Can Be Far Lower
12:00 Bounded Discrete Quantities and Binary Indicators
16:00 Encoding Sign Tests with Big-M Constraints
25:00 Exclusive OR, Inclusive OR, and Outcome Logic
32:00 If-Then Rules and Threshold-Based Truncation
36:00 Modeling Minima, Maxima, Absolute Values, and Piecewise Functions
43:00 Turning a Connect-the-Dots Grid into an Integer Program
49:00 A Powers-of-Ten Trick for Sudoku Constraints

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 Welcome to math 317 operations research. And what I want to do today is talk a little bit about what can be done with linear programming. How many of you have taken a almost a good stats class? I'll just say a stats class that included the method of least squares or best fit lines. I took mine from a psychology department, so I'm never sure what content we actually covered. It's one of my favorite results of all time. But if you want to use the, you know, if you want to find the best fit line, your data should be linear. Most relationships aren't linear, but with a logarithmic change of variables, a lot of times nonlinear data can become linear. So what we're going to do right

0:47 now is we're solving linear programming problems. We did the simplex method which said if we had real input and you we had you know real variables we can find a solution. We have not analyzed because this is just a first class how quickly we can find a solutions. The simplex method for the most part runs very quickly. We have not done that but I've shown you some other algorithms that initially look like they could be slow. The uklitian algorithm looks like you go down only by one worst case scenario every single time. If your number is of size 10 to the 400, that's terrible. But the worst case scenario can't happen every single time. In the Ukidian algorithm, every two iterations, you drop by at least a factor of two. That means it runs in logarithmic time. It's efficient. We can use it. I'm just using that as a

1:35 hope and a prayer that you will accept that the simplex method runs quickly without doing all those calculations. We

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, Steven Miller.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.