Last edit by: canadiancow
FT members trying to earn a spot in the top 20:
canadiancow - 155k - Trip Log
DrunkCargo (selfloadingcargo) - Triplog
alc (aaalllccc) - 108,250 wings
philelite - ~82k
yvr76 (yvr-flyer) - ~120k
Clan Lindsay
yultraveler (oliviercn)
biglinguist - ~106k
YVRorange - 105k
Bonaventure - 100k~
travelgirl_SE (travelgirl)
supremekai
canadiancow - 155k - Trip Log
DrunkCargo (selfloadingcargo) - Triplog
alc (aaalllccc) - 108,250 wings
philelite - ~82k
yvr76 (yvr-flyer) - ~120k
Clan Lindsay
yultraveler (oliviercn)
biglinguist - ~106k
YVRorange - 105k
Bonaventure - 100k~
travelgirl_SE (travelgirl)
supremekai
Earn Your Wings - Fourth Edition
#181
Join Date: Jan 2013
Location: YVR
Programs: AC 100K SE (*G), Marriott P, SPG G, Hilton D
Posts: 611
Not 14,000 routes, 14,000 tickets. That's maybe 2000 total itineraries. And I'm not sure it's reasonable to assume they'd share enough for this to work. Obviously I'd cache results. Most likely is I'd take the top 1000 itineraries on a wings/day basis, then see if any are significantly cheaper than the rest.
But I'm worried that spending $500 would only save me $200
But I'm worried that spending $500 would only save me $200
With Google Flights you could put all the segments into a single request string like:
sel=YYJYVR0AC8054-YVRYEG0AC234,YEGYXE0AC8486-YXEYWG0AC8294,YWGYQR0AC8349-YQRYVR0AC8573;a=AC;eo=e
Then just scrape up the price from the returned page and Google Flights is quite fast too.
I'd be willing to code something up for you if you let me tag along with you on your final itinerary
Last edited by philelite; Apr 24, 2015 at 4:58 pm
#182
Suspended
Join Date: Jun 2009
Location: YYZ
Programs: AC E50K (*G) WS Gold | SPG/Fairmont Plat Hilton/Hyatt Diamond Marriott Silver | National Exec Elite
Posts: 19,284
Cow, i'm not sure if you do have access to a cluster, but since your script is running locally, if you need access to "the cloud" I can hook you up with Azure. I just checked. ^
#183
A FlyerTalk Posting Legend
Original Poster
Join Date: Sep 2012
Location: SFO
Programs: AC SE MM, BA Gold, SQ Silver, Bonvoy Tit LTG, Hyatt Glob, HH Diamond
Posts: 44,354
Why don't you narrow it down to 100-200 itineraries that are optimal for time/wings? Then running a bunch of threads to send sample itineraries through a web based tool like EF, ITA, or Google Flights? Screen scrape the results to get the price? At least this is free.
With Google Flights you could put all the segments into a single request string like:
sel=YYJYVR0AC8054-YVRYEG0AC234,YEGYXE0AC8486-YXEYWG0AC8294,YWGYQR0AC8349-YQRYVR0AC8573;a=AC;eo=e
With Google Flights you could put all the segments into a single request string like:
sel=YYJYVR0AC8054-YVRYEG0AC234,YEGYXE0AC8486-YXEYWG0AC8294,YWGYQR0AC8349-YQRYVR0AC8573;a=AC;eo=e
It also lets you book online, if you're happy with the fare classes
Actually, even if I wanted to upgrade some to Flex, I'd probably book online and then call in. Way easier to do that than feed the whole thing over the phone
As discussed, unless I can quickly price every itinerary, more power isn't really useful, but I appreciate the offer.
#184
A FlyerTalk Posting Legend
Original Poster
Join Date: Sep 2012
Location: SFO
Programs: AC SE MM, BA Gold, SQ Silver, Bonvoy Tit LTG, Hyatt Glob, HH Diamond
Posts: 44,354
Oh another thing about pricing. How would you price this (which I flew last year)?
SFO-YYZ-YWG-YQR-YWG-YXE-YWG-YYZ-YQB-YUL-YHZ-YUL-YQB-YUL-YHZ-YUL-YQB-YUL-YWG-YXE-YWG-YQR-YVR-YEG-YWG-YEG-YXE-YEG-YYZ-YQB-YUL-YQB-YOW-YUL-YHZ-YQY-YHZ-YOW-YQB-YYZ-YWG-YQR-YVR-YEG-YXE-YEG-YYC-YEG-YXE-YEG-YWG-YXE-YWG-YQR-YWG-YXE-YWG-YYZ-BOS-YHZ-YYZ-LAX
Where do you break the itinerary for the optimal price? It's not quite as easy as just passing it all into a service.
I have a pretty good idea of how I would write code to split it up, but it certainly isn't "obvious", and I haven't tested it.
SFO-YYZ-YWG-YQR-YWG-YXE-YWG-YYZ-YQB-YUL-YHZ-YUL-YQB-YUL-YHZ-YUL-YQB-YUL-YWG-YXE-YWG-YQR-YVR-YEG-YWG-YEG-YXE-YEG-YYZ-YQB-YUL-YQB-YOW-YUL-YHZ-YQY-YHZ-YOW-YQB-YYZ-YWG-YQR-YVR-YEG-YXE-YEG-YYC-YEG-YXE-YEG-YWG-YXE-YWG-YQR-YWG-YXE-YWG-YYZ-BOS-YHZ-YYZ-LAX
Where do you break the itinerary for the optimal price? It's not quite as easy as just passing it all into a service.
I have a pretty good idea of how I would write code to split it up, but it certainly isn't "obvious", and I haven't tested it.
#185
Join Date: May 2013
Location: YYT/YYC/TPE
Programs: AC SE, UA, National Exec Elite, Nexus, GE
Posts: 1,810
Does badge sequence matter in calculating the Globetrotter badges?
I was finalizing my itinerary and I just thought of one thing - does the sequence in which you get the destination badges affect how your Globetrotter badges get calculated? For example, the Cross Channel badges require 2 of 3 of either LHR, CDG, or BRU. Let's say I get two LHR badges first, then a month later I get 2 CDG badges, and finally two weeks later I get 2 BRU badges. Does this mean that I only get 2 Cross Channel badges because the LHR-CDG combos have been used up and cannot be recalculated to be LHR-BRU, LHR-CDG, and CDG-BRU?
I'd like to know the answer so I can re-route if necessary.
I'd like to know the answer so I can re-route if necessary.
#186
A FlyerTalk Posting Legend
Original Poster
Join Date: Sep 2012
Location: SFO
Programs: AC SE MM, BA Gold, SQ Silver, Bonvoy Tit LTG, Hyatt Glob, HH Diamond
Posts: 44,354
I was finalizing my itinerary and I just thought of one thing - does the sequence in which you get the destination badges affect how your Globetrotter badges get calculated? For example, the Cross Channel badges require 2 of 3 of either LHR, CDG, or BRU. Let's say I get two LHR badges first, then a month later I get 2 CDG badges, and finally two weeks later I get 2 BRU badges. Does this mean that I only get 2 Cross Channel badges because the LHR-CDG combos have been used up and cannot be recalculated to be LHR-BRU, LHR-CDG, and CDG-BRU?
I'd like to know the answer so I can re-route if necessary.
I'd like to know the answer so I can re-route if necessary.
#187
Join Date: May 2013
Location: YYT/YYC/TPE
Programs: AC SE, UA, National Exec Elite, Nexus, GE
Posts: 1,810
Thanks. See you on the other side. My routing is more restrictive as I need to fly between YYT and YYC/YEG, so I can only modify them so much without violating my target time to be at home or at work. Throw in the FBO flights then I have a challenge ahead. Won't make 100K wings since flights for two rotations were already booked before the contest began. Hopefully what I planned will be enough.
#188
Join Date: Jan 2013
Location: YVR
Programs: AC:50K
Posts: 708
Oh another thing about pricing. How would you price this (which I flew last year)?
SFO-YYZ-YWG-YQR-YWG-YXE-YWG-YYZ-YQB-YUL-YHZ-YUL-YQB-YUL-YHZ-YUL-YQB-YUL-YWG-YXE-YWG-YQR-YVR-YEG-YWG-YEG-YXE-YEG-YYZ-YQB-YUL-YQB-YOW-YUL-YHZ-YQY-YHZ-YOW-YQB-YYZ-YWG-YQR-YVR-YEG-YXE-YEG-YYC-YEG-YXE-YEG-YWG-YXE-YWG-YQR-YWG-YXE-YWG-YYZ-BOS-YHZ-YYZ-LAX
Where do you break the itinerary for the optimal price? It's not quite as easy as just passing it all into a service.
I have a pretty good idea of how I would write code to split it up, but it certainly isn't "obvious", and I haven't tested it.
SFO-YYZ-YWG-YQR-YWG-YXE-YWG-YYZ-YQB-YUL-YHZ-YUL-YQB-YUL-YHZ-YUL-YQB-YUL-YWG-YXE-YWG-YQR-YVR-YEG-YWG-YEG-YXE-YEG-YYZ-YQB-YUL-YQB-YOW-YUL-YHZ-YQY-YHZ-YOW-YQB-YYZ-YWG-YQR-YVR-YEG-YXE-YEG-YYC-YEG-YXE-YEG-YWG-YXE-YWG-YQR-YWG-YXE-YWG-YYZ-BOS-YHZ-YYZ-LAX
Where do you break the itinerary for the optimal price? It's not quite as easy as just passing it all into a service.
I have a pretty good idea of how I would write code to split it up, but it certainly isn't "obvious", and I haven't tested it.
#189
A FlyerTalk Posting Legend
Original Poster
Join Date: Sep 2012
Location: SFO
Programs: AC SE MM, BA Gold, SQ Silver, Bonvoy Tit LTG, Hyatt Glob, HH Diamond
Posts: 44,354
#190
Join Date: Sep 2014
Location: sqrt(-united states of apologist)
Programs: *$ Green
Posts: 5,403
The set of possibilities does not seem that big (ie it's finite and fits on my screen).
I am sure there is a very easy solution that we have overlooked.
Nevertheless, I like how this thread has turned into a full blow tech support thread LOL
I am sure there is a very easy solution that we have overlooked.
Nevertheless, I like how this thread has turned into a full blow tech support thread LOL
#191
Join Date: Apr 2013
Location: YVR
Programs: Ice Cream Club, AC SE MM, Bonvoy Life Plat
Posts: 2,803
glta!
#192
Join Date: Apr 2013
Location: YVR
Programs: Ice Cream Club, AC SE MM, Bonvoy Life Plat
Posts: 2,803
Fanning the flames
So I threw this into my algo for EYW1 (which admittedly was overkill for that contest) but I did fly some UA and USAir to reposition. If you only consider AC flights, you could be missing these opportunities to redeye a transcontinental and add the other cost. Theatre badge kinda looks like a candidate for this?
Now, the problem becomes slightly bigger, but still manageable in local memory without adding pricing into the mix. Still just NP-Hard.
If a creative enough scrape was developed, such a tool could actually be useful for competing airlines; and something tells me they may already do this to each other. If this can happen, then I suspect public info is being "stolen" constantly.
Now, the problem becomes slightly bigger, but still manageable in local memory without adding pricing into the mix. Still just NP-Hard.
If a creative enough scrape was developed, such a tool could actually be useful for competing airlines; and something tells me they may already do this to each other. If this can happen, then I suspect public info is being "stolen" constantly.
#194
Suspended
Join Date: Jun 2009
Location: YYZ
Programs: AC E50K (*G) WS Gold | SPG/Fairmont Plat Hilton/Hyatt Diamond Marriott Silver | National Exec Elite
Posts: 19,284
#195
Join Date: Jul 2008
Location: YVR
Programs: OZ Diamond, Jiffypark Manhattan Gold
Posts: 4,485
Goddamn I hate when they do these! I almost never book anything directly on AC.com cuz my flying is through our travel agent, and my leisure flying is often not AC or booked on an OTA. Sure enough, I just booked a flight to BOG about a week ago on AC.com...not gonna get any damn credit for it!
Wait...it says book, but it doesn't say where, so does that not matter?
Wait...it says book, but it doesn't say where, so does that not matter?