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

Ground transport

Description
Problem name and type, featuresDifficulty
E‑1 Car rental: Transport problem ***
data preprocessing, set operations, sqrt and ^2, if-then-elif
E‑2 Choosing the mode of transport: Minimum cost flow **
formulation with extra nodes for modes of transport; encoding of arcs, finalize, union of sets, nodes labeled with strings
E‑3 Depot location: Facility location problem ***
modeling flows as fractions, definition of model cuts
E‑4 Heating oil delivery: Vehicle routing problem (VRP) ****
elimination of inadmissible subtours, cuts; selection with `|', definition of model cuts
E‑5 Combining different modes of transport ***
modeling implications, weak and strong formulation of bounding constraints; triple indices
E‑6 Fleet planning for vans ***
maxlist, minlist, max, min


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

mosel_app_5.zip[download all files]

Source Files

Data Files





e3depot.dat

! Data file for `e3depot.mos'

CAP: [300 250 100 180 275 300 200 220 270 250 230 180]

COST: [100 80 50 50 60 100 120 90 60 70 65 110
       120 90 60 70 65 110 140 110 80 80 75 130
       140 110 80 80 75 130 160 125 100 100 80 150
       160 125 100 100 80 150 190 150 130 1000000 1000000 1000000
       190 150 130 1000000 1000000 1000000 200 180 150 1000000 1000000 1000000
       200 180 150 1000000 1000000 1000000 100 80 50 50 60 100
       100 80 50 50 60 100 120 90 60 70 65 110
       120 90 60 70 65 110 140 110 80 80 75 130
       140 110 80 80 75 130 160 125 100 100 80 150
       160 125 100 100 80 150 190 150 130 1000000 1000000 1000000
       190 150 130 1000000 1000000 1000000 200 180 150 1000000 1000000 1000000
       200 180 150 1000000 1000000 1000000 100 80 50 50 60 100]

DEM: [120 80 75 100 110 100 90 60 30 150 95 120]

CFIX: [3500 9000 10000 4000 3000 9000 9000 3000 4000 10000 9000 3500]

Back to examples browserPrevious exampleNext example