Question: Problem 3 Formulating IP ( 5 0 points ) A . You have n items with sizes A 1 , cdots, A n to be
Problem Formulating IP points
A You have items with sizes cdots, to be packed into some bins. Each bin has capacity Formulate an integer program to find the packing method that uses the least number of bins. Hint: is a binary variable specifying whether bin is utilized or not, and is a binary variable specifying whether item is packed in bin Now consider a real case where you have items with sizes and and the capacity of each bin is 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 be the set of candidate stop locations decided by the Govt. agency, and let be the set of demand points in the city. The matrix tells whether the demand point i can be covered by stop meaning that if passenger at point i can easily walk to stop Find the least number of bus stops located in the city so that each demand point is covered.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
