Homepage Solution manuals Dimitris Bertsimas Introduction to Linear Optimization Exercise 1.9 (Distance to school and student distribution)

Exercise 1.9 (Distance to school and student distribution)

Consider a school district with I neighborhoods, J schools, and G grades at each school. Each school j has a capacity of Cjg for grade g. In each neighborhood i, the student population of grade i is Sig. Finally, the distance of school j from neighborhood i is dij. Formulate a linear programming problem whose objective is to assign all students to schools, while minimizing the total distance traveled by all students. (You may ignore the fact that numbers of students must be integer.)

Answers

Students are characterised by three degrees of freedom: the neighbourhoods i they come from, the schools j they go to and their grades g. Thus, we denote each student by sijg for 1 i I, 1 j J and 1 g G. Our goal is to minimize the total distance travelled by all students

i=1I j=1J g=1Gs ijg dij

under the condition that each student is assigned to some school

j=1Js ijg = Sigfor i = 1,,I g = 1,,G

and each school can take no more than a certain amount of students to certain grades

i=1Is ijg Cjgfor j = 1,,J g = 1,,G .

This results in the following linear optimization problem:

minimize i=1I j=1J g=1Gsijg dij subject to j=1Jsijg = Sig i = 1,,I g = 1,,G i=1Isijg Cjg j = 1,,Jg = 1,,G sijg 0 i = 1,,I j = 1,,J g = 1,,G.
User profile picture
2022-02-09 22:32
Comments