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

Planning problems

Description
Problem name and type, featuresDifficulty
C‑1 Planning the production of bicycles: Production planning (single product) ***
modeling inventory balance; inline if, forall-do
C‑2 Production of drinking glasses: Multi-item production planning **
modeling stock balance constraints; inline if, index value 0
C‑3 Material requirement planning: Material requirement planning (MRP) **
working with index (sub)sets, dynamic initialization, finalize, create, as
C‑4 Planning the production of electronic components: Multi-item production planning **
modeling stock balance constraints; inline if
C‑5 Planning the production of fiberglass: Production planning with time-dependent production cost ***
representation of multi-period production as flow; encoding of arcs, exists, create, isodd, getlast, inline if
C‑6 Assignment of production batches to machines: Generalized assignment problem *


Further explanation of this example: 'Applications of optimization with Xpress-MP', Chapter 8: Production planning

mosel_app_3.zip[download all files]

Source Files

Data Files





c3toy.dat

! Data file for `c3toy.mos'

REQ: [ ("axle"  "wheel")    2
       ("axle" "steel bar") 1
       ("assembled chassis"  "bumper")  2
       ("assembled chassis"  "axle")    2
       ("assembled chassis"  "chassis") 1
       ("assembled cabin"  "cabin")       1
       ("assembled cabin"  "door window") 2
       ("assembled cabin"  "windscreen")  1
       ("blue lorry"  "assembled chassis") 1
       ("blue lorry"  "container")         1
       ("blue lorry"  "assembled cabin")   1
       ("blue lorry"  "blue motor")        1
       ("blue lorry"  "headlight")         2
       ("red lorry"  "assembled chassis") 1
       ("red lorry"  "tank")              1
       ("red lorry"  "assembled cabin")   1
       ("red lorry"  "red motor")         1
       ("red lorry"  "headlight")         2 ]
              
CBUY: [ ("wheel") 0.30 ("steel bar") 1 ("bumper") 0.2 ("axle") 12.75 
        ("chassis") 0.8 ("cabin") 2.75 ("door window") 0.1 
        ("windscreen") 0.29 ("assembled chassis") 30 ("container") 2.60 
        ("tank") 3 ("assembled cabin") 3 ("blue motor") 1.65 
        ("red motor") 1.65 ("headlight") 0.15 ]      

ASSEMBLY: [ ("axle")              [6.80 600]
            ("assembled chassis") [3.55 4000]
            ("assembled cabin")   [3.20 3000]
            ("blue lorry")        [2.20 4000]
            ("red lorry")         [2.60 5000] ]
            
DEM: [ ("blue lorry") 3000 ("red lorry") 3000 ]

Back to examples browserPrevious exampleNext example