Hexaly breaks records for the Resource-Constrained Project Scheduling Problem (RCPSP)

In the Resource-Constrained Project Scheduling Problem (RCPSP), a project consists of a set of tasks that have to be scheduled. Each task has a given duration and cannot be interrupted. There are precedence constraints between the tasks: each task must end before any of its successors can start. There are a set of renewable resources. Each task has a given resource requirement or weight (possibly zero) on each resource, representing the amount of resource it consumes while it is being processed. Each resource has a given maximum capacity: it can process several tasks at once, but the sum of the processed tasks’ weights can never exceed this maximum capacity. The goal is to find a schedule that minimizes the makespan: the time when all tasks have been processed.

This page illustrates how Hexaly improves the literature’s best known lower bounds on more than 25% of the instances from a large RCPSP benchmark. For more information on upper bounds, please refer to the benchmark against the CP-SAT solver available in Google OR-Tools 9.5 on our RCPSP benchmark webpage.

Input data

This benchmark focuses on large-scale instances of the Resource-Constrained Project Scheduling Problem (RCPSP). We use the RG300 instances introduced by Debels and Vanhoucke in [1]. There are 480 instances comprising 300 tasks each, representing different situations and configurations.

Hexaly’s stronger and faster bounds for scheduling problems

Hexaly is built upon various primal and dual techniques to find quality solutions and lower bounds in short running times. Here, we focus on a series of fast algorithms enabling Hexaly to compute high-quality lower bounds for scheduling problems, minimizing the makespan. These lower bounds are computed using energetic relaxations and rely on the techniques described in [2].

Energy Precedence propagation. We ensure that for every subset P of the task x predecessors, the resource has enough energy to schedule all of P between P earliest start time and x earliest start time. If not, we increase x earliest start time.

Linear energetic relaxation. We solve linear relaxations of the problem, in which the decision variables are the tasks’ presences. The start times and durations of the tasks are fixed to their lower bounds.

Reformulation of almost-disjunctive cumulatives. When three tasks have weights whose sum is higher than the cumulative resource’s capacity, these three tasks cannot be executed together on this resource. We then add a redundant cumulative constraint with capacity 2 on these three tasks. This reformulation is combined with the Energy Precedence propagation and the linear energetic relaxations.

Hexaly’s new records for the Resource-Constrained Project Scheduling Problem (RCPSP)

We consider the lower bound provided by Hexaly 12.0 within 1 minute of running time. We ran the solver on a computer equipped with an Intel i7-12700H (14 cores, 2.3 GHz, 20 threads) and 32GB RAM to obtain these results. The model we used for the Resource-Constrained Project Scheduling Problem (RCPSP) relies on interval variables to represent the tasks. It is available on our Example Tour page.

Thanks to the energetic relaxation algorithms mentioned above, Hexaly improves the best known lower bounds on 25% of the instances from the RG300 RCPSP benchmark (121 instances over 480), with an average improvement of 6%. These new lower bounds are now available on the official solutions update page of the RG300 benchmark. In the table below, we present the best improvements given by Hexaly compared to the literature.

Literature Hexaly Improvement
RG300_190.rcp 297 345 13.9%
RG300_348.rcp 251 291 13.7%
RG300_65.rcp 526 605 13.1%
RG300_187.rcp 274 314 12.7%
RG300_67.rcp 516 589 12.4%
RG300_188.rcp 335 380 11.8%
RG300_343.rcp 292 330 11.5%
RG300_225.rcp 532 601 11.5%
RG300_27.rcp 332 375 11.5%
RG300_341.rcp 290 327 11.3%
RG300_22.rcp 278 313 11.2%
RG300_185.rcp 267 300 11.0%
RG300_350.rcp 311 348 10.6%
RG300_184.rcp 264 295 10.5%
RG300_196.rcp 386 430 10.2%
RG300_344.rcp 265 295 10.2%
RG300_23.rcp 285 317 10.1%
RG300_349.rcp 262 291 10.0%
Best improvements compared to the literature’s best known lower bounds

The complete list of improvements can be found in the following data file: RG300_LB.csv

Are you interested in trying out Hexaly? Get free trial licenses here. In the meantime, feel free to contact us; we will gladly discuss your optimization problems.

[1] D. Debels, M. Vanhoucke (2007). A Decomposition-Based Genetic Algorithm for the Resource-Constrained Project-Scheduling Problem. Operations Research 55(3), pp. 457-469.

[2] P. Laborie (2023). Fast Bounds for Scheduling Problems in LocalSolver. ROADEF 2023.