Title: Introduction to Optimization and Linear Programming
1Introduction to Optimization and Linear
Programming
Chapter 1
2Introduction
- We all face decision about how to use limited
resources such as - Oil in the earth
- Land for waste dumps
- Time
- Money
- Workers
3Mathematical Programming...
- MP is a field of operations research that finds
the optimal, or most efficient, way of using
limited resources to achieve the objectives of an
individual or a business. - a.k.a. Optimization
4Applications of Optimization
- Determining Product Mix
- Manufacturing
- Routing and Logistics
- Financial Planning
5Characteristics of Optimization Problems
- Decisions
- Constraints
- Objectives
6General Form of an Optimization Problem
- MAX (or MIN) f0(X1, X2, , Xn)
- Subject to f1(X1, X2, , Xn)ltb1
-
- fk(X1, X2, , Xn)gtbk
-
- fm(X1, X2, , Xn)bm
- Note If all the functions in an optimization are
linear, the problem is a Linear Programming (LP)
problem
7Linear Programming (LP) Problems
- MAX (or MIN) c1X1 c2X2 cnXn
- Subject to a11X1 a12X2 a1nXn lt b1
-
- ak1X1 ak2X2 aknXn gtbk
-
- am1X1 am2X2 amnXn bm
8An Example LP Problem
Blue Ridge Hot Tubs produces two types of hot
tubs Aqua-Spas Hydro-Luxes.
There are 200 pumps, 1566 hours of labor, and
2880 feet of tubing available.
95 Steps In Formulating LP Models
- 1. Understand the problem.
- 2. Identify the decision variables.
- X1number of Aqua-Spas to produce
- X2number of Hydro-Luxes to produce
- 3. State the objective function as a linear
combination of the decision variables. - MAX 350X1 300X2
105 Steps In Formulating LP Models(continued)
- 4. State the constraints as linear combinations
of the decision variables. - 1X1 1X2 lt 200 pumps
- 9X1 6X2 lt 1566 labor
- 12X1 16X2 lt 2880 tubing
- 5. Identify any upper or lower bounds on the
decision variables. - X1 gt 0
- X2 gt 0
11LP Model for Blue Ridge Hot Tubs
MAX 350X1 300X2 S.T. 1X1 1X2 lt 200 9X1
6X2 lt 1566 12X1 16X2 lt 2880 X1 gt 0 X2
gt 0
12Solving LP Problems An Intuitive Approach
- Idea Each Aqua-Spa (X1) generates the highest
unit profit (350), so lets make as many of them
as possible! - How many would that be?
- Let X2 0
- 1st constraint 1X1 lt 200
- 2nd constraint 9X1 lt1566 or X1 lt174
- 3rd constraint 12X1 lt 2880 or X1 lt 240
- If X20, the maximum value of X1 is 174 and the
total profit is 350174 3000 60,900 - This solution is feasible, but is it optimal?
- No!
13Solving LP ProblemsA Graphical Approach
- The constraints of an LP problem define the
feasible region. - The best point in the feasible region is the
optimal solution to the problem. - For LP problems with 2 variables, it is easy to
plot the feasible region and find the optimal
solution.
14Plotting the First Constraint
15Plotting the Second Constraint
16Plotting the Third Constraint
17X2
Plotting A Level Curve of the Objective Function
18A Second Level Curve of the Objective Function
19Using A Level Curve to Locate the Optimal
Solution
20Calculating the Optimal Solution
- The optimal solution occurs where the pumps and
labor constraints intersect. - This occurs where
- X1 X2 200 (1)
- and 9X1 6X2 1566 (2)
- From (1) we have, X2 200 -X1 (3)
- Substituting (3) for X2 in (2) we have,
- 9X1 6 (200 -X1) 1566
- which reduces to X1 122
- So the optimal solution is,
- X1122, X2200-X178
- Total Profit 350122 30078 66,100
21Enumerating The Corner Points
Note This technique will not work if the
solution is unbounded.
22Summary of Graphical Solution to LP Problems
- 1. Plot the boundary line of each constraint
- 2. Identify the feasible region
- 3. Locate the optimal solution by either
- a. Plotting level curves
- b. Enumerating the extreme points
23Special Conditions in LP Models
- A number of anomalies can occur in LP problems
- Alternate Optimal Solutions
- Redundant Constraints
- Unbounded Solutions
- Infeasibility
24Example of Alternate Optimal Solutions
25Example of a Redundant Constraint
26Example of an Unbounded Solution
27Example of Infeasibility
28Important Behind the Scenes Assumptions in LP
Models
29Proportionality and Additivity Assumptions
- An LP objective function is linear this results
in the following 2 implications - proportionality contribution to the objective
function from each decision variable is
proportional to the value of the decision
variable. e.g., contribution to profit from
making 4 aqua-spas (4_at_350) is 4 times the
contribution from making 1 aqua-spa (350)
30Proportionality and Additivity Assumptions (cont.)
- Additivity contribution to objective function
from any decision variable is independent of the
values of the other decision variables. E.g., no
matter what the value of x2, the manufacture of
x1 aqua-spas will always contribute 350 x1
dollars to the objective function.
31Proportionality and Additivity Assumptions (cont.)
- Analogously, since each constraint is a linear
inequality or linear equation, the following
implications result - proportionality contribution of each decision
variable to the left-hand side of each constraint
is proportional to the value of the variable.
E.g., it takes 3 times as many labor hours
(9_at_327 hours) to make 3 aqua-spas as it takes to
make 1 aqua-spa (9_at_19 hours) No economy of
scale
32Proportionality and Additivity Assumptions (cont.)
- Additivity the contribution of a decision
variable to the left-hand side of a constraint is
independent of the values of the other decision
variables. E.g., no matter what the value of x1
(no. of aqua-spas produced), the production of x2
hydro-luxes uses x2 pumps, - 6x2 hours of labor,
- 16x2 feet of tubing.
33More Assumptions
- Divisibility Assumption each decision variable
is allowed to assume fractional values - Certainty Assumption each parameter (objective
function coefficient cj, right-hand side constant
bi of each constraint, and technology coefficient
aij) is known with certainty.
34End of Chapter 1