a 14.14 Consider the computational problem HALFSAT defined as follows. The input is a Boolean formula B in CNF. If it is
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
a 14.14 Consider the computational problem HALFSAT defined as follows. The input is a Boolean formula B in CNF. If it is
a 14.14 Consider the computational problem HALFSAT defined as follows. The input is a Boolean formula B in CNF. If it is impossible to satisfy at least half of B's clauses, the solution is “no”. Otherwise a solution is a truth assignment that does satisfy at least half of B's clauses. For example, the input“ (x1 OR NOT x2) AND (x2) AND (NOT x1)" is a positive instance, because the truth assignment "x1=1, x2=1” satisfies two of the three clauses and is therefore a positive solution. Prove that HALFSAT is NP-hard. a DAINO
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!