Research Article
Optimizing Joint Decisions of Dynamic Pricing and Ticket Allocation for High-Speed Railway with Operators’ Risk Preference
1: Input: The maximum number of iterations , learning factor and , inertia weight . | 2: Generate randomly N particles, position matrix , velocity matrix , , | 3: fortodo | 4: for to do | 5: Calculate according to equation (1), (2), (3), (4); | 6: Input , and into the joint model(8), (10)–(14), obtain the ticket allocation quantity using CPLEX; | 7: Compute ; | If | Update and , record the price and the corresponding ticket allocation scheme ; | else | The optimal value still adopts the results obtained in generation . | 8: Update and according to equation (15) and (16), meanwhile ensure within the allowable range of ticket price. | 9: Output: The ticket price scheme p, the ticket allocation scheme x, the optimal fitness function value . |
|