| 1: Set |
| 2: Calculate |
| 3: while do |
| βSet , such that is max |
| βSet |
| βfor each do |
| Calculate and |
|
| βend for |
| Select from such that |
| ββ is minimum |
| Set |
| ββ |
| β , |
| β β |
| βSet |
| βSet |
| βUpdate links with the new reservations |
| 15: end while |
| 16: Populate |