Single-Facility Scheduling over Long Time Horizons by Logic-based Benders Decomposition

Similar documents
Planning and Scheduling to Minimize Makespan & Tardiness. John Hooker Carnegie Mellon University September 2006

An Integrated OR/CP Method for Planning and Scheduling

Simultaneous Optimization of Berth Allocation, Quay Crane Assignment and Quay Crane Scheduling Problems in Container Terminals

The Minimum Universal Cost Flow in an Infeasible Flow Network

Global Optimization of Truss. Structure Design INFORMS J. N. Hooker. Tallys Yunes. Slide 1

Combining Constraint Programming and Integer Programming

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009

EEL 6266 Power System Operation and Control. Chapter 3 Economic Dispatch Using Dynamic Programming

Optimization Methods for Engineering Design. Logic-Based. John Hooker. Turkish Operational Research Society. Carnegie Mellon University

Amiri s Supply Chain Model. System Engineering b Department of Mathematics and Statistics c Odette School of Business

A Hybrid MILP/CP Decomposition Approach for the Continuous Time Scheduling of Multipurpose Batch Plants

A Search-Infer-and-Relax Framework for. Integrating Solution Methods. Carnegie Mellon University CPAIOR, May John Hooker

On the Multicriteria Integer Network Flow Problem

Benders Decomposition

Integrated approach in solving parallel machine scheduling and location (ScheLoc) problem

This is the Pre-Published Version.

The Study of Teaching-learning-based Optimization Algorithm

Real-Time Systems. Multiprocessor scheduling. Multiprocessor scheduling. Multiprocessor scheduling

Calculation of time complexity (3%)

Dynamic scheduling in multiproduct batch plants

An Interactive Optimisation Tool for Allocation Problems

MMA and GCMMA two methods for nonlinear optimization

NP-Completeness : Proofs

Interactive Bi-Level Multi-Objective Integer. Non-linear Programming Problem

O-line Temporary Tasks Assignment. Abstract. In this paper we consider the temporary tasks assignment

Embedded Systems. 4. Aperiodic and Periodic Tasks

Chapter Newton s Method

Problem Set 9 Solutions

Single-Facility Scheduling by Logic-Based Benders Decomposition

The Multi-Inter-Distance Constraint

Some modelling aspects for the Matlab implementation of MMA

Simultaneous Batching and Scheduling in Multi-product Multi-stage Batch Plants through Mixed-Integer Linear Programming

Min Cut, Fast Cut, Polynomial Identities

Winter 2008 CS567 Stochastic Linear/Integer Programming Guest Lecturer: Xu, Huan

Computing Correlated Equilibria in Multi-Player Games

ExxonMobil. Juan Pablo Ruiz Ignacio E. Grossmann. Department of Chemical Engineering Center for Advanced Process Decision-making. Pittsburgh, PA 15213

A PROBABILITY-DRIVEN SEARCH ALGORITHM FOR SOLVING MULTI-OBJECTIVE OPTIMIZATION PROBLEMS

An Admission Control Algorithm in Cloud Computing Systems

Optimal Scheduling Algorithms to Minimize Total Flowtime on a Two-Machine Permutation Flowshop with Limited Waiting Times and Ready Times of Jobs

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Kernel Methods and SVMs Extension

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

Solutions HW #2. minimize. Ax = b. Give the dual problem, and make the implicit equality constraints explicit. Solution.

Assortment Optimization under MNL

A 2D Bounded Linear Program (H,c) 2D Linear Programming

Optimal Solution to the Problem of Balanced Academic Curriculum Problem Using Tabu Search

Single-machine scheduling with trade-off between number of tardy jobs and compression cost

A Simple Inventory System

Speeding up Computation of Scalar Multiplication in Elliptic Curve Cryptosystem

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017

Chapter - 2. Distribution System Power Flow Analysis

Working Paper Series February Susan K. Norman. College of Business Administration. Box Flagstaff, AZ

COS 521: Advanced Algorithms Game Theory and Linear Programming

CS 331 DESIGN AND ANALYSIS OF ALGORITHMS DYNAMIC PROGRAMMING. Dr. Daisy Tang

Grover s Algorithm + Quantum Zeno Effect + Vaidman

A dynamic programming method with dominance technique for the knapsack sharing problem

ECE559VV Project Report

Dynamic Slope Scaling Procedure to solve. Stochastic Integer Programming Problem

Modelling and Constraint Hardness Characterisation of the Unique-Path OSPF Weight Setting Problem

LOW BIAS INTEGRATED PATH ESTIMATORS. James M. Calvin

HMMT February 2016 February 20, 2016

A Modeling System to Combine Optimization and Constraint. Programming. INFORMS, November Carnegie Mellon University.

Example: (13320, 22140) =? Solution #1: The divisors of are 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 41,

SOLVING CAPACITATED VEHICLE ROUTING PROBLEMS WITH TIME WINDOWS BY GOAL PROGRAMMING APPROACH

Yong Joon Ryang. 1. Introduction Consider the multicommodity transportation problem with convex quadratic cost function. 1 2 (x x0 ) T Q(x x 0 )

Low-Connectivity Network Design on Series-Parallel Graphs

The optimal delay of the second test is therefore approximately 210 hours earlier than =2.

Scheduling Perfectly Periodic Services Quickly with Aggregation

A Bayes Algorithm for the Multitask Pattern Recognition Problem Direct Approach

Dynamic Programming. Preview. Dynamic Programming. Dynamic Programming. Dynamic Programming (Example: Fibonacci Sequence)

VARIATION OF CONSTANT SUM CONSTRAINT FOR INTEGER MODEL WITH NON UNIFORM VARIABLES

A MINLP Model for a Minimizing Fuel Consumption on Natural Gas Pipeline Networks

Steady state load-shedding by Alliance Algorithm

Valid inequalities for the synchronization bus timetabling problem

Foundations of Arithmetic

BALANCING OF U-SHAPED ASSEMBLY LINE

A SEPARABLE APPROXIMATION DYNAMIC PROGRAMMING ALGORITHM FOR ECONOMIC DISPATCH WITH TRANSMISSION LOSSES. Pierre HANSEN, Nenad MLADENOVI]

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 7: LP Duality Lecturer: Matt Weinberg

A Linear Programming Approach to the Train Timetabling Problem

OPTIMISATION. Introduction Single Variable Unconstrained Optimisation Multivariable Unconstrained Optimisation Linear Programming

THIS paper considers the following generalized linear

A Hybrid Algorithm for the University Course Timetabling Problem

Combining Examinations to Accelerate Timetable Construction

A New Approach Based on Benders Decomposition for Unit Commitment Problem

BRANCH-AND-PRICE FOR INTEGRATED MULTI-DEPOT VEHICLE AND CREW SCHEDULING PROBLEM. 1. The Integrated Vehicle and Crew Scheduling Problem

A FAST HEURISTIC FOR TASKS ASSIGNMENT IN MANYCORE SYSTEMS WITH VOLTAGE-FREQUENCY ISLANDS

Suggested solutions for the exam in SF2863 Systems Engineering. June 12,

Recent Developments in Disjunctive Programming

Chapter 2 A Class of Robust Solution for Linear Bilevel Programming

Some Comments on Accelerating Convergence of Iterative Sequences Using Direct Inversion of the Iterative Subspace (DIIS)

Lecture Notes on Linear Regression

Applied Stochastic Processes

Siqian Shen. Department of Industrial and Operations Engineering University of Michigan, Ann Arbor, MI 48109,

A New Algorithm for Finding a Fuzzy Optimal. Solution for Fuzzy Transportation Problems

Incremental and Encoding Formulations for Mixed Integer Programming

THE EQUIVALENT FORMS OF MIXED INTEGER LINEAR PROGRAMMING PROBLEMS

Linköping University Post Print. Solving a minimum-power covering problem with overlap constraint for cellular network design

A new Approach for Solving Linear Ordinary Differential Equations

Lecture 20: November 7

CS-433: Simulation and Modeling Modeling and Probability Review

Transcription:

Sngle-Faclty Schedulng over Long Tme Horzons by Logc-based Benders Decomposton Elvn Coban and J. N. Hooker Tepper School of Busness, Carnege Mellon Unversty ecoban@andrew.cmu.edu, john@hooker.tepper.cmu.edu Abstract. Logc-based Benders decomposton can combne mxed nteger programmng and constrant programmng to solve plannng and schedulng problems much faster than ether method alone. We fnd that a smlar technque can be benefcal for solvng pure schedulng problems as the problem sze scales up. We solve sngle-faclty non-preemptve schedulng problems wth tme wndows and long tme horzons that are dvded nto segments separated by shutdown tmes (such as weekends). The objectve s to fnd feasble solutons, mnmze makespan, or mnmze total tardness. 1 Introducton Logc-based Benders decomposton has been successfully used to solve plannng and schedulng problems that naturally decompose nto an assgnment and a schedulng porton. The Benders master problem assgns jobs to facltes usng mxed nteger programmng (MILP), and the subproblems use constrant programmng (CP) to schedule jobs on each faclty. In ths paper, we use a smlar technque to solve pure schedulng problems wth long tme horzons. Rather than assgn jobs to facltes, the master problem assgns jobs to segments of the tme horzon. The subproblems schedule jobs wthn each tme segment. In partcular, we solve sngle-faclty schedulng problems wth tme wndows n whch the objectve s to fnd a feasble soluton, mnmze makespan, or mnmze total tardness. We assume that each job must be completed wthn one tme segment. The boundares between segments mght therefore be regarded as weekends or shutdown tmes durng whch jobs cannot be processed. In future research we wll address nstances n whch jobs can overlap two or more segments. Logc-based Benders decomposton was ntroduced n [2, 8]. Its applcaton to assgnment and schedulng va CP/MILP was proposed n [3] and mplemented n [9]. Ths and subsequent work shows that the Benders approach can be orders of magntude faster than stand-alone MILP or CP methods on problems of ths knd [1, 7, 4 6, 10, 11]. For the pure schedulng problems consdered here, we fnd that the advantage of Benders over both CP and MILP ncreases rapdly as the problem scales up.

2 The Problem Each job j has release tme, deadlne (or due date) d j, and processng tme p j. The tme horzon conssts of ntervals [z,z +1 ] for =1,...,m. The problem s to assgn each job j a start tme s j so that tme wndows are observed (r j s j d j p j ), jobs run consecutvely (s j + p j s k or s k + p k s j for all k j), and each job s completed wthn one segment (z s j z +1 p j for some ). We mnmze makespan by mnmzng max j {s j +p j }. To mnmze tardness, we drop the constrant s j d j p j and mnmze j max{0,s j + p j d j }. 3 Feasblty When the goal s to fnd a feasble schedule, the master problem seeks a feasble assgnment of jobs to segments, subject to the Benders cuts generated so far. Because we solve the master problem wth MILP, we ntroduce 0-1 varables y j wth y j =1when job j s assgned to segment. The master problem becomes y j =1, all j Benders cuts, relaxaton y j {0, 1}, all, j The master problem also contans a relaxaton of the subproblem, smlar to those descrbed n [4 6], that helps reduce the number of teratons. Gven a soluton ȳ j of the master problem, let J = {j ȳ j =1} be the set of jobs assgned to segment. The subproblem decomposes nto a CP schedulng problem for each segment : } r j s j d j p j, all j J z s j z +1 p j (2) dsjunctve ({s j j J }) where the dsjunctve global constrant ensures that the jobs assgned to segment do not overlap. Each nfeasble subproblem generates a Benders cut as descrbed below, and the cuts are added to the master problem. The master problem and correspondng subproblems are repeatedly solved untl every segment has a feasble schedule, or untl the master problem s nfeasble, n whch case the orgnal problem s nfeasble. Strengthened nogood cuts. The smplest Benders cut s a nogood cut that excludes assgnments that cause nfeasblty n the subproblem. If there s no feasble schedule for segment, we generate the cut j J y j J 1, all (3) The cut can be strengthened by removng jobs one by one from J untl a feasble schedule exsts for segment. Ths requres re-solvng the th subproblem repeatedly, (1)

but the effort generally pays off because the subproblems are much easer to solve than the master problem. We now generate a cut (3) wth the reduced J. The cut may be stronger f jobs less lkely to cause nfeasblty are removed from J frst. Let the effectve tme wndow [ r j, d j ] of job j on segment be ts tme wndow adjusted to reflect the segment boundares. Thus r j = max {mn{r j,z +1 },z }, dj = mn {max{d j,z },z +1 } Let the slack of job j on segment be d j r j p j. We can now remove the jobs n order of decreasng slack. 4 Mnmzng Makespan Here the master problem mnmzes µ subject to (1) and µ 0. The subproblems mnmze µ subject to (2) and µ s j + p j for all j J. Strengthened nogood cuts. When one or more subproblems are nfeasble, we use strengthened nogood cuts (3). Otherwse, for each segment we use the nogood cut µ µ 1 j J(1 y j ) where µ s the mnmum makespan for subproblem. These cuts are strengthened by removng jobs from J untl the mnmum makespan on segment drops below µ. We also strengthen the cuts as follows. Let µ (J) be the mnmum makespan that results when n jobs n J are assgned to segment, so that n partcular µ (J )=µ. Let Z be the set of jobs that can be removed, one at a tme, wthout affectng makespan, so that Z = {j J M (J \{j}) =M }. Then for each we have the cut µ µ (J \ Z ) 1 (1 y j ) j J \Z Ths cut s redundant and should be deleted when µ (J \ Z )=µ. Analytc Benders Cuts. We can develop addtonal Benders as follows. Let J = {j J r j z } be the set of jobs n J wth release tmes before segment, and let J = J \ J. Let ˆµ be the mnmum makespan of the problem that remans after removng the jobs n S J from segment. It can be shown as n [6] that µ ˆµ p S + max{ d j } mn{ d j } (4) j J j J where p S = j S p j. Thus f jobs n J are removed from segment, we have from (4) a lower bound on the resultng optmal makespan ˆµ. If jobs n J are removed, there s nothng we can say. So we have the followng Benders cut for each : µ µ p j (1 y j ) + max{d j } mn{d j } µ j J j J j J (1 y j ) (5) j J

when one or more jobs are removed from segment, µ 0 when all jobs are removed, and µ µ otherwse. Ths can be lnearzed: µ µ j j ( w max j J p j (1 y j ) w µ (1 y j) µ q, q 1 y j,j J ) {d j } mn{d j } j J j J j J (1 y j ), w max j J {d j } mn{d j } j J 5 Mnmzng Tardness Here the master problem mnmzes τ subject to (1), and each subproblem mnmzes j J τ j subject to τ j s j + p j d j and τ j 0. Benders cuts. We use strengthened nogood cuts and relaxatons smlar to those used for mnmzng makespan. We also develop the analytc Benders cuts τ ˆτ τ ( r max + ) + p l d j (1 y j ), f r max + p l z +1 j J l J l J ˆτ τ 1 j J(1 y j ), otherwse where the bound on ˆτ s ncluded for all for whch τ > 0. Here τ s the mnmum tardness n subproblem, r max = max{max{r j j J },z }, and α + = max{0,α}. 6 Problem Generaton and Computatonal Results Random nstances are generated as follows. For each job j, r j, d j r j, and p j are unformly dstrbuted on the ntervals [0, αr], [γ 1 αr, γ 2 αr], and [0, β(d j r j )], respectvely. We set R = 40 m for tardness problems, and otherwse R = 100 m, where m s the number of segments. For the feasblty problem we adjusted β to provde a mx of feasble and nfeasble nstances. For the remanng problems, we adjusted β to the largest value for whch most of the nstances are feasble. We formulated and solved the nstances wth IBM s OPL Studo 6.1, whch nvokes the ILOG CP Optmzer for CP models and CPLEX for MILP models. The MILP models are dscrete-tme formulatons we have found to be most effectve for ths type of problem. We used OPL s scrpt language to mplement the Benders method. Table 1 shows the advantage of logc-based Benders as the problem scales up. Benders faled to solve only four nstances, due to nablty to solve the CP subproblems.

Table 1. Computaton tmes n seconds (computaton termnated after 600 seconds). The number of segments s 10% the number of jobs. Tght tme wndows have (γ 1,γ 2,α)=(1/2, 1, 1/2) and wde tme wndows have (γ 1,γ 2,α)=(1/4, 1, 1/2). For feasblty nstances, β =0.028 for tght wndows and 0.035 for wde wndows. For makespan nstances, β = 0.025 for 130 or fewer jobs and 0.032 otherwse. For tardness nstances, β = 0.05. Tght tme wndows Wde tme wndows Feasblty Makespan Tardness Feasblty Makespan Tardness Jobs CP MILP Bndrs CP MILP Bndrs CP MILP Bndrs CP MILP Bndrs CP MILP Bndrs CP MILP Bndrs 50 0.91 8.0 1.5 0.09 9.0 4.0 0.05 1.3 1.1 0.03 7.7 2.5 0.13 13 3.5 0.13 1.3 1.1 60 1.1 12 2.8 0.09 18 5.5 0.14 1.8 1.5 0.05 12 1.6 0.94 29 5.7 0.11 2.3 1.4 70 0.56 17 3.3 0.11 51 6.7 1.3 3.9 2.1 0.13 17 2.3 0.11 39 6.2 0.16 3.0 1.9 80 600 21 2.8 600 188 7.6 0.86 6.0 4.5 600 24 5.0 600 131 7.3 1.9 6.4 5.0 90 600 29 7.5 600 466 10 21 11 4.6 600 32 9.7 600 600 8.5 5.9 9.5 11 100 600 36 12 600 600 16 600 11 2.0 600 44 9.7 600 600 19 600 24 22 110 600 44 20 600 600 17 600 600 600 600 49 17 600 600 24 600 600 600 120 600 62 18 600 600 21 600 15 3.3 600 80 15 600 600 23 600 12 3.1 130 600 68 20 600 600 29 600 17 3.9 600 81 43 600 600 31 600 18 3.9 140 600 88 21 600 600 30 600 600 600 600 175 27 600 * 35 600 600 14 150 600 128 27 600 600 79 600 386 8.5 600 600 43 160 600 408 82 600 600 34 600 174 5.2 600 600 53 170 600 192 5.9 600 600 37 600 172 5.9 600 600 600 180 600 600 6.6 600 * 8.0 600 251 6.5 600 600 56 190 600 600 7.2 600 * 8.5 600 600 7.3 600 * 78 200 600 600 8.0 600 * 85 600 600 8.2 600 * 434 MILP solver ran out of memory. References 1. I. Harjunkosk and I. E. Grossmann. Decomposton technques for multstage schedulng problems usng mxed-nteger and constrant programmng methods. Computers and Chemcal Engneerng, 26:1533 1552, 2002. 2. J. N. Hooker. Logc-based benders decomposton. Techncal report, CMU, 1995. 3. J. N. Hooker. Logc-Based Methods for Optmzaton: Combnng Optmzaton and Constrant Satsfacton. Wley, New York, 2000. 4. J. N. Hooker. A hybrd method for plannng and schedulng. Constrants, 10:385 401, 2005. 5. J. N. Hooker. An ntegrated method for plannng and schedulng to mnmze tardness. Constrants, 11:139 157, 2006. 6. J. N. Hooker. Plannng and schedulng by logc-based benders decomposton. Operatons Research, 55:588 602, 2007. 7. J. N. Hooker and G. Ottosson. Logc-based benders decomposton. Mathematcal. Programmng, 96:33 60, 2003. 8. J. N. Hooker and H. Yan. Logc crcut verfcaton by Benders decomposton, pages 267 288. Prncples and Practce of Constrant Programmng: The Newport Papers, MIT Press (Cambrdge, MA, 1995), 1995. 9. V. Jan and I. E. Grossmann. Algorthms for hybrd MILP/CP models for a class of optmzaton problems. INFORMS Journal on Computng, 13(4):258 276, 2001. 10. C. T. Maravelas and I. E. Grossmann. A hybrd MILP/CP decomposton approach for the contnuous tme schedulng of multpurpose batch plants. Computers and Chemcal Engneerng, 28:1921 1949, 2004. 11. C. Tmpe. Solvng plannng and schedulng problems wth combned nteger and constrant programmng. OR Spectrum, 24:431 448, 2002.