Machine-translated by Google. Questions are authored in English.
Top

Discussion

Let us consider the full Coca-Cola bottles, 7 half-full and 7 empty. You want to divide the 21 bottles among three persons so that each will receive exactly 7. Moreover, each person must receive the same quantity of Coca-Cola. Solve the problem using Integer Linear programming and find a solution. What will be the objective function ?

  • A.There will be a dummy objective function with all zero coefficients. Status - Number of bottles assigned to person 1, 2, 3: Full 1, 3, 3; Half-full 5, 1, 1; Empty 1, 3, 3
  • B.Objective function will be maximize the total quantity of Coca-Cola distribution. Status - Number of bottles assigned to person 1, 2, 3: Full 3, 1, 2; Half-full 2, 1, 3; Empty 2, 5, 1
  • C.Objective function will be minimize the empty bottles. Status - Number of bottles assigned to person 1, 2, 3: Full 0, 1, 2; Half-full 0, 1, 3; Empty 7, 5, 2
  • D.Set of a binary variable is represented for full bottle representation. Status - Number of bottles assigned to person 1, 2, 3: Full 1, 5, 2; Half-full 2, 1, 2; Empty 4, 1, 3

Answer: A

The objective is a dummy objective function with all zero coefficients, with the allocation in option A.

The 21 bottles are 7 full, 7 half-full and 7 empty, so the total drink is \(7 + 3.5 = 10.5\) bottles' worth and each person must get 7 bottles holding 3.5. Nothing is to be maximised or minimised; the problem only asks for a feasible integer solution, so the objective has zero coefficients and the constraints do the work.

Option A satisfies every constraint: person 1 gets 1 full, 5 half and 1 empty (7 bottles, 1 + 2.5 = 3.5); persons 2 and 3 each get 3 full, 1 half and 3 empty (7 bottles, 3 + 0.5 = 3.5); and the columns use exactly 7 of each kind.

The other allocations break the constraints: in B the full bottles total 6, in C person 1 gets no drink at all, and in D person 2 gets 5 full bottles.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.