Deterministic A practical problem with PTAS algorithms is that the exponent of the polynomial could increase dramatically as ε shrinks, for example if the runtime is . One way of addressing this is to define the
efficient polynomial-time approximation scheme or
EPTAS, in which the running time is required to be for a constant independent of . This ensures that an increase in problem size has the same relative effect on runtime regardless of what ε is being used; however, the constant under the
big-O can still depend on ε arbitrarily. In other words, an EPTAS runs in
FPT time where the parameter is ε. Even more restrictive, and useful in practice, is the
fully polynomial-time approximation scheme or
FPTAS, which requires the algorithm to be polynomial in both the problem size and . Unless
P = NP, it holds that . Consequently, under this assumption,
APX-hard problems do not have PTASs. Another deterministic variant of the PTAS is the
quasi-polynomial-time approximation scheme or
QPTAS. A QPTAS has
time complexity for each fixed . Furthermore, a PTAS can run in
FPT time for some parameterization of the problem, which leads to a
parameterized approximation scheme.
Randomized Some problems which do not have a PTAS may admit a
randomized algorithm with similar properties, a
polynomial-time randomized approximation scheme or
PRAS. A PRAS is an algorithm which takes an instance of an optimization or counting problem and a parameter and, in polynomial time, produces a solution that has a
high probability of being within a factor of optimal. Conventionally, "high probability" means probability greater than 3/4, though as with most probabilistic complexity classes the definition is robust to variations in this exact value (the bare minimum requirement is generally greater than 1/2). Like a PTAS, a PRAS must have running time polynomial in , but not necessarily in ; with further restrictions on the running time in , one can define an
efficient polynomial-time randomized approximation scheme or
EPRAS similar to the EPTAS, and a
fully polynomial-time randomized approximation scheme or
FPRAS similar to the FPTAS. ==As a complexity class==