Slack variable

In an optimization problem, a slack variable is a variable that is added to an inequality constraint to transform it to an equality. Introducing a slack variable replaces an inequality constraint with an equality constraint and a nonnegativity constraint.[1]

In linear programming, this is required to turn an inequality into an equality where a linear combination of variables is less than or equal to a given constant in the former. As with the other variables in the augmented constraints, the slack variable cannot take on negative values, as the Simplex algorithm requires them to be positive or zero.

Example

By introducing the slack variable \mathbf{y} \ge 0, the inequality \mathbf{A}\mathbf{x} \le \mathbf{b} can be converted to the equation \mathbf{A}\mathbf{x} + \mathbf{y} = \mathbf{b}.

Embedding in orthant

Slack variables give an embedding of a polytope P \hookrightarrow (\mathbf{R}_{\geq 0})^f into the standard f-orthant, where f is the number of constraints (facets of the polytope). This map is one-to-one (slack variables are uniquely determined) but not onto (not all combinations can be realized), and is expressed in terms of the constraints (linear functionals, covectors).

Slack variables are dual to generalized barycentric coordinates, and, dually to generalized barycentric coordinates (which are not unique but can all be realized), are uniquely determined, but cannot all be realized.

Dually, generalized barycentric coordinates express a polytope with n vertices (dual to facets), regardless of dimension, as the image of the standard (n-1)-simplex, which has n vertices – the map is onto: \Delta^{n-1} \twoheadrightarrow P, and expresses points in terms of the vertices (points, vectors). The map is one-to-one if and only if the polytope is a simplex, in which case the map is an isomorphism; this corresponds to a point not having unique generalized barycentric coordinates.

See also

Notes

References

External links

This article is issued from Wikipedia - version of the Tuesday, August 12, 2014. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.