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

Facility location

Description
There are a set of depot locations and a set of clients. The cost of opening each depot, the depot capacities, and the demand of each client is given. For all possible delivery routes the unit shipping cost is given. We wish to supply all the clients at the least cost. The model is re-solved several times to study the effects of forcing some depots open.

Further explanation of this example: Similar problem: 'Applications of optimization with Xpress-MP', Section 10.3 'Depot location' (e3depot.mos)

facilitylocgr.zip[download all files]

Source Files
By clicking on a file name, a preview is opened at the bottom of this page.
facilityloc_graph.mos[download]

Data Files





facilityloc.dat

! Data for 'facilityloc.mos'

DEM: [
  (C1)   45
  (C13)  56
  (C2)   55
  (C6)  300
  (C15) 112
  (C33)  80
  (C67)  77
  (C84)  25
  (C49)  33
  (C38)  43
  (C55)  39
  (C51)  45
  (C72)  61]

CAP: [
  (DEP5)  600
  (DEP2)  500
  (DEP3)  320
  (DEP6)  200
  (DEP9)  260
  (DEP1)  400]

CSHIP: [
  (DEP5 C1)   9
  (DEP5 C2)   45
  (DEP5 C6)   77
  (DEP5 C33)  4
  (DEP5 C67)  34
  (DEP5 C84)  55
  (DEP5 C49)  23
  (DEP5 C38)  111
  (DEP5 C55)  56
  (DEP5 C72)  72
  (DEP2 C1)   65
  (DEP2 C13)  83
  (DEP2 C6)   66
  (DEP2 C67)  49
  (DEP2 C84)  11
  (DEP2 C49)  43
  (DEP2 C55)  32
  (DEP2 C72)  71
  (DEP3 C1)   91
  (DEP3 C2)   74
  (DEP3 C13)  44
  (DEP3 C6)   21
  (DEP3 C15)  25
  (DEP3 C33)  63
  (DEP3 C67)  28
  (DEP3 C49)  55
  (DEP3 C38)  122
  (DEP3 C55)  107
  (DEP6 C13)  17
  (DEP6 C2)   48
  (DEP6 C6)   51
  (DEP6 C15)  56
  (DEP6 C33)  89
  (DEP6 C67)  53
  (DEP6 C38)  82
  (DEP6 C55)  72
  (DEP6 C51)  36
  (DEP9 C1)   31
  (DEP9 C2)   39
  (DEP9 C6)   37
  (DEP9 C67)  71
  (DEP9 C49)  79
  (DEP9 C38)  78
  (DEP9 C55)  58
  (DEP9 C51)  30
  (DEP1 C1)   59
  (DEP1 C13)  61
  (DEP1 C2)   63
  (DEP1 C6)   71
  (DEP1 C15)  75
  (DEP1 C33)  59
  (DEP1 C67)  78
  (DEP1 C84)  73
  (DEP1 C49)  30
  (DEP1 C38)  55
  (DEP1 C51)  42
  (DEP1 C72)  58
]

COPEN: [
  (DEP5)  4000
  (DEP2)  2500
  (DEP3)  2600
  (DEP6)  2100
  (DEP9)  3000
  (DEP1)  3200]


X: [(C1) 78 (C13) 72 (C2) 69 (C6) 90 (C15) 98 (C33) 87 (C67) 108 
    (C84) 115 (C49) 91 (C38) 9 (C55) 90
    (DEP5) 76 (DEP2) 103 (DEP3) 109 (DEP6) 53 (DEP9) 56 (DEP1) 54
    ]
Y: [(C1) 56 (C13) 19 (C2) 37 (C6) 28 (C15) 7 (C33) 60 (C67) 50 
    (C84) 81 (C49) 51 (C38) 81 (C55) 95 
    (DEP5) 62 (DEP2) 79 (DEP3) 21 (DEP6) 20 (DEP9) 55 (DEP1) 69]


POS: [(C1) [78 56] 
      (C13) [72 19]
      (C2) [69 37]
      (C6) [90 28]
      (C15) [98 7]
      (C33) [87 60]
      (C67) [108 50]
      (C84) [115 81]
      (C49) [91 51]
      (C38) [9 81]
      (C55) [90 95]
      (C51) [25 47]
      (C72) [42 94]
      (DEP5) [76 62] 
      (DEP2) [103 79]
      (DEP3) [109 21]
      (DEP6) [53 20]
      (DEP9) [56 55]
      (DEP1) [54 69]
    ]

Back to examples browserPrevious exampleNext example