• A set of available customers $c_1, c_2, \dots, c_n$.
  • A set of available foods $f_1, f_2, \dots, f_m$.
  • Each customer will choose a subset of the available food.


  • Find the maximum number of customers that can be chosen, such that no two customers share the same food.


  • How to reduce the independent set problem to this problem, in order to prove that this is an NP-Complete problem ?
  • 3
    $\begingroup$ What have you tried? Where did you get stuck? $\endgroup$ – dkaeae Dec 6 '18 at 14:02

Hint: try to reduce each vertex to a customer and each edge to an available food.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.