- #1
I Like Pi
- 91
- 0
Homework Statement
Not sure if this type of math goes in this section, but I have a quick question regarding a MIP problem. It's simple to grasp, but I'm not sure whether or not I am formulating this problem correctly.
A city needs to hire workers to clean the snow. The city is divided into j areas, which require a certain number of trucks, nj, within area j. The workers are required to place a tender at the beginning of the ear, which includes the price per truck and the number of trucks they can supply. We must formulate a model where i workers are tendered, ti is the trucks available from worker i, cij is the price per truck per area j, and mj is the minimum number of workers for area j. And the workers can't supply more trucks than are necessary for their areas
Homework Equations
The Attempt at a Solution
Let xij = number of trucks supplied by contractor i to area j
Let yij = 1 if worker i supplies in trucks in area j, 0 if worker i does not supply trucks in area j
I want to minimize Z = [itex]\sum[/itex]cijxij
My constraints are:
[itex]\sum[/itex]xij ≤ tiyi (i'm not sure about the yi part)
[itex]\sum[/itex]xij = nj
[itex]\sum[/itex]yij ≥ mj
Last edited: