Question: 1 Tragic Comedy and Network Flows (8 marks) A ship full of k comedians and 2k ordinary (non-comedian) people is capsizing. The hope is to

1 Tragic Comedy and Network Flows (8 marks) A ship full of k comedians and 2k ordinary (non-comedian) people is capsizing. The hope is to evacuate all people onboard via rescue boats. Fortunately, each comedian has one rescue boat (in case they had to escape a tough crowd), and each boat can carry two additional passengers. Therefore, if the non-comedians could be arbitrarily paired up and placed 2 to a boat, everyone could be evacuated However, certain ordinary people so strongly dislike the jokes of certain comedians that they would rather swim than be passengers on those comedians' boats. More formally, for each ordnary person pj (for j e (1,2,..,2k]), there is some subset Sj of the total set of comedians [ci,..., ck} with which they are willing to ride. Under the constraint that each of the 2k ordinary people needs to be assigned to a boat operated by a comedian whose jokes they will tolerate, and given that each boat can hold 2 ordinary people, the ship passengers wonder whether it is possible to evacuate everyone aboard Show how efficiently answering this question can be reduced to a Max-Flow
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
