FICO
FICO Xpress Optimization Examples Repository
FICO Optimization Community FICO Xpress Optimization Home
Back to examples browserPrevious exampleNext example

Air transport

Description
Problem name and type, featuresDifficultyRelated examples
F‑1 Flight connections at a hub: Assignment problem * assignment_graph.mos, i1assign.mos, c6assign.mos
F‑2 Composing flight crews: Bipartite matching **** matching_graph.mos
2 problems, data preprocessing, incremental definition of data array, encoding of arcs, logical or (cumulative version) and and, procedure for printing solution, forall-do, max, finalize
F‑3 Scheduling flight landings: Scheduling problem with time windows ***
generalization of model to arbitrary time windows; calculation of specific BigM, forall-do
F‑4 Airline hub location: Hub location problem ***
quadruple indices; improved (re)formulation (first model not usable with student version), union of index (range) sets
F‑5 Planning a flight tour: Symmetric traveling salesman problem ***** tsp_graph.mos
loop over problem solving, TSP subtour elimination algorithm; procedure for generating additional constraints, recursive subroutine calls, working with sets, forall-do, repeat-until, getsize, not


Further explanation of this example: 'Applications of optimization with Xpress-MP', Chapter 11: Air transport

mosel_app_6.zip[download all files]

Source Files

Data Files





f5tour7.dat

! Data file for `f5tour2.mos'

CITIES: ["Bordeaux" "Lille" "Lyon" "Marseille" "Nantes" "Paris" "Toulouse"]

DIST: [
! "Bordeaux" "Lille" "Lyon" "Marseille" "Nantes" "Paris" "Toulouse"
("Bordeaux" "Bordeaux")    0 786 549 657 331 559 250
("Lille" "Bordeaux")     786   0 668 979 593 224 905
("Lyon" "Bordeaux")      549 668   0 316 607 472 467
("Marseille" "Bordeaux") 657 979 316   0 890 769 400
("Nantes" "Bordeaux")    331 593 607 890   0 386 559
("Paris" "Bordeaux")     559 224 472 769 386   0 681
("Toulouse" "Bordeaux")  250 905 467 400 559 681   0]

Back to examples browserPrevious exampleNext example