next up previous
Next: Up: Previous:

Ratio Bound

How does the approximate solution compare to the optimal solution?

An approximation algorithm has a ratio bound p(n) if for any input of size n, the cost C of the approximate solution is within a factor p(n) of the cost C* of the optimal solution:


\begin{displaymath}1 \leq p(n) \leq \max(\frac{C}{C*}, \frac{C*}{C}) \end{displaymath}

where C/C* is used for minimization problems, and C*/C for maximization problems.

Alternatively, an approximation algorithm has a relative error bound:


\begin{displaymath}\frac{\mid C \;-\; C* \mid}{C*} \;\leq\; \epsilon(n)\end{displaymath}

where $\epsilon$(n) $\leq$ p(n) - 1.


next up previous
Next: Up: Previous: