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





f2crew.dat

! Data file for `f2crew.mos'

LANG: [("English" 1)         20 14  0 13  0  0  8  8
       ("French" 1)          12  0  0 10 15 20  8  9
       ("Dutch" 1)            0 20 12  0  8 11 14 12
       ("Norwegian" 1)        0  0  0  0 17  0  0 16]

PTYPE: [("reconnaissance" 1) 18 12 15  0  0  0  8  0
        ("transport" 1)      10  0  9 14 15  8 12 13
        ("bomber" 1)          0 17  0 11 13 10  0  0 
        ("fighter-bomber" 1)  0  0 14  0  0 12 16  0
        ("supply plane" 1)    0  0  0  0 12 18  0 18]

Back to examples browserPrevious exampleNext example