supplement 1: LP Flashcards
2 general techniques for LP
Graphical
Computer-based
Graphical LP
Visual portrayal of concepts usually with only two variables
Computer LP solutions
to complex problems involving a large number of variables. (Actually, for all problems, i.e. no need of Graphical technique).
how many objectives does LP have?
only 1
Objective function
a mathematical expression to find the total profit/cost/time
Decision variables
choices to arrive at the objective function (mathematical expression) and the constraints surrounding it
Graphical LP formulation
- Plot all constraints.
- Find the area where all constraints are satisfied (the solution space)
- plot the objective function by equating it to the product of parameter values
–> move it in parallel to find the solution point
–> For max problem, start at origin and move it away
–> For min problem, start at far away and move it closer to origin
- Find solution
the solution space
the area where all constraints are satisfied
Optimal solution
at a corner point of feasible solution space
Redundant constraints
not part of feasible solution space
maximization solution point
the furthest away en diagonal a droite in the graph but still in the solution space
minimization solution point
the closest to the origin in the graph but still in the solution space
Binding constraint
a constraint that passes through the solution point on the feasible solution space
Slack
when the optimal values of decision variables are substituted into a ≤ constraint and the resulting value is less than the right side value
Suppose, the optimal value of x1 is 10, and x2 is 20, and one of the constraint is 3x1 + 2x2 ≤ 100; then LHS is 70, and slack is 100-70, i.e. 30.
difference between value of constraint and the optimal value (when the latter is smaller than the slack constraint)
Surplus
When the optimal values of decision variables are substituted into a ≥ constraint and the resulting value exceeds the right side value
Suppose, the optimal value of x1 is 10, and x2 is 15, and one of the constraint is 4x1 + x2 ≥ 50; then LHS is 55, and surplus is 55-50, i.e. 5.
difference between value of constraint and the optimal value (when the latter is bigger than the surplus constraint)