FlyerTalk Forums - View Single Post - mileage run program
View Single Post
Old Jan 10, 2012 | 2:00 am
  #9  
rizwank
10 Years on Site
 
Join Date: Dec 2011
Location: New Orleans on a sabattical. My roots are in Los Angeles.
Programs: Chase Palladium, AMEX Plat, UA Plat, AA EXP, HH/SPG G, PC plat
Posts: 340
Originally Posted by SFOtoBOS
I wrote some perl code to take fare routing rules and come up with all possible routes. (Hopefully. UA's routing rules are so many lines long, but by using the timetable to trim down bogus routings it seems to process in reasonable time.) Then I have code that sorts those routes by distance and finally it looks through the timetable (using the published pdf timetable which I parse in) to find which routes one can actually fly. (Would be fun to play around with interesting constraints like equipment type, etc.)

SFOtoBos; any chance you can share that perl code?
rizwank is offline