This question has been flagged
1 Reply
147 Views

I am somehow confused with the difference between Slack and Surplus. When is slack is to be used? and also surplus? Can you give me more definition in laymans's term an more examples please.

Avatar
Discard

Surplus is for the number of products. Slack is for a number of extra time

a slack variable is generally used for less than or equal to constraints, on the other hand, the term surplus is used for greater than or equal to constraints.

Best Answer

Slack and surplus are used to analyze the feasibility and optimality of linear programming solutions. Slack represents unused resources in constraints, while surplus (dual variable) represents the rate of change in the objective function value due to changes in constraint RHS values.

Avatar
Discard