SlideShare a Scribd company logo
1 of 30
Download to read offline
Macro-level Scheduling
and Pricing Using a
Genetic Algorithm
Alan Walker
Sabre - September 2001
1
Overview
•
•
•
•

Introduction
Model Formulation
Results
Conclusion

2
Introduction
• Suppose you start from nothing
–
–
–
–

Clean sheet of paper
Information on your competitors
Do everything - Fleet, timetable, FAM, YM & pricing
Can you even handle 3 aircraft?

• This is a big, ugly search space
– Non-linear
– Stochastic
– Discontinuous
3
Introduction
• History of the problem
– We didn’t have an optimization model to do this
– Built a simple GA-based approach in late 1996
– Code fragments, ideas and discussions were a catalyst
for integrated planning models using more traditional
optimization techniques

• Why revisit it now?
– Computing resources are much greater
– Could be useful to others
– Interesting results
4
Model Structure
Inputs
Plan
New Individuals

Population
of Marketing
Plans (Price
and Schedule)

GA
- reproduction
- mutation
Fittest
Individuals
(higher profit)

Profitability
Outputs

5

Pax Preference
Demand Model

Yield Mgmt.
Optimization

Spill
Model
Model - Inputs
• Passenger preferences
–
–
–
–
–
–

• Schedule parameters
– Fleet type and number
– Aircraft capacity and
operating costs
– Block times / model
– Minimum turn times

Market segment
Base demand
Base price
Elasticity
Time of day preference
Service preference

• OA schedule and price

6
Model - Genetic Algorithm
• General
– Each potential solution is represented as a bit-string
– The bit-string contains all information associated with
scheduling and pricing decisions
– Simulates evolution with survival-of-the-fittest

• Has been applied to diverse range of difficult
combinatorial problems in other industries
– Parametric design of aircraft and aircraft engines
– Job-shop scheduling
– Strategy discovery for multi-player games
7
Model - Genetic Algorithm
• Initial population
– A set of potential solutions is generated randomly

• Reproduction
– Parents chosen randomly, weighted by profit
– New solutions are generated by combining elements
from 2 parents, using random crossover operations
– Mutation occurs randomly to bits within the offspring
– New individuals replace less profitable solutions

• Stopping criteria
– Based on a specified number of generations
8
Model - Genetic Algorithm
Population
(about 100)

Select profitable plans
as parents
Crossover
Point

New
Individuals

Each bit string in the population
can be decoded as a complete
marketing plan (schedule and price)

Replace less
profitable plans
Mutation

9
Model - GA Encoding
DECL;&C;CITY;NOM;DFW;ABQ;MCO;MSY;SAT;TUL
DECL;&W;WAIT;ORD;0;5;10;15;20;25;30;45;60;75;90;120;150;180;210
# Skeleton schedule to be substituted
BTRT;AA;F10;&C;&W;&C;&W;&C;&W;&C;&W;&C;&W;&C;&W
BTRT;AA;S80;&C;&W;&C;&W;&C;&W;&C;&W;&C;&W;&C;&W
# OA Flt Leg;Carrier;Orig;Dest;DepTime;ArrTime
FLEG;DL;ABQ;DFW;1030;1206;100;25
FLEG;DL;ABQ;DFW;1630;1805;100;25
# Market definitions
MSEG;ABQ;DFW;Y;105.184;102.163;0;LOGIT
MSEG;ABQ;DFW;M;105.184;81.73;0;LOGIT
MSEG;ABQ;DFW;Q;105.184;61.2975;0;LOGIT

10
Model - GA Encoding
• What do planes do?
– Fly, wait, fly, wait, fly, wait, etc…
– Wait time is minimum ground time + additional
– Network is a collection of aircraft cycles

• GA replaces the parameter of the route string with
a value from the named define set
– DECL;&C;CITY;NOM;DFW;ABQ;MCO;MSY;SAT;TUL
DECL;&W;WAIT;ORD;0;5;10;15;20;25;…
BTRT;AA;F10;&C;&W;&C;&W;&C;&W;&C;&W;&C;&W;&C;&W

• One sample substitution
– BTRT;AA;F10;DFW;5;ABQ;15;MCO;30…

11
Model - GA Encoding
• Heuristic to ensure that only feasible cycles are
created and used in the schedule
• Can create restricted subsets, i.e. don’t send
narrow body aircraft to Europe
– DECL;&C_S80;CITY;NOM;DFW;SAT;MIA;MCO...
DECL;&C_767;CITY;NOM;DFW;ORY;LHR;FRA...
BTRT;AA;767;&C_767;&W;&C_767;&W;&C_767;&W...

• Encode price changes

12
Model - Passenger Preference
• Both logit & QSI models are supported
– Selectable at the market-segment level

• Models take into account
– Time Of Day (TOD) utility, based on a passenger’s
preferred departure / arrival times and the difference
between these times and the actual schedule
– Price utility, taking into account a passenger’s
preference for a given fare amount and restrictions
– Service utility for aircraft type and direct vs. connecting
service
13
Passenger Preference (cont.)
 E Padj  P0 
Dadj  D0 1 

P0


Dadj
Adjusted market demand
D0

Base market demand

Padj

Adjusted price

P0

Base price

E

Elasticity
14
Model - Yield Management
• Uses an O&D YM optimizer
– Don’t need a GA for this

max
s.t.

ˆ

 as

ˆ
RTotalYM   Rs   ys f ( ys )dys as  f ( ys )dy s 
sSvc
0

ˆ
as


ˆ
 as CAPj j

sS j

ˆ
as 0

s S
15
Model - Spill
• Traffic is found by spilling demand based on
allocations, using standard spill model:
–
–
–
–

Trafficj = P(Dj<Xj)E(Dj|Dj<Xj) + P(Dj>Xj)Xj
Where:
Dj = demand for market/class j
Xj = yield management allocation for market/class j,
based on the sum of bid prices for itinerary j

16
Model - Outputs
• Marketing Plan
–
–
–
–

• Statistics
–
–
–
–
–

Prices
Timetable
Capacity allocation
Bid prices

17

Profit
Revenue
Operating costs
Spill
Demand (OD and flight)
Results - Sample Problem
•
•
•
•
•

Six cities
One hub
3 aircraft
30 O&Ds
One competitor

TUL

ABQ

DFW

SAT

18

MCO

MSY
Results - Sample Output
ABQ

DFW

• Price variations

SAT

– + $20 on DFW-MCO
– + $10 on DFW-MSY
– Assumes competitors match
changes

TUL

MSY
MCO
SAT

MSY
SAT
MCO

• Statistics
– Profit is $47,327
– Without varying the price,
the model only makes
$44,302 (but with a
different schedule)

SAT
TUL
ABQ

19
Results - Solution Quality
Algorithm Progress Over Time
50000
45000
40000
35000
Max

25000

Avg
20000
15000
10000
5000
100

89

78

67

56

45

34

23

12

0
1

Profit

30000

Generation

20

• Less profitable plans are
progressively eliminated
from the population.
Hence, the average profit
approaches the maximum
• Approximately 100
generations are required to
reach a plateau
Results - Solution Quality
• Running the model several times generates
different plans having little variance in
profitability
–
–
–
–
–

Run 1: $47,985
Run 2: $48,995
Run 3: $47,837
Run 4: $48,291
Run 5: $48,290

• The ability to vary price affects the schedule that
is generated
21
Results - Solution Quality
• Statistical model to determine solution quality.
– Can’t find globally optimal solution
– Confidence interval to estimate where the global
optimum is likely to be. Ref: Smith & Sucur, 1996
– We’re 95% confident we’re within 3% of optimal
Frequency

Model
results

Profitability

22

Global Optimal

Confidence
interval
Results - Sensitivity Analysis
• Vary each of the input parameters
• Percent change in output for a 1% change in input
• Can be used to determine
– What happens to a schedule’s structure as the inputs are
varied
– The change in outputs, particularly profit, as a function
of inputs

23
Results - Sensitivity Analysis
2

1.5

1

0.5

Operational Cost

0

Fleet Size
-0.5

Demand Elasticity
Demand

-1
Profit

Profit
Margin

CV100
Load
Factor

Yield
per
pass.

Yield
per
ASM

24

Yield
per
RPM
Results - Sensitivity Analysis
1.2
1
0.8
0.6
0.4
0.2
0

Operational Cost

-0.2
Fleet Size
-0.4
Demand Elasticity

-0.6
-0.8

Demand

-1
Nonstop
freq.

CV100
Conn.
freq. as
a % of

Nonstop
traff.

Connect
traff.

25

Nonstop
traff. as
Results - Schedule Structure
• Varying the demand CV has a visible effect on schedule structure and
profitability. Specifically, at a higher CV, the schedule generation has
more emphasis on connections, fewer flights and is less profitable
ABQ
MSY
TUL

DFW

cv=0.4
lf=76%
profit=$25034

DFW

MCO
SAT

0830

SAT

ABQ

ABQ

SAT

SAT

MCO
ABQ

MCO
ABQ

cv=0.1
lf=93%
profit=$48303

SAT
ABQ

ABQ
TUL

1500

TUL
MSY
TUL
MCO

SAT

26

SAT

SAT
MCO
Results - Scalability
• 98% of CPU used in the objective function
• 12 aircraft, with prices, took about 2 days
– Sun Super SPARC based system
– Some code not optimized (i.e. connection generator)

• What could we do today?
– CPU is 10x faster
– Can easily parallelize on MPP or networked machines
– Should be able to handle 50-100 aircraft
27
Conclusion - IPM Family Tree
Simultaneous
YM & Pricing
While IPM never
made production,
fragments of code
and ideas generated
an explosion of
follow-on models

O&D FAM

FLITEWISE

Price Balance
Statistic

IPM
28

Frequency
Model
Conclusion
• GA may not be practical for a large airline
– Runtime
– Some constraints not considered

• Potentially useful for
–
–
–
–

High-level analysis
Long-term planning
New hub or alliance planning
Research

• Catalyst for integrated planning
29
References
• Goldberg, D.E. [1989]. Genetic Algorithms in Search, Optimization,
and Machine Learning. Addison-Wesley.
• Smith, B.C., Sucur, M. [1996], Analysis of Solution Quality in
Schedule Planning, AGIFORS Symposium Atlanta GA
• Jacobs T.L., Ratliff R.M. & Smith B.C., [2000] Soaring with
Synchronized Systems, ORMS Today

30

More Related Content

Viewers also liked

Genetic Algorithm for Process Scheduling
Genetic Algorithm for Process SchedulingGenetic Algorithm for Process Scheduling
Genetic Algorithm for Process Scheduling
Login Technoligies
 
STUDY ON PROJECT MANAGEMENT THROUGH GENETIC ALGORITHM
STUDY ON PROJECT MANAGEMENT THROUGH GENETIC ALGORITHMSTUDY ON PROJECT MANAGEMENT THROUGH GENETIC ALGORITHM
STUDY ON PROJECT MANAGEMENT THROUGH GENETIC ALGORITHM
Avay Minni
 
Himanshu Arora_Nurse Scheduling using GA
Himanshu Arora_Nurse Scheduling using GAHimanshu Arora_Nurse Scheduling using GA
Himanshu Arora_Nurse Scheduling using GA
HIMANSHU ARORA
 
Gluco Sentient Final NSF I-Corps presentation
Gluco Sentient Final NSF I-Corps presentationGluco Sentient Final NSF I-Corps presentation
Gluco Sentient Final NSF I-Corps presentation
Stanford University
 
Evolutionary computation and_applications
Evolutionary computation and_applicationsEvolutionary computation and_applications
Evolutionary computation and_applications
ddawar
 
CREW SCHEDULING
CREW SCHEDULINGCREW SCHEDULING
CREW SCHEDULING
Evren E
 
HUMIES presentation: Evolutionary design of energy functions for protein str...
HUMIES presentation: Evolutionary design of energy functions  for protein str...HUMIES presentation: Evolutionary design of energy functions  for protein str...
HUMIES presentation: Evolutionary design of energy functions for protein str...
Natalio Krasnogor
 

Viewers also liked (19)

Genetic Algorithm for Process Scheduling
Genetic Algorithm for Process SchedulingGenetic Algorithm for Process Scheduling
Genetic Algorithm for Process Scheduling
 
Simulated annealing
Simulated annealingSimulated annealing
Simulated annealing
 
STUDY ON PROJECT MANAGEMENT THROUGH GENETIC ALGORITHM
STUDY ON PROJECT MANAGEMENT THROUGH GENETIC ALGORITHMSTUDY ON PROJECT MANAGEMENT THROUGH GENETIC ALGORITHM
STUDY ON PROJECT MANAGEMENT THROUGH GENETIC ALGORITHM
 
Himanshu Arora_Nurse Scheduling using GA
Himanshu Arora_Nurse Scheduling using GAHimanshu Arora_Nurse Scheduling using GA
Himanshu Arora_Nurse Scheduling using GA
 
Logix2017
Logix2017Logix2017
Logix2017
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Game-Informed? Risk Assessment
Game-Informed? Risk Assessment Game-Informed? Risk Assessment
Game-Informed? Risk Assessment
 
Gluco Sentient Final NSF I-Corps presentation
Gluco Sentient Final NSF I-Corps presentationGluco Sentient Final NSF I-Corps presentation
Gluco Sentient Final NSF I-Corps presentation
 
International Search Engine Optimisation White Paper: how to speak the langua...
International Search Engine Optimisation White Paper: how to speak the langua...International Search Engine Optimisation White Paper: how to speak the langua...
International Search Engine Optimisation White Paper: how to speak the langua...
 
Survival of the Fittest: Using Genetic Algorithm for Data Mining Optimization
Survival of the Fittest: Using Genetic Algorithm for Data Mining OptimizationSurvival of the Fittest: Using Genetic Algorithm for Data Mining Optimization
Survival of the Fittest: Using Genetic Algorithm for Data Mining Optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Travelling salesman problem
Travelling salesman problemTravelling salesman problem
Travelling salesman problem
 
Business model canvas-Hetero Healthcare Ltd(Pharmaceutical Company)
Business model canvas-Hetero Healthcare Ltd(Pharmaceutical Company)Business model canvas-Hetero Healthcare Ltd(Pharmaceutical Company)
Business model canvas-Hetero Healthcare Ltd(Pharmaceutical Company)
 
Genetic Algorithm for task scheduling in Cloud Computing Environment
Genetic Algorithm for task scheduling in Cloud Computing EnvironmentGenetic Algorithm for task scheduling in Cloud Computing Environment
Genetic Algorithm for task scheduling in Cloud Computing Environment
 
Evolutionary computation and_applications
Evolutionary computation and_applicationsEvolutionary computation and_applications
Evolutionary computation and_applications
 
Lecture 29 genetic algorithm-example
Lecture 29 genetic algorithm-exampleLecture 29 genetic algorithm-example
Lecture 29 genetic algorithm-example
 
CREW SCHEDULING
CREW SCHEDULINGCREW SCHEDULING
CREW SCHEDULING
 
HUMIES presentation: Evolutionary design of energy functions for protein str...
HUMIES presentation: Evolutionary design of energy functions  for protein str...HUMIES presentation: Evolutionary design of energy functions  for protein str...
HUMIES presentation: Evolutionary design of energy functions for protein str...
 
Time-table Scheduling
Time-table SchedulingTime-table Scheduling
Time-table Scheduling
 

Similar to Airline scheduling and pricing using a genetic algorithm

Sydney Oracle Meetup - access paths
Sydney Oracle Meetup - access pathsSydney Oracle Meetup - access paths
Sydney Oracle Meetup - access paths
paulguerin
 

Similar to Airline scheduling and pricing using a genetic algorithm (20)

six sigma project
six sigma projectsix sigma project
six sigma project
 
12 theory of cost and estimation
12 theory of cost and estimation12 theory of cost and estimation
12 theory of cost and estimation
 
2014 PV Performance Modeling Workshop: Optimization strategies with Pvsyst fo...
2014 PV Performance Modeling Workshop: Optimization strategies with Pvsyst fo...2014 PV Performance Modeling Workshop: Optimization strategies with Pvsyst fo...
2014 PV Performance Modeling Workshop: Optimization strategies with Pvsyst fo...
 
J. Adcock Bi Portfolio
J. Adcock   Bi PortfolioJ. Adcock   Bi Portfolio
J. Adcock Bi Portfolio
 
Cost Theory and Estimation
Cost Theory and EstimationCost Theory and Estimation
Cost Theory and Estimation
 
Ch08
Ch08Ch08
Ch08
 
NAFEMS Americas Elements presentation
NAFEMS Americas Elements presentationNAFEMS Americas Elements presentation
NAFEMS Americas Elements presentation
 
Scheduling And Revenue Management Process
Scheduling And Revenue Management ProcessScheduling And Revenue Management Process
Scheduling And Revenue Management Process
 
Sydney Oracle Meetup - access paths
Sydney Oracle Meetup - access pathsSydney Oracle Meetup - access paths
Sydney Oracle Meetup - access paths
 
6-Sigma Training-Awareness for automobile industries
6-Sigma Training-Awareness for automobile industries6-Sigma Training-Awareness for automobile industries
6-Sigma Training-Awareness for automobile industries
 
Uav Stability Augmentation System Usas
Uav Stability Augmentation System   UsasUav Stability Augmentation System   Usas
Uav Stability Augmentation System Usas
 
Gdmp model workshop 5 - structure of tim
Gdmp model workshop   5 - structure of timGdmp model workshop   5 - structure of tim
Gdmp model workshop 5 - structure of tim
 
130135794-Training-Outline-for-Management-Trainee.pptx
130135794-Training-Outline-for-Management-Trainee.pptx130135794-Training-Outline-for-Management-Trainee.pptx
130135794-Training-Outline-for-Management-Trainee.pptx
 
Top 10 tips for Oracle performance
Top 10 tips for Oracle performanceTop 10 tips for Oracle performance
Top 10 tips for Oracle performance
 
R, Scikit-Learn and Apache Spark ML - What difference does it make?
R, Scikit-Learn and Apache Spark ML - What difference does it make?R, Scikit-Learn and Apache Spark ML - What difference does it make?
R, Scikit-Learn and Apache Spark ML - What difference does it make?
 
Logistics Mgt Webcast
Logistics Mgt WebcastLogistics Mgt Webcast
Logistics Mgt Webcast
 
Adaptive Query Optimization
Adaptive Query OptimizationAdaptive Query Optimization
Adaptive Query Optimization
 
Six sigma training
Six sigma trainingSix sigma training
Six sigma training
 
Six sigma training
Six sigma trainingSix sigma training
Six sigma training
 
BigRep - NOAH19 Berlin
BigRep - NOAH19 BerlinBigRep - NOAH19 Berlin
BigRep - NOAH19 Berlin
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

Airline scheduling and pricing using a genetic algorithm

  • 1. Macro-level Scheduling and Pricing Using a Genetic Algorithm Alan Walker Sabre - September 2001 1
  • 3. Introduction • Suppose you start from nothing – – – – Clean sheet of paper Information on your competitors Do everything - Fleet, timetable, FAM, YM & pricing Can you even handle 3 aircraft? • This is a big, ugly search space – Non-linear – Stochastic – Discontinuous 3
  • 4. Introduction • History of the problem – We didn’t have an optimization model to do this – Built a simple GA-based approach in late 1996 – Code fragments, ideas and discussions were a catalyst for integrated planning models using more traditional optimization techniques • Why revisit it now? – Computing resources are much greater – Could be useful to others – Interesting results 4
  • 5. Model Structure Inputs Plan New Individuals Population of Marketing Plans (Price and Schedule) GA - reproduction - mutation Fittest Individuals (higher profit) Profitability Outputs 5 Pax Preference Demand Model Yield Mgmt. Optimization Spill Model
  • 6. Model - Inputs • Passenger preferences – – – – – – • Schedule parameters – Fleet type and number – Aircraft capacity and operating costs – Block times / model – Minimum turn times Market segment Base demand Base price Elasticity Time of day preference Service preference • OA schedule and price 6
  • 7. Model - Genetic Algorithm • General – Each potential solution is represented as a bit-string – The bit-string contains all information associated with scheduling and pricing decisions – Simulates evolution with survival-of-the-fittest • Has been applied to diverse range of difficult combinatorial problems in other industries – Parametric design of aircraft and aircraft engines – Job-shop scheduling – Strategy discovery for multi-player games 7
  • 8. Model - Genetic Algorithm • Initial population – A set of potential solutions is generated randomly • Reproduction – Parents chosen randomly, weighted by profit – New solutions are generated by combining elements from 2 parents, using random crossover operations – Mutation occurs randomly to bits within the offspring – New individuals replace less profitable solutions • Stopping criteria – Based on a specified number of generations 8
  • 9. Model - Genetic Algorithm Population (about 100) Select profitable plans as parents Crossover Point New Individuals Each bit string in the population can be decoded as a complete marketing plan (schedule and price) Replace less profitable plans Mutation 9
  • 10. Model - GA Encoding DECL;&C;CITY;NOM;DFW;ABQ;MCO;MSY;SAT;TUL DECL;&W;WAIT;ORD;0;5;10;15;20;25;30;45;60;75;90;120;150;180;210 # Skeleton schedule to be substituted BTRT;AA;F10;&C;&W;&C;&W;&C;&W;&C;&W;&C;&W;&C;&W BTRT;AA;S80;&C;&W;&C;&W;&C;&W;&C;&W;&C;&W;&C;&W # OA Flt Leg;Carrier;Orig;Dest;DepTime;ArrTime FLEG;DL;ABQ;DFW;1030;1206;100;25 FLEG;DL;ABQ;DFW;1630;1805;100;25 # Market definitions MSEG;ABQ;DFW;Y;105.184;102.163;0;LOGIT MSEG;ABQ;DFW;M;105.184;81.73;0;LOGIT MSEG;ABQ;DFW;Q;105.184;61.2975;0;LOGIT 10
  • 11. Model - GA Encoding • What do planes do? – Fly, wait, fly, wait, fly, wait, etc… – Wait time is minimum ground time + additional – Network is a collection of aircraft cycles • GA replaces the parameter of the route string with a value from the named define set – DECL;&C;CITY;NOM;DFW;ABQ;MCO;MSY;SAT;TUL DECL;&W;WAIT;ORD;0;5;10;15;20;25;… BTRT;AA;F10;&C;&W;&C;&W;&C;&W;&C;&W;&C;&W;&C;&W • One sample substitution – BTRT;AA;F10;DFW;5;ABQ;15;MCO;30… 11
  • 12. Model - GA Encoding • Heuristic to ensure that only feasible cycles are created and used in the schedule • Can create restricted subsets, i.e. don’t send narrow body aircraft to Europe – DECL;&C_S80;CITY;NOM;DFW;SAT;MIA;MCO... DECL;&C_767;CITY;NOM;DFW;ORY;LHR;FRA... BTRT;AA;767;&C_767;&W;&C_767;&W;&C_767;&W... • Encode price changes 12
  • 13. Model - Passenger Preference • Both logit & QSI models are supported – Selectable at the market-segment level • Models take into account – Time Of Day (TOD) utility, based on a passenger’s preferred departure / arrival times and the difference between these times and the actual schedule – Price utility, taking into account a passenger’s preference for a given fare amount and restrictions – Service utility for aircraft type and direct vs. connecting service 13
  • 14. Passenger Preference (cont.)  E Padj  P0  Dadj  D0 1   P0   Dadj Adjusted market demand D0 Base market demand Padj Adjusted price P0 Base price E Elasticity 14
  • 15. Model - Yield Management • Uses an O&D YM optimizer – Don’t need a GA for this max s.t. ˆ   as  ˆ RTotalYM   Rs   ys f ( ys )dys as  f ( ys )dy s  sSvc 0  ˆ as   ˆ  as CAPj j sS j ˆ as 0 s S 15
  • 16. Model - Spill • Traffic is found by spilling demand based on allocations, using standard spill model: – – – – Trafficj = P(Dj<Xj)E(Dj|Dj<Xj) + P(Dj>Xj)Xj Where: Dj = demand for market/class j Xj = yield management allocation for market/class j, based on the sum of bid prices for itinerary j 16
  • 17. Model - Outputs • Marketing Plan – – – – • Statistics – – – – – Prices Timetable Capacity allocation Bid prices 17 Profit Revenue Operating costs Spill Demand (OD and flight)
  • 18. Results - Sample Problem • • • • • Six cities One hub 3 aircraft 30 O&Ds One competitor TUL ABQ DFW SAT 18 MCO MSY
  • 19. Results - Sample Output ABQ DFW • Price variations SAT – + $20 on DFW-MCO – + $10 on DFW-MSY – Assumes competitors match changes TUL MSY MCO SAT MSY SAT MCO • Statistics – Profit is $47,327 – Without varying the price, the model only makes $44,302 (but with a different schedule) SAT TUL ABQ 19
  • 20. Results - Solution Quality Algorithm Progress Over Time 50000 45000 40000 35000 Max 25000 Avg 20000 15000 10000 5000 100 89 78 67 56 45 34 23 12 0 1 Profit 30000 Generation 20 • Less profitable plans are progressively eliminated from the population. Hence, the average profit approaches the maximum • Approximately 100 generations are required to reach a plateau
  • 21. Results - Solution Quality • Running the model several times generates different plans having little variance in profitability – – – – – Run 1: $47,985 Run 2: $48,995 Run 3: $47,837 Run 4: $48,291 Run 5: $48,290 • The ability to vary price affects the schedule that is generated 21
  • 22. Results - Solution Quality • Statistical model to determine solution quality. – Can’t find globally optimal solution – Confidence interval to estimate where the global optimum is likely to be. Ref: Smith & Sucur, 1996 – We’re 95% confident we’re within 3% of optimal Frequency Model results Profitability 22 Global Optimal Confidence interval
  • 23. Results - Sensitivity Analysis • Vary each of the input parameters • Percent change in output for a 1% change in input • Can be used to determine – What happens to a schedule’s structure as the inputs are varied – The change in outputs, particularly profit, as a function of inputs 23
  • 24. Results - Sensitivity Analysis 2 1.5 1 0.5 Operational Cost 0 Fleet Size -0.5 Demand Elasticity Demand -1 Profit Profit Margin CV100 Load Factor Yield per pass. Yield per ASM 24 Yield per RPM
  • 25. Results - Sensitivity Analysis 1.2 1 0.8 0.6 0.4 0.2 0 Operational Cost -0.2 Fleet Size -0.4 Demand Elasticity -0.6 -0.8 Demand -1 Nonstop freq. CV100 Conn. freq. as a % of Nonstop traff. Connect traff. 25 Nonstop traff. as
  • 26. Results - Schedule Structure • Varying the demand CV has a visible effect on schedule structure and profitability. Specifically, at a higher CV, the schedule generation has more emphasis on connections, fewer flights and is less profitable ABQ MSY TUL DFW cv=0.4 lf=76% profit=$25034 DFW MCO SAT 0830 SAT ABQ ABQ SAT SAT MCO ABQ MCO ABQ cv=0.1 lf=93% profit=$48303 SAT ABQ ABQ TUL 1500 TUL MSY TUL MCO SAT 26 SAT SAT MCO
  • 27. Results - Scalability • 98% of CPU used in the objective function • 12 aircraft, with prices, took about 2 days – Sun Super SPARC based system – Some code not optimized (i.e. connection generator) • What could we do today? – CPU is 10x faster – Can easily parallelize on MPP or networked machines – Should be able to handle 50-100 aircraft 27
  • 28. Conclusion - IPM Family Tree Simultaneous YM & Pricing While IPM never made production, fragments of code and ideas generated an explosion of follow-on models O&D FAM FLITEWISE Price Balance Statistic IPM 28 Frequency Model
  • 29. Conclusion • GA may not be practical for a large airline – Runtime – Some constraints not considered • Potentially useful for – – – – High-level analysis Long-term planning New hub or alliance planning Research • Catalyst for integrated planning 29
  • 30. References • Goldberg, D.E. [1989]. Genetic Algorithms in Search, Optimization, and Machine Learning. Addison-Wesley. • Smith, B.C., Sucur, M. [1996], Analysis of Solution Quality in Schedule Planning, AGIFORS Symposium Atlanta GA • Jacobs T.L., Ratliff R.M. & Smith B.C., [2000] Soaring with Synchronized Systems, ORMS Today 30