 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 formula_19 is unrestricted then write

The equation may be used to eliminate formula_19 from the linear program.