Professional Documents
Culture Documents
4. LP in Revenue Management
Templates: VacationAir_template.xlsx
3
4
Airline Deregulation (1978)
1938-1978, the Civil Aeronautics Board (CAB) set fares, routes, and
schedules for all interstate air transport
– Most major airlines favored this system due to guaranteed profits
– Led to inefficiency and higher costs
More than 150 airlines went bankrupt between 1979 and 2008.
Trade-off:
– When sell too many discounted seat, no enough seats for high-
valuation passengers
– When sell too few discounted seats, empty seats at takeoff
implying lost revenue
8
A Simple Example
Vacation Air is a regional airline that offers flights to and from Pittsburgh,
Newark, Charlotte, Myrtle Beach, and Orlando.
Vacation Air operates with two Boeing 757-200 airplanes, with one based
in Pittsburgh and the other in Newark. Each aircraft has a seating capacity
of 198 seats.
Departs Arrives
Aircraft
Number City Time City Time
1 Pittsburgh 8:00 am Charlotte 9:30 am
1 Charlotte 10:15 am Orlando 12:05 pm
1 Orlando 3:00 pm Charlotte 4:50 pm
1 Charlotte 5:30 pm Pittsburgh 7 pm
2 Newark 7:30 am Charlotte 9:20 am
2 Charlotte 10:10 am Myrtle Beach 11:00 am
2 Myrtle Beach 4:10 pm Charlotte 5 pm
2 Charlotte 5:40 pm Newark 7:30 pm
• At the end of the day, both planes return to their respective home
bases.
10
Morning Flights
We focus on the morning flights only.
Performance measure
Data needed
13
Mathematical Formulation
Input parameters:
Decision variables:
Objective function:
Constraints:
14
Spreadsheet Model for LP
Spreadsheet setup
– Input cells
– Changing cells
– Objective cell
– Constraint cells
Solver parameters
A B C D E F
1 Vacation Air
2
3 ODIF Origin Destination Fare Class Fare Demand
4 PCQ Pittsburgh Charlotte Q $ 196 49
5 PMQ Pittsburgh Myrtle Beach Q $ 295 66
6 POQ Pittsburgh Orlando Q $ 251 67
7 PCY Pittsburgh Charlotte Y $ 418 24
8 PMY Pittsburgh Myrtle Beach Y $ 502 9
9 POY Pittsburgh Orlando Y $ 616 16
10 NCQ Newark Charlotte Q $ 219 39
11 NMQ Newark Myrtle Beach Q $ 274 84
12 NOQ Newark Orlando Q $ 384 58
13 NCY Newark Charlotte Y $ 424 22
14 NMY Newark Myrtle Beach Y $ 488 11
15 NOY Newark Orlando Y $ 638 14
16 CMQ Charlotte Myrtle Beach Q $ 197 96
17 CMY Charlotte Myrtle Beach Y $ 418 12
18 COQ Charlotte Orlando Q $ 246 69
19 COY Charlotte Orlando Y $ 640 15
20
21 Plane Capacity 198
16
Decision/Changing Cells
• Changing cells: G4: G19
A B C D E F G
3 ODIF Origin Destination Fare Class Fare Demand Tickets Available
4 PCQ Pittsburgh Charlotte Q $ 196 49
5 PMQ Pittsburgh Myrtle Beach Q $ 295 66
6 POQ Pittsburgh Orlando Q $ 251 67
7 PCY Pittsburgh Charlotte Y $ 418 24
8 PMY Pittsburgh Myrtle Beach Y $ 502 9
9 POY Pittsburgh Orlando Y $ 616 16
10 NCQ Newark Charlotte Q $ 219 39
11 NMQ Newark Myrtle Beach Q $ 274 84
12 NOQ Newark Orlando Q $ 384 58
13 NCY Newark Charlotte Y $ 424 22
14 NMY Newark Myrtle Beach Y $ 488 11
15 NOY Newark Orlando Y $ 638 14
16 CMQ Charlotte Myrtle Beach Q $ 197 96
17 CMY Charlotte Myrtle Beach Y $ 418 12
18 COQ Charlotte Orlando Q $ 246 69
19 COY Charlotte Orlando Y $ 640 15
17
Objective Cell
• Revenue: B23 =sumproduct(E4:E19,G4:G19)
A B C D E F G
3 ODIF Origin Destination Fare Class Fare Demand Tickets Available
4 PCQ Pittsburgh Charlotte Q $ 196 49 20
5 PMQ Pittsburgh Myrtle Beach Q $ 295 66 20
6 POQ Pittsburgh Orlando Q $ 251 67 30
7 PCY Pittsburgh Charlotte Y $ 418 24 10
8 PMY Pittsburgh Myrtle Beach Y $ 502 9 5
9 POY Pittsburgh Orlando Y $ 616 16 10
10 NCQ Newark Charlotte Q $ 219 39 10
11 NMQ Newark Myrtle Beach Q $ 274 84 10
12 NOQ Newark Orlando Q $ 384 58 10
13 NCY Newark Charlotte Y $ 424 22 20
14 NMY Newark Myrtle Beach Y $ 488 11 10
15 NOY Newark Orlando Y $ 638 14 10
16 CMQ Charlotte Myrtle Beach Q $ 197 96 50
17 CMY Charlotte Myrtle Beach Y $ 418 12 10
18 COQ Charlotte Orlando Q $ 246 69 50
19 COY Charlotte Orlando Y $ 640 15 10
20
21 Plane Capacity 198
22 =SUMPRODUCT(E4:E19,G4:G19)
23 Max Rev $ 91,440
18
Constraint Cells
• For each ODIF: tickets available should be no more than its demand forecast
– e.g. G4 <= F4, G5 <= F5, …
– simplified version: G4:G19 <= F4:F19
• For each flight leg, the number of tickets available should be no more than
its capacity
– Enter in Cell C26 = sum(G4:G9), total tickets available for P-C flight leg
– Enter in Cell C27 = sum(G10:G15)
– Enter in Cell C28 = sum(G5,G8,G11, G14,G16, G17)
– Enter in Cell C29 = sum(G6,G9,G12,G15,G18,G19)
A B C D E
25 LHS =SUM(G4:G9) RHS
26 Leg 1 (P-C) 95 <= 198
27 Leg 2 (N-C) 70 <= 198
Capacity
28 Leg 3 (C-M) 105 <= 198
29 Leg 4 (C-O) 120 <= 198
20
Constraint Cells
21
A Heuristic Solution
Before proceeding to solve the linear program optimally, let's attempt a
simple and intuitive approach.
– Begin by assigning seats to the origin-destination combination with
the highest fare, subject to capacity and demand constraints.
– Next, proceed to book the maximum number of passengers on the
itinerary with the second-highest fare, taking into account
capacity and demand constraints.
– Continue until no more bookings can be made.
By comparing the revenue obtained from the intuitive approach with the
optimal revenue, we can determine the value gained from the optimization
process.
• To: Max
• Subject to Constraints
C26:C29 <= E26:E29
G4:G19 <= F4:F19
23
Add Constraints
Click “Add” button.
Difference is significant!
27
Issues of the Model and How to Fix Them
Demand constraint
– What if the forecasts are not accurate?
– What if the full fares are sold out and there are still seats reserved
for discounted fares?