Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 1636

Questions related to the (computational) complexity of solving problems

28 votes

If P = NP, why wouldn't $\emptyset$ and $\Sigma^*$ be NP-complete?

As there are no strings in $\emptyset$, any machine that computes it always rejects, so we can't map Yes-instance of other problems to anything. Similarly for $\Sigma^{\ast}$ there's nothing to map No …
Luke Mathieson's user avatar
16 votes
Accepted

Why is the class NP-Complete important compared to NP-hard?

There are at least a few reasons that NPC is interesting: The class NP contains many problems that are interesting (both practically and theoretically), moreover many of these problems turn out to b …
Luke Mathieson's user avatar
16 votes
Accepted

Prove NP-completeness of deciding satisfiability of monotone boolean formula

The "parent" of the problem you're looking at is sometimes called Weighted Satisfiability (WSAT, particularly in parameterized complexity) or Min-Ones (though this is normally an optimization version, …
Luke Mathieson's user avatar
15 votes
Accepted

Why are NP-complete problems so different in terms of their approximation?

One reason that we see different approximation complexities for NP-complete problems is that the necessary conditions for NP-complete constitute a very coarse grained measure of a problem's complexity …
Luke Mathieson's user avatar
15 votes
Accepted

Problem A is polynomially reducible to problem B... what can we say about A and B?

Your intuition about "relative hardness" is correct, the underlying mathematics is why III. is true. However your justification about I. is a little off (not wrong, but the reasoning is possibly not a …
Luke Mathieson's user avatar
15 votes
Accepted

Difference between time complexity and computational complexity

Computational complexity is just a more general term, as time is not the only resource we might want to consider. The next most obvious is the space that an algorithm uses, and hence we can talk about …
Luke Mathieson's user avatar
14 votes
Accepted

Why are all problems in FPTAS also in FPT?

There is actually a stronger result; A problem is in the class $\mathrm{FPTAS}$ if it has an fptas1: an $\varepsilon$-approximation running in time bounded by $(n+\frac{1}{\varepsilon})^{\mathcal{O}(1 …
Luke Mathieson's user avatar
12 votes
Accepted

Is SAT in P if there are exponentially many clauses in the number of variables?

Unless I'm missing something, it's trivially in P as the length of the formula is exponential in the number of variables. Hence all $2^{n}$ truth assignments can be generated and checked in polynomial …
Luke Mathieson's user avatar
11 votes

Decision problems in $\mathsf{P}$ without fast algorithms

There's a similar question over on cstheory, with lots of examples ranging from the "realistically impractically slow" algorithms with exponents of 6 or 7 upwards. That question also discusses large c …
Luke Mathieson's user avatar
11 votes
Accepted

algorithm time analysis "input size" vs "input elements"

In the most formal sense, the size of the input is measured in reference to a Turing Machine implementation of the algorithm, and it is the number of alphabet symbols needed to encode the input. This …
Luke Mathieson's user avatar
10 votes

If NP $\neq$ Co-NP then is P $\neq$ NP

Only in one direction. As $\mathsf{P}=\text{co-}\mathsf{P}$, if $\mathsf{NP}\neq\text{co-}\mathsf{NP}$ then we would know that $\mathsf{P}\neq\mathsf{NP}$. However the reverse implication doesn't hold …
Luke Mathieson's user avatar
8 votes

Has the graph isomorphism problem been solved?

I would be very dubious that it has (in the sense of the proof of existence of a polynomial time algorithm). While it is not impossible that the paper is correct, there are a number of warning signs: …
Luke Mathieson's user avatar
8 votes
Accepted

Richard Karp's 21 NP-Hard problems, the meaning of his research?

The short way to say it is that these problems are $\mathcal{NP}$-complete. Of course this only has meaning to those who understand what $\mathcal{NP}$-complete means. Not only does this say these …
Luke Mathieson's user avatar
8 votes

Reduce hitting set to SAT, and cardinality constraints

If you're not absolutely set on the normal SAT, your idea is already a reduction to MIN-ONES (over positive CNF formulae), which is basically SAT, but where you can set at most $k$ variables to true ( …
Luke Mathieson's user avatar
7 votes
Accepted

Simple proof that circuit satisfiability problem is NP-Hard

The (very) simplified version is that they convert any verification algorithm $A$ for a language $L \in \text{NP}$ into a circuit. What they end up with is a circuit $C$ that, given a (binary) string …
Luke Mathieson's user avatar

1
2 3 4 5
15 30 50 per page