Professional Documents
Culture Documents
Week 4-2 - Quatitative DM - LP Optimization
Week 4-2 - Quatitative DM - LP Optimization
PROGRAMMING
PROBLEMS
Acquiring input data Be careful of GIGO. Meticulous effort is required in collecting relevant input
data to solve the problem.
Analyzing the results Workout implications of the obtained solution and check sensitivity of the
model with different input data and mathematical model (sensitivity
analysis)
Implementing results
Limitations to LPP
• The optimal solution may be buy 6.7 trucks or manufacture 5.3 parts. Obviously
one would buy either 6 or 7 trucks or manufacture 5 or 6 parts instead of the
mixed number solution. Therefore, the optimal solution is rounded either up or
down , as appropriate.
• There is another algorithm, called Integer Programming, that provide solution
integer (whole number ) solution.
• Very often, the objective function and constraints / resources are not relate
linearly with the variables.
• Non Linear programming techniques are available to deal with such cases.
• LP does not deal with uncertainty but real life problems often deal with
uncertainty.
• Methods such as chance constrained programming or LP under uncertainty
may be used in such cases.
Case Study # 1
Scheduling Planes of Delta Airlines
• Each time an airliner takes off with an empty seat, a revenue opportunity is lost for ever.
For Delta airlines, which flies more than 2400 domestic flights per day using 450 aircraft of
10 different models, flight schedule is the heartbeat of the airline. One flight leg for Delta
might consist of Boeing 757 jet assigned to fly at 6:21 am from Atlanta to arrive in Boston
at 8:45 am carrying 235 passengers and 12 crew members. Delta problem, the same as that
of every competitor, is to match airplanes such as 747s, 757s, 767s, etc to flight legs
between A to B and fill maximum seats with passengers.
• Advances in LP algorithms and computer hardware have made it possible to solve
optimization problems of this scope. Delta runs its huge LP model (Cold start) everyday
and was the first airline to solve a problem of this scope.
• Typical size of daily Cold Start model is about 40,000 constraints and 60,000 variables. The
constraints are aircraft availability, balancing arrivals and departures at airports, airplane
maintenance needs and schedules, and so on. Cold Start Objective is to minimize a
combination of operating costs and lost passenger revenues (spill cost).
Delta airlines reported savings of 0.25Millon$ per day by optimizing its flight
scheduling, close to a saving of 100 Million$ per year. (case study of 1994)
Case Study # 2
Purchase of new airplanes by PIA
PIA owns an aging fleet of Boeing-727 jet airplanes. It is considering a major
purchase of new models of Boeing aircrafts; B‐757 and B‐767, to maximize
passenger travelling (max seat occupancy).
The decision must take into account numerous cost and capability factors,
including the following:
A. purchase of up to 17 new models of Boeing aircrafts; B‐757 and B‐767
B. airline can finance up to $400 million in purchases; each B‐757 will cost $35 million
while each B‐767 will cost $22 million
C. at least one third of the planes purchased should be longer range B‐757
D. annual budget is to be no more than $8 Million; annual maintenance cost per B‐757
is estimated to be $800,000, and $500,000 for each B‐767
E. each B‐757 can carry 125,000 passengers per year, while each B‐767 can fly 81,000
passengers annually.
Formulate the problem as Integer Programming problem and solve using Simplex
method. Interpret the solution and give your comments.
Simplex Method
Objective Function
Coefficient
point
S2=0
C
Two very important Questions
O C
Leaving Basic Variable
s1 2 40 40/2=20
s2 3 120 120/3=40 Basic Z x1 x2 s1 s2 Solution
Z 1 -40 -50 0 0 0
• Leaving basic variable is variable with minimum
nonnegative ratio s1 0 1 2 1 0 40
s2 0 4 3 0 1 120
Checking Optimal Solution
• Set non-basic variables x1 and s1 to zero, solution column
provides new basic solution x2=20, s2=60 and z=1000
• Is not optimal
• x1 has a negative coefficient
• Select variable x1 as entering basic variable Basic Z Solution
x1 x2 s1 s2
• Ratio computations, show that s2 is the leaving variable Z 1 -15 0 25 0 1000
s2 5/2 60 60/2.5=24
Basic Z x1 x2 s1 s2 Solution
• New pivot row, x1, is computed using the
same formula Z 1 0 0 16 6 1360
• All old pivot row values are divided by 5/2 x2 -50 0 1 4/5 -1/5 8
• Values for z-row and s2-row are computed
here and shown in Table x1 -40 1 0 -3/5 2/5 24
Basic Z x1 x2 s1 s2 Solution
Z 1 -15 0 25 0 1000
x2 -50 1/2 1 1/2 0 20
s2 0 5/2 0 -3/2 1 60
Checking Optimal Solution
Basic Z x1 x2 s1 s2 Solution
Z 1 0 0 16 6 1360
• Coefficient of non-basic variables are positive
x2 -50 0 1 4/5 -1/5 8
• Optimal solution has been reached
x1 -40 1 0 -3/5 2/5 24
• x1 = 24 chairs, x2= 8 tables and z= $1,360 profit
• Corresponds to point B shown previously
Summary of the Simplex
C
Effect of Surplus and Artificial Variables on
Objective Function
Basic Z x1 x2 s1 s2 A1 A2 Solution
Z 1 2.5M-4.5 0 0.75M-0.75 -M -1.75M+0.75 0 12M+12
• x1 row was selected as the pivot row 0 1 0 0.3 -0.4 -0.3 0.4 4.80
x1
Forth Tableau (Optimal Solution)
• Starts replacing s1 with x1
Basic Z x1 x2 s1 s2 A1 A2 Solution
• Turns out into final tableau which gives Z 1 0 0 0.6 -1.8 -M-0.6 -M+1.8 33.6
optimal solution
x2 0 0 1 -0.4 0.2 0.4 -0.2 1.6
• z-row contains no positive values
x1 0 1 0 0.3 -0.4 -0.3 0.4 4.80
• Optimal solution:
• x1=0, s1=16, x2=8, s2= 0, and Z = $24
Basic Z x1 x2 s1 s2 A1 A2 Solution
Z 1 -2 0 0 -1 -M -M+1 24