Академический Документы
Профессиональный Документы
Культура Документы
Optimization
and Linear
Programming
Introduction
• We all face decision about how
to use limited resources such
as:
– Material
– Land
– Time
– Money
– Labour
Mathematical
Programming...
MP is a field of management
science that finds the optimal, or
most efficient, way of using
limited resources to achieve the
objectives set.
Optimization
Applications of
Mathematical Optimization
• Determining Product Mix
• Manufacturing
• Routing and Logistics
• Financial Planning
Characteristics of
Optimization Problems
• Decisions
• Constraints
• Objectives
General Form of an
Optimization Problem
MAX (of MIN): f0(X1, X2, …, Xn)
Subject to: f1(X1, X2, …, Xn)<=b1
:
fk(X1, X2, …, Xn)>=bk
:
fm(X1, X2, …, Xn)=bm
Aqua Hydro
Pumps 1 1
Labor 9 hours 6 hours
Tubing 12 feet 16 feet
Unit Profit $350 $300
(0, 200)
200
boundary line of pump constraint
X1 + X2 = 200
150
100
50
(200, 0)
0
0 50 100 150 200 250 X1
X2
Plotting the Second Constraint
(0, 261)
250
boundary line of labor constraint
150
100
50
(174, 0)
0
0 50 100 150 200 250 X1
X2 Plotting the Third Constraint
250
(0, 180)
200
150
boundary line of tubing constraint
12X1 + 16X2 = 2880
100
Feasible Region
50
(240, 0)
0
0 50 100 150 200 250 X1
X2 Plotting A Level Curve of the
250
Objective Function
200
100
50 (100, 0)
0
0 50 100 150 200 250 X1
A Second Level Curve of the
X2 Objective Function
250
objective function
150
350X1 + 300X2 = 52500
100
(150, 0)
50
0
0 50 100 150 200 250 X1
Using A Level Curve to Locate
X2
the Optimal Solution
250
objective function
200
350X1 + 300X2 = 35000
150
optimal solution
100
objective function
350X1 + 300X2 = 52500
50
0
0 50 100 150 200 250 X1
Calculating 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,
X1=122, X2=200-X1=78
Total Profit = $350*122 + $300*78 = $66,100
Enumerating The Corner Points
X2
250
obj. value = $54,000
200 (0, 180)
50
obj. value = $0 obj. value = $60,900
(0, 0) (174, 0)
0
0 50 100 150 200 250 X1
Note: This technique will not work if the solution is unbounded.
Summary 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
Special Conditions in LP
Models
A number of anomalies can
occur in LP problems:
– Alternate Optimal Solutions
– Redundant Constraints
– Unbounded Solutions
– Infeasibility
X2
Example of Alternate Optimal
Solutions
250
objective function level curve
200 450X1 + 300X2 = 78300
150
100
0
0 50 100 150 200 250 X1
X2 Example of a Redundant Constraint
250
boundary line of tubing constraint
200
boundary line of pump constraint
150
Feasible Region
50
0
0 50 100 150 200 250 X1
X2 Example of an Unbounded Solution
1000 objective function
X1 + X2 = 600 -X1 + 2X2 = 400
800
objective function
X1 + X2 = 800
600
400
200
X1 + X2 = 400
0
0 200 400 600 800 1000 X1
X2 Example of Infeasibility
250
200 X1 + X2 = 200
100
X1 + X2 = 150
0
0 50 100 150 200 250 X1
Engineering Optimization
Problems
Truss
– Topology (connectivity)
– determination of cross section
• Material properties and cross
sectional area are the design
parameters
• Cross sectional area as design
variable
Truss
Objective function:
– Minimise: AiLi
Constraints
– S.t.: Pi/Ai≤