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

Resource-constrained project scheduling problem

Description
Formulating and solving resource-constrained project scheduling problems via scheduling objects of the Kalis solver
  • Resource-constrained project scheduling problem (RCPSP): rcpsp.mos. Tasks have fixed durations and require specific amounts of several resources with discrete capacity.
  • Multi-mode resource constrained project scheduling problem (MRCPSP): mrcpsp.mos. Task durations and amounts of resource use (or consumption) by tasks depend on the selected task mode. Some resources are renewable, others are non-renewable.


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

Data Files





j102_4.dat

TASKS: [1 2 3 4 5 6 7 8 9 10 11 12]
RESOURCES: [1 2 3 4]
REN: [(1) true (2) true (3) false (4) false]
HORIZON: 74
SUCC: [(1) [2 3 4] (2) [6 10] (3) [7 10 11] (4) [5 9] (5) [8] (6) [7 11] (7) [9] (8) [11] (9) [12] (10) [12] (11) [12] (12) [] ]
CAPA: [(1) 9 (2) 8 (3) 35 (4) 31]
DUR: [(1 0) 0
      (2 0) 2 (2 1) 6 (2 2) 8
      (3 0) 2 (3 1) 3 (3 2) 7
      (4 0) 5 (4 1) 9 (4 2) 10
      (5 0) 4 (5 1) 4 (5 2) 6
      (6 0) 2 (6 1) 3 (6 2) 5
      (7 0) 1 (7 1) 4 (7 2) 9
      (8 0) 2 (8 1) 6 (8 2) 10
      (9 0) 1 (9 1) 4 (9 2) 6
      (10 0) 6 (10 1) 8 (10 2) 8
      (11 0) 4 (11 1) 5 (11 2) 5
      (12 0) 0
]
CONSO: [(1 0 1) 0 (1 0 2) 0 (1 0 3) 0 (1 0 4) 0
         (2 0 1) 0 (2 0 2) 4 (2 0 3) 3 (2 0 4) 0 (2 1 1) 0 (2 1 2) 4 (2 1 3) 0 (2 1 4) 7 (2 2 1) 0 (2 2 2) 3 (2 2 3) 0 (2 2 4) 7
         (3 0 1) 0 (3 0 2) 10 (3 0 3) 4 (3 0 4) 0 (3 1 1) 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 3) 8 (11 2 4) 0
         (12 0 1) 0 (12 0 2) 0 (12 0 3) 0 (12 0 4) 0
]
MODES: [(1) [0] (2) [0 1 2] (3) [0 1 2] (4) [0 1 2] (5) [0 1 2] (6) [0 1 2] (7) [0 1 2] (8) [0 1 2] (9) [0 1 2] (10) [0 1 2] (11) [0 1 2] (12) [0] ]

Back to examples browserPrevious example