4T + 3C 240 (Hours of Carpentry Time)
4T + 3C 240 (Hours of Carpentry Time)
1|P a ge
T ≥ 0 (number of tables produced is greater than or equal to 0)
C ≥ 0 (number of chairs produced is greater than or equal to 0)
2|P a ge
– Carpentry constraint
4T + 3C ≤ 240 hours available (4)(70) + (3)(40) = 400
hours used X
– Painting constraint
2T + 1C ≤ 100 hours available (2)(70) + (1)(40) = 180
hours used X
4T + 3(40) = 240
4T + 120 = 240
4T = 120
T = 30
SLACK
- It is the amount of a resource that is not used.
- For a less-than-or-equal constraint.
3|P a ge
Slack = (Amount of resource available) – (Amount of resource USING EXCEL’S SOLVER
used) - The Solver tool in Excel can be used to find solutions
to:
- Flair decides to produce 20 tables and 25 chairs – LP problems
- – Integer programming problems
4(20) + 3(25) = 155 (carpentry time used) – Noninteger programming problems
240 = (carpentry time available) – Solver is limited to 200 variables and, in
240 – 155 = 85 (Slack time in carpentry) some situations, 100 constraints
- At the optimal solution, slack is 0 as all 240 hours are USING SOLVER
used. - Recall the model for Flair Furniture is
Surplus = (Actual Amount) – (Minimum Amount) - To use Solver, it is necessary to enter data and
formulas.
- New constraint:
T + C ≥ 42 STEPS:
- If T = 20 and C = 25, then 1. Enter problem data
20 + 25 = 45 – Variable names, coefficients for the
Surplus = 45 – 42 = 3 objective function and constraints, RHS
values for each constraint.
SUMMARIES OF GRAPHICAL SOLUTION METHODS 2. Designate specific cells for the values of the decision
variables.
ISOPROFIT METHOD 3. Write a formula to calculate the value of the
1. Graph all constraints and find the feasible region. objective function.
2. Select a specific profit (or cost) line and graph it to 4. Write a formula to compute the left-hand sides of
find the slope. each of the constraints.
3. Move the objective function line in the direction of
increasing profit (or decreasing cost) while - Excel Data Input
maintaining the slope. The last point it touches in
the feasible region is the optimal solution.
4. Find the values of the decision variables at this last
point and compute the profit (or cost).
4|P a ge
- Excel Spreadsheet - Solver Add Constraint Dialog Box
- Starting Solver
5|P a ge