Discrete Optimization
New exact and heuristic algorithms to solve the prize-collecting job sequencing problem with one common and multiple secondary resources

https://doi.org/10.1016/j.ejor.2022.07.012Get rights and content

Highlights

  • A scheduling problem with a main resource and preassigned secondary resources.

  • A graph reformulation of the problem and labeling algorithms.

  • A branch-cut-and-price algorithm to solve exactly the problem.

  • An iterated local search to solve heuristically the problem.

  • Significant improvement of the literature results.

Abstract

We study the prize-collecting job sequencing problem with one common and multiple secondary resources. In this problem, a set of jobs is given, each with a profit, multiple time windows for its execution, and a duration during which it requires the main resource. Each job also requires a preassigned secondary resource before, during, and after its use of the main resource. The goal is to select and schedule the subset of jobs that maximize the total profit. We present a new mixed integer linear programming formulation of the problem and a branch-cut-and-price algorithm as an exact solution method. We also introduce a heuristic algorithm to tackle larger instances. Extensive numerical experiments show that our exact algorithm can solve to optimality literature instances with up to 500 jobs for a particular dataset and up to 250 jobs for another dataset with different characteristics. Our heuristic builds high-quality solutions in a small computational time. It computes new best-known solutions for most of the larger instances.

Introduction

This work focuses on solving the prize-collecting job sequencing problem with one common and multiple secondary resources (PC-JSOCMSR). This problem was introduced by Horn, Raidl, & Rönnberg (2018). It has application in particle therapy scheduling (Maschler & Raidl, 2020) and in pre-runtime scheduling of avionic systems. We refer to the work Horn, Maschler, Raidl, & Rönnberg (2021a) for details about these real-world applications (see §3.3 of the previously cited work).

The PC-JSOCMSR is defined as follows. We are given a set J=1,n of non-preemptive jobs, meaning that the execution of a job cannot be interrupted and resumed later (hereafter, a1,a2=[a1,a2]Z for every a1,a2Z such that a1a2). Each job jJ should be entirely scheduled (from its start to its end) within one of the time windows of set Wj={Tjk|k1,wj} with Tjk=[tjk1,tjk2]. Time windows are indexed in chronological order of the tjk1 values. Denoting t1=minjJ{tj11} and t2=maxjJ{tjwj2}, the planning horizon is defined as the interval [t1,t2].

We are also given a set of (renewable) disjunctive resources R0={0}R. We refer to resource 0 as the main resource and to R=1,m as the set of secondary resources. Each job jJ requires a single secondary resource rjR (preassigned to j) for pj consecutive time periods. If the execution of job j starts at time period t, then this job requires the main resource (in addition to the resource rj) from time period t+pj for pj0 consecutive time periods (with pj+pj0pj). We denote p^r=maxjJ:rj=r{pj} and p^r+=maxjJ:rj=r{pj+} where pj+=pj(pj+pj0). We have pj0 and pj+0 for every job j. The order of processing starting times on every secondary resource is a suborder of the order of processing starting times on the main resource.

Scheduling a job jJ generates a profit bj0, whereas not scheduling it generates no profit. The problem is to schedule the jobs while maximizing the total profit. A feasible solution to the problem is a schedule that satisfies the following constraints:

  • 1.

    elementarity: each job is scheduled at most once

  • 2.

    time window: if a job is scheduled, it is scheduled uninterruptedly and entirely (from its start to its end) within one of its time windows

  • 3.

    resource usage: at any time, every resource (main or secondary) is used by at most one job.

Figure 1 displays a feasible solution to an instance with 4 jobs J1, J2, J3, and J4. On the right, the vertical axis lists the resources and the horizontal axis represents time. Each rectangle represents the use of a particular resource by a job during a time interval. In the displayed solution, job J2 is not processed. The starting time of jobs J1, J3, and J4 (i.e., the time at which the preassigned secondary resource starts being used) is equal to 0, 8, and 4 respectively. As pJ4=2, job J4 starts using the main resource at time 6(=4+2) for pJ40=3 time periods. The same is true for the other jobs. The solution value is equal to bJ1+bJ3+bJ4=8.

We now outline the main original contributions of this paper:

  • We introduce dominance rules that define properties satisfied by at least one optimal schedule.

  • We present a pseudo-polynomial time-indexed mixed integer linear programming (MILP) model for the PC-JSOCMSR. Although indexing variables on time may limit a priori its interest, its numerical performance on existing benchmark instances is largely better than an existing compact order-based MILP model introduced by Horn, Raidl, & Rönnberg (2021b), and a significant number of instances are solved to proven optimality in less than two hours.

  • We formulate the PC-JSOCMSR as a resource constrained shortest path problem (RCSPP) and describe labeling algorithms to solve it. We discuss different modeling approaches. We present how we use the dominance rules.

  • We present a branch-cut-and-price (BCP) algorithm to solve an extended MILP model we introduce for the PC-JSOCMSR. The elementarity constraints are handled in the master problem, which allows to efficiently solve the pricing problem as a RCSPP. Our BCP includes many ingredients found in state-of-the-art BCP algorithms: limited arc memory rank-1 cuts, automatic dual price smoothing stabilization, a procedure for enumerating elementary paths, and a multiphase strong branching procedure.

  • We present a heuristic algorithm to initialize the BCP algorithm and to compute high-quality solutions for large-sized instances that remain beyond the reach of an exact algorithm.

Extensive computational experiments on benchmark instances from the literature show that the new exact approaches we present to tackle the PC-JSOCMSR solve to proven optimality instances with up to 250 jobs and up to 500 jobs for some specific instances. They also show that our heuristic algorithm computes high-quality solutions within short running time and outperforms existing heuristics.

The paper is organized as follows. Section 2 presents a brief overview of related literature. Section 3 presents two dominance rules. Section 4 presents two MILP models for the PC-JSOCMSR, one of which is new. Section 5 presents how we model the problem as a RCSPP. Section 6 describes the BCP algorithm. Section 7 presents the heuristic algorithm. Section 8 shows the results of our computational experiments. Section 9 contains final remarks.

Section snippets

Related literature

The PC-JSOCMSR is NP-hard (Horn et al., 2018). It is a recently introduced problem that has been little studied. Particular attention has been paid to the use of multivalued decision diagrams (MDDs). In this context, an MDD is a directed weighted acyclic multigraph (usually layered) storing solutions of the PC-JSOCMSR and their values as paths between a starting node and an ending node. An MDD is said relaxed (resp. restricted) when it encodes a superset (resp. subset) of all feasible

Dominance rules

With the aim of reducing the search space, we introduce two dominance rules, directly deduced from the problem definition, that describe properties satisfied by at least one optimal schedule to the PC-JSOCMSR. Specifically, in Proposition 1 and 2 we provide sufficient conditions for restricting the order in which two jobs use one after the other the main resource. These conditions guarantee that a better feasible schedule always exists by reversing the order of the two jobs (Proposition 1), by

Mixed integer linear programming models

The PC-JSOCMSR can be formulated using mixed linear integer programming. We present two models. The first formulation is a compact MILP model introduced in Horn et al. (2021b). The second formulation is a pseudo-polynomial MILP model that relies on time dicretization.

Graph-based model

Previous studies on the PC-JSOCMSR using MDDs introduce very large acyclic graphs where every arc represents the processing of a job with a weight equal to its profit and every path between a starting node and an ending node represents a solution to the PC-JSOCMSR (Horn, Maschler, Raidl, Rönnberg, 2021a, Maschler, Raidl, 2018). An optimal solution is then computed by solving a shortest path problem. If the MDD is relaxed, this solution may be infeasible by potentially violating elementarity,

A branch-cut-and-price algorithm

Due to the well-known curse of dimensionality, solving the PC-JSOCMSR as a RCSPP using the labeling algorithm described in Section 5 is not practical. The main reason explaining the explosion of the number of labels despite the dominance checks is related to dealing with the elementarity constraints. To overcome this issue, we propose to take these constraints into account in a different way.

We first introduce an extended MILP model for the PC-JSOCMSR. Let S be the set of schedules satisfying

A heuristic algorithm

We introduce a new heuristic algorithm for the PC-JSOCMSR with two goals. First, we aim at providing a good initial solution quickly to the BCP algorithm as it is essential to speed-up its convergence (for arc elimination and nodes pruning). Second, we aim at computing high quality solutions for large-sized instances that remain beyond the reach of an exact algorithm.

Our heuristic is an iterated local search (ILS) algorithm. ILS is a metaheuristic that iteratively applies a local search phase

Computational experiments

We coded all the algorithms using C++ and compiled them with GCC 9.2.0. We used the BaPCod C++ library v.053 (Sadykov & Vanderbeck, 2021) for the implementation of the BCP algorithm. For the bucket graph implementation of the labeling algorithm, path enumeration, and the separation of limited-memory R1Cs, we used the C++ code developed by Sadykov et al. (2021). Modifications to these generic codes have been required to handle specific characteristics of the PC-JSOCMSR, especially for the

Conclusion

We have proposed a new pseudo-polynomial time-indexed formulation ([F2]) for the PC-JSOCMSR. Computational experiments have shown that a MILP solver finds significantly better solutions with this formulation in comparison with an existing compact order-based formulation.

As an exact solution method, we have introduced a BCP algorithm to solve an extended MILP formulation of the problem based on the generation of schedules that may contain several occurrences of the same job. We have presented

Acknowledgments

The experiments presented in this paper were carried out using the Federative Platform for Research in Computer Science and Mathematics (PlaFRIM), created under the Inria PlaFRIM development action with support from Institut Polytechnique de Bordeaux, Laboratoire Bordelais de Recherche en Informatique, Institut de Mathématiques de Bordeaux, Conseil Régional d’Aquitaine, Université de Bordeaux, Centre National de la Recherche Scientifique, and Agence Nationale de la Recherche in accordance with

References (20)

  • A. Allahverdi

    The third comprehensive survey on scheduling problems with setup times/costs

    European Journal of Operational Research

    (2015)
  • Castro, M. P., Cire, A. A., & Beck, J. C. (2022). Decision diagrams for discrete optimization: A survey of recent...
  • M. Dror

    Note on the complexity of the shortest path models for column generation in VRPTW

    Operations Research

    (1994)
  • A. Gunawan et al.

    Orienteering problem: A survey of recent variants, solution approaches and applications

    European Journal of Operational Research

    (2016)
  • M. Horn et al.

    A*-based construction of decision diagrams for a prize-collecting scheduling problem

    Computers and Operations Research

    (2021)
  • M. Horn et al.

    An A* algorithm for solving a prize-collecting sequencing problem with one common and multiple secondary resources and time windows

    Proceedings of PATAT

    (2018)
  • M. Horn et al.

    A* search for prize-collecting job sequencing with one common and multiple secondary resources

    Annals of Operations Research

    (2021)
  • S. Irnich et al.

    Path-reduced costs for eliminating arcs in routing and scheduling

    INFORMS Journal on Computing

    (2010)
  • C. Koulamas et al.

    Single-machine scheduling problems with past-sequence-dependent setup times

    European Journal of Operational Research

    (2008)
  • J. Maschler et al.

    Multivalued decision diagrams for a prize-collecting sequencing problem

    Proceedings of the 12th international conference of the practice and theory of automated timetabling, PATAT 2018

    (2018)
There are more references available in the full text version of this article.

Cited by (0)

View full text