Question: Problem 3 Formulating IP ( 5 0 points ) A . You have n items with sizes A 1 , cdots, A n to be

Problem 3 Formulating IP (50 points)
A. You have n items with sizes A1,cdots,An to be packed into some bins. Each bin has capacity C. Formulate an integer program to find the packing method that uses the least number of bins. (Hint: yj is a binary variable specifying whether bin i is utilized or not, and xij is a binary variable specifying whether item i is packed in bin j). Now consider a real case where you have items with sizes 4,4,5, and 7, and the capacity of each bin is 10. Formulate the IP in that case. Use Gurobi to solve both IP and its LP relaxation. Specify the optimal solution and objective value in both cases. Also, mention the integrality gap.
B. The Government is planning to put bus stops in a city. Let N be the set of candidate stop locations decided by the Govt. agency, and let M be the set of demand points in the city. The matrix A={aij} tells whether the demand point i can be covered by stop j(meaning that aij=1 if passenger at point i can easily walk to stop j). Find the least number of bus stops located in the city so that each demand point is covered.
Problem 3 Formulating IP ( 5 0 points ) A . You

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Civil Engineering Questions!