FlyerTalk Forums - View Single Post - Class Action Federal Lawsuit Aginst Delta RE: Best Fares Available
Old Sep 11, 2014, 7:28 am
  #113  
sethb
FlyerTalk Evangelist
 
Join Date: Jun 2004
Location: MSP
Programs: DL PM, MM, NR; HH Diamond, Bonvoy LT Gold, Hyatt Explorist, IHG Diamond, others
Posts: 12,159
If you are constructing fares by adding segments and their costs, it doesn't make sense to say "the cheap fares are at the end". Breadth-first by cost handles that issue.

However, with arbitrary constraints on fares, it's easy to make the problem NP-hard. I made the assumption that you can start with all published fares (that is, those the airline will tell you about). If you start with less data, the problem can be much harder.
sethb is offline