Problem:
STINGY SAT is the following problem:given a set of clauses(each a disjunction of literals) and an interger k, find a satisfying assignment in which at most k variables are true, if such an assignment exists. Prove that STINGY SAT is NP-complete.
Solution:
设SAT一个为I,并且此时的变量数量为K,那么该SAT的解中满足不超过K个变量为真,则转化为了STINGY SAT问题,I的解也为STINGY SAT的解,因为SAT为NP-complete,所以STINGY SAT也是NP-complete。
本文探讨了STINGYSAT问题:给定一组子句及整数k,寻找最多k个变量为真的满足指派,如果存在这样的指派。通过将任意SAT问题转化为STINGYSAT问题的方式,证明了STINGYSAT问题是NP完全问题。

被折叠的 条评论
为什么被折叠?



