Content deleted Content added
Mehmetgencer (talk | contribs) mNo edit summary |
m Set mathy stuff (Variables, >= aka \ge) in math mode. |
||
Line 38:
:<math>x_1 \ge 5</math>
a new variable,
:<math> \begin{align} y_1 = x_1 - 5\\x_1 = y_1 + 5 \end{align}</math>
The second equation may be used to eliminate
Second, for each remaining inequality constraint, a new variable, called a ''slack variable'', is introduced to change the constraint to an equality constraint. This variable represents the difference between the two sides of the inequality and is assumed to be nonnegative. For example the inequalities
Line 58:
It is much easier to perform algebraic manipulation on inequalities in this form. In inequalities where ≥ appears such as the second one, some authors refer to the variable introduced as a {{anchor|Surplus variable}}''surplus variable''.
Third, each unrestricted variable is eliminated from the linear program. This can be done in two ways, one is by solving for the variable in one of the equations in which it appears and then eliminating the variable by substitution. The other is to replace the variable with the difference of two restricted variables. For example if
:<math>\begin{align}
&z_1 = z_1^+ - z_1^-\\
Line 64:
\end{align}</math>
The equation may be used to eliminate
When this process is complete the feasible region will be in the form
:<math>\mathbf{A}\mathbf{x} = \mathbf{b},\, x_i \ge 0</math>
It is also useful to assume that the rank of
==Simplex tableaux==
|