| dbpprop:abstract
|
- Fourier–Motzkin elimination is a mathematical algorithm for eliminating variables from a system of linear inequalities. It can look for both real and integer solutions. Its computational complexity is double-exponential. Elimination (or <math>\exists</math>-elimination) of variables V from a system of relations (here, linear inequalities) consists in creating another system of the same kind, but without the variables V, such that both systems have the same solutions over the remaining variables. If one eliminates all variables from a system of linear inequalities, then one obtains a system of constant inequalities, which can be trivially decided to be true or false, such that this system has solutions (is true) if and only if the original system has solutions. As a consequence, elimination of all variables can be used to detect whether a system of inequalities has solutions or not. Let us consider a system <math>S</math> of <math>n</math> inequalities with <math>r</math> variables <math>x_1</math> to <math>x_r</math>, with <math>x_r</math> the variable to eliminate. The linear inequalities in the system can be grouped into three classes, depending on the sign (positive, negative or null) of the coefficient for <math>x_r</math>: those that are equivalent to some inequalities of the form <math>x_r \geq \sum_{k=1}^{r-1} a_k x_k</math>; let us note these as <math>x_r \geq A_i(x_1, \dots, x_{r-1})</math>, for <math>i</math> ranging from 1 to <math>n_A</math> where <math>n_A</math> is the number of such inequalities; those that are equivalent to some inequalities of the form <math>x_r \leq \sum_{k=1}^{r-1} a_k x_k</math>; let us note these as <math>x_r \leq B_i(x_1, \dots, x_{r-1})</math>, for <math>i</math> ranging from 1 to <math>n_B</math> where <math>n_B</math> is the number of such inequalities; those in which <math>x_r</math> plays no role, grouped into a single conjunction <math>\phi</math>. The original system is thus equivalent to <math>\max(A_1, \dots, A_{n_A}) \leq x_r \leq \min(B_1, \dots, B_{n_B}) \wedge \phi</math>. Elimination consists in producing a system equivalent to <math>\exists x_r~S</math>. Obviously, this formula is equivalent to <math>\max(A_1, \dots, A_{n_A}) \leq \min(B_1, \dots, B_{n_B}) \wedge \phi</math>. The inequality <math>\max(A_1, \dots, A_{n_A}) \leq \min(B_1, \dots, B_{n_B})</math> is equivalent to <math>n_A n_B</math> inequalities <math>A_i(x_1, \dots, x_{r-1}) \leq B_j(x_1, \dots, x_{r-1})</math>, for <math>1 \leq i \leq n_A</math> and <math>1 \leq j \leq n_B</math>. We have therefore transformed the original system into another system where <math>x_r</math> is eliminated. Note that the output system has <math>(n-n_A-n_B)+n_A n_B</math> inequalities. In particular, if <math>n_A = n_B = n/2</math>, then the number of output inequalities is <math>n^2/4</math>. The operation is named after Joseph Fourier and Theodore Motzkin.
|