QI (G series): Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Nikkimaria
fmt, rm tag, rm buzzers and tangents, dl
 
en>SqueakBox
referring to cannabis as a drug
Line 1: Line 1:
{{expert-subject|Computer science|ex2=Mathematics|date=May 2009}}
{{Lead too short|date=May 2009}}
'''MAXEkSAT''' is a problem in [[computational complexity theory]] that is a maximization version of the Boolean satisfiability problem [[3SAT]].


In MAXEkSAT, each clause has exactly ''k'' literals, with ''k'' ≥ 3, and is in [[conjunctive normal form]].  These formulas are called kCNF formulas.


People who are considering weight reduction drugs such as for instance phentermine must re... Get additional info about [http://www.cultureinside.com/homeen/blog.aspx/Member/cambogiapotassiumwzt/ViewBlog/40900/ official link] by navigating to our salient portfolio. <br><br>Phentermine is an appetite suppressant that functions stimulating the hypothalamus gland, the region of the mind that controls the autonomic nervous system such as sleep cycles and heat. The medicine affects specific neurotransmitters that&quot;ll lessen hunger and make an individual feel fuller faster. If people claim to dig up further about [http://armorgames.com/user/cambogiaextractcoffee cambogiaextractcoffee"s Profile | Armor Games], there are many resources people might pursue. Additionally, it increases blood pressure and heart rate, primarily improving the consumers kcalorie burning. <br><br>Folks who are considering weight reduction drugs such as for example phentermine must remember that all medications have potential harmful side effects. Weight loss drugs are not an instantaneous solution for weight loss. The following essential facts should really be considered: Firstly, many diet pills are addictive. Secondly, there has been many deaths connected with weight reduction treatment. Thirdly, fat loss pills don&quot;t work with everybody else. <br><br>Phentermine is directly related to amphetamines. Consumers of phentermine are extremely vunerable to developing psychological and physical habits. Stopping the drug cold turkey after an extended period of use can cause outward indications of withdrawal, such as for instance severe depression, changes in character, extreme tiredness or weakness, depression, powerful nightmares, skin disease, moving, excited action, sickness, vomiting, stomach discomfort, and skin disease. See a physician before a change in therapeutic consumption. Discover further on an affiliated web page by navigating to [http://www.hummaa.com/user/cambogiaamazonmpd go here]. <br><br>Phentermine by itself has not caused any deaths; it&quot;s in conjunction with other medications this has happened. Fen-phen associated deaths have occurred as a result of heart valve illness or primary pulmonary hypertension. Primary pulmonary hypertension occurs 1 in 500,000 in the overall population, but among users of fen-phen it occurred 1 in 20,000 individuals. In Preble County, Ohio, one womans family sued the producers of fen-phen on her death in 1997. Her death was brought on by heart associated circumstances she created considering that the beginning of her treatment with fen-phen. <br><br>Think about the advantages with the possible risks and consider other weight reduction possibilities. If you choose pursue the dietary plan drug selection, follow the guidelines of an experienced physician..<br><br>If you have any concerns concerning where by and how to use [http://people.tribe.net/knottygovernor414 Women Health Magazine], you can speak to us at our web site.
The problem is to determine the maximum number of clauses that can be satisfied by a truth assignment to the variables in the clauses.
 
We say that an algorithm ''A'' provides an ''α''-[[approximation algorithm|approximation]] to MAXEkSAT if, for some fixed positive ''α'' less than or equal to 1, and every kCNF formula ''φ'', ''A'' can find a truth assignment to the variables of ''φ'' that will satisfy at least an ''α''-fraction of the maximum number of satisfiable clauses of ''φ''.
 
Note that since 3SAT is [[NP-hard]], and since any 1-approximation algorithm for MAXEkSAT could easily be converted into an algorithm for accepting the language 3SAT, 1-approximation of MAXEkSAT is NP-hard.
 
A natural next question is how big ''α'' can be guaranteed to be for an explicit algorithm that runs in polynomial time ('''[[P (complexity)|P]]''').
 
==Main idea==
A simple result is that there is a simple randomized algorithm that provides a 7/8-approximation to MAXE3SAT which runs in polynomial time: For each ''i'', set variable ''x''<sub>''i''</sub> in formula ''φ'' to be true with probability 1/2, and false with probability 1/2.
 
==Proof==
In a 3CNF formula, there are three boolean variables; consequently, the number of possible combination of assignments to the three variables is 8. Since there is only one combination of truth assignments to a clause that will render it false, we have a 7/8 probability of stumbling across a valid assignment for any given clause.  Thus, the expected fraction of satisfied clauses is 7/8. Because this expectation is over all possible assignments to variables, this guarantees the existence of some assignment that satisfies at least 7/8-fraction of clauses of any 3CNF formula.
 
==Main question==
But even if we know that there exists such a satisfying assignment, how would we find one?  We could cycle through all 2<sup>''n''</sup> assignments until we found one, but clearly that approach can't be guaranteed to run in polynomial time.
 
One answer, relying on results in the study of [[error correcting codes]], works for any constant ''k'', providing a polynomial time algorithm for finding such an assignment.
 
We need one definition and two facts to find the algorithm.
 
==Definition==
<math>S\subseteq\{0,1\}^n</math> is an ''ℓ''-wise independent source if, for a uniformly chosen random (''x''<sub>1</sub>,&nbsp;''x''<sub>2</sub>,&nbsp;...,&nbsp;''x''<sub>''n''</sub>)&nbsp;∈&nbsp;''S'', ''x''<sub>1</sub>,&nbsp;''x''<sub>2</sub>,&nbsp;...,&nbsp;''x''<sub>''n''</sub> are [[pairwise independence|''ℓ''-wise independent]] random variables.
 
==Fact 1==
Note that such an assignment can be found among elements of any ''ℓ''-wise independent source over ''n'' binary variables.  This is easier to see once you realize that an ''ℓ''-wise independent source is really just any set of binary vectors over {0,&nbsp;1}<sup>''n''</sup> with the property that all restrictions of those vectors to ''ℓ'' co-ordinates must present the 2<sup>''ℓ''</sup> possible binary combinations an equal number of times.
 
==Fact 2==
Recall that BCH<sub>2,''m'',''d''</sub> is an <math> [n=2^m, n-1 -\lceil {d-2}/2\rceil m, d]_2</math> linear code.
 
There exists an ''ℓ''-wise independent source of size <math>O(n^{\lfloor \ell/2 \rfloor})</math>, namely the dual of a BCH<sub>2,log&nbsp;''n'',''ℓ''+1</sub> code, which is a linear code.  Since every [[BCH code]] can be presented as  a polynomial-time computable restriction of a related [[Reed Solomon]] code, which itself is strongly explicit, there is a polynomial-time algorithm for finding such an assignment to the ''x''<sub>''i''</sub>'s. The proof of fact 2 can be found at [[Dual of BCH is an independent source]].
 
To summarize, generate BCH<sub>2,log&nbsp;''n'',''ℓ''+1</sub>, compute its dual, which as a set is an ''ℓ''-wise independent source, and treat each element (codeword) of that source as a truth assignment to the ''n'' variables in ''φ''. At least one of them will satisfy at least 1&nbsp;&minus;&nbsp;2<sup>&minus;''ℓ''</sup> of the clauses of ''φ'', whenever ''φ'' is in kCNF form, ''k''&nbsp;=&nbsp;''ℓ''.
 
For ''ℓ''&nbsp;=&nbsp;3, this derandomizes the initially described algorithm for MAXE3SAT.
 
== Related problems ==
[[MAX3SAT]] is a relaxed version of MAXEkSAT, where each clause can have no more than three literals.
 
== References ==
{{reflist}}
*[http://www.cse.buffalo.edu/~atri/courses/coding-theory/ Coding Theory notes at University at Buffalo]
*[http://people.csail.mit.edu/madhu/FT01/course.html Coding Theory notes at MIT]
 
[[Category:NP-hard problems]]

Revision as of 16:13, 22 December 2013

Template:Expert-subject Template:Lead too short MAXEkSAT is a problem in computational complexity theory that is a maximization version of the Boolean satisfiability problem 3SAT.

In MAXEkSAT, each clause has exactly k literals, with k ≥ 3, and is in conjunctive normal form. These formulas are called kCNF formulas.

The problem is to determine the maximum number of clauses that can be satisfied by a truth assignment to the variables in the clauses.

We say that an algorithm A provides an α-approximation to MAXEkSAT if, for some fixed positive α less than or equal to 1, and every kCNF formula φ, A can find a truth assignment to the variables of φ that will satisfy at least an α-fraction of the maximum number of satisfiable clauses of φ.

Note that since 3SAT is NP-hard, and since any 1-approximation algorithm for MAXEkSAT could easily be converted into an algorithm for accepting the language 3SAT, 1-approximation of MAXEkSAT is NP-hard.

A natural next question is how big α can be guaranteed to be for an explicit algorithm that runs in polynomial time (P).

Main idea

A simple result is that there is a simple randomized algorithm that provides a 7/8-approximation to MAXE3SAT which runs in polynomial time: For each i, set variable xi in formula φ to be true with probability 1/2, and false with probability 1/2.

Proof

In a 3CNF formula, there are three boolean variables; consequently, the number of possible combination of assignments to the three variables is 8. Since there is only one combination of truth assignments to a clause that will render it false, we have a 7/8 probability of stumbling across a valid assignment for any given clause. Thus, the expected fraction of satisfied clauses is 7/8. Because this expectation is over all possible assignments to variables, this guarantees the existence of some assignment that satisfies at least 7/8-fraction of clauses of any 3CNF formula.

Main question

But even if we know that there exists such a satisfying assignment, how would we find one? We could cycle through all 2n assignments until we found one, but clearly that approach can't be guaranteed to run in polynomial time.

One answer, relying on results in the study of error correcting codes, works for any constant k, providing a polynomial time algorithm for finding such an assignment.

We need one definition and two facts to find the algorithm.

Definition

is an -wise independent source if, for a uniformly chosen random (x1x2, ..., xn) ∈ S, x1x2, ..., xn are -wise independent random variables.

Fact 1

Note that such an assignment can be found among elements of any -wise independent source over n binary variables. This is easier to see once you realize that an -wise independent source is really just any set of binary vectors over {0, 1}n with the property that all restrictions of those vectors to co-ordinates must present the 2 possible binary combinations an equal number of times.

Fact 2

Recall that BCH2,m,d is an linear code.

There exists an -wise independent source of size , namely the dual of a BCH2,log n,+1 code, which is a linear code. Since every BCH code can be presented as a polynomial-time computable restriction of a related Reed Solomon code, which itself is strongly explicit, there is a polynomial-time algorithm for finding such an assignment to the xi's. The proof of fact 2 can be found at Dual of BCH is an independent source.

To summarize, generate BCH2,log n,+1, compute its dual, which as a set is an -wise independent source, and treat each element (codeword) of that source as a truth assignment to the n variables in φ. At least one of them will satisfy at least 1 − 2 of the clauses of φ, whenever φ is in kCNF form, k = .

For  = 3, this derandomizes the initially described algorithm for MAXE3SAT.

Related problems

MAX3SAT is a relaxed version of MAXEkSAT, where each clause can have no more than three literals.

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.