Question: The booking limits for four fare classes are given as b = (b1, b2, b3, b4) = (20, 15, 5, 2). Suppose that until now
The booking limits for four fare classes are given as b = (b1, b2, b3, b4) = (20, 15, 5, 2). Suppose that until now 5 bookings are made for class 2 and 4 bookings are made for class 3. The following parts are independent.
a) (0.4 pts) Process a request for 2 bookings for class 4. Decide on accept/reject and then report the updated booking limits.
b) (0.4 pts) Process a request for 6 bookings for class 1. Decide on accept/reject and then report the updated booking limits.
c) (0.4 pts) Process a request for 2 bookings for class 3. Decide on accept/reject and then report the updated booking limits.
d) (0.4 pts) Process a cancellation of 2 bookings for class 3. Report the updated booking limits.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
