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.

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.

  • If a slack variable associated with a constraint is zero in a given state, the constraint is binding, as the constraint restricts the possible changes of the point.
  • If a slack variable is positive in a given state, the constraint is non-binding, as the constraint does not restrict the possible changes of the point.
  • If a slack variable is negative in a given state, the point is infeasible, and not allowed, as it does not satisfy the constraint.

Read more about Slack Variable:  Example, Embedding in Orthant, See Also

Famous quotes containing the words slack and/or variable:

    In marriage, a man becomes slack and selfish, and undergoes a fatty degeneration of his moral being.
    Robert Louis Stevenson (1850–1894)

    There is not so variable a thing in nature as a lady’s head-dress.
    Joseph Addison (1672–1719)