| Goal | Syntax Example | |------|----------------| | Avoid a specific airline | -UA | | Prefer an alliance | *A (Star Alliance) | | Only nonstop flights | N in routing | | Only specific booking class | f bc=K | | Weekend trips only | Use Saturday stay filter |
If you are looking for a specific or a routing command for the Matrix: Airlines : C:LH (Lufthansa only) Alliances : /f bc=Y (Search for Economy fare class) matrix.ita software.som
# Define route constraints route_constraints = 'time_windows': [(8, 12), (13, 17)], # time windows for delivery 'vehicle_capacity': 10, # maximum vehicle capacity 'road_restrictions': ['highway', 'urban'] # road restrictions | Goal | Syntax Example | |------|----------------| |