School Transportation Budgets

Binary decision variables are like a light switch! The lightbulb is turned on when the value equals 1. Conversely, when the value equals 0, the lightbulb is turned off. When their conditions are met, binary decision variables turn “on,” and they can not only control lights but also other mechanisms in the model. However, when their conditions are not met, they are turned off, and they don’t directly impact the model — there’s only darkness.
Essentially, constraint (1d) sets the maximum number of buses required equal to the maximum number of routes in operation during the same time interval. In this example, three buses are assigned to three routes. Each bus can only travel that specific route. In other words, we want at least one bus to be assigned to one route.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tyler Perini

Tyler Perini

I am a Postdoctoral Researcher at Rice Uni interested in how mathematics — operations research, data analytics, and much more — can be used for social good.