I fear this problem is NP hard.

Reply via email to