Question: what are the slack and surplus variables?
Answer: A slack or surplus value is reported for each of the constraints. The term "slack" applies to less than or equal constraints, and the term "surplus" applies to greater than or equal constraints. ... The slack value is the amount of the resource, as represented by the less-than-or-equal constraint, that is not being used.