Makespan with Sequence Dependent Setup Time (MSDST) 1|s jk |C max.

Slides:



Advertisements
Similar presentations
Machine scheduling Job 1Job 3 Job 4 Job 5Machine 1 Machine 2 time 0C max Job 2.
Advertisements

IEOR 4004 Final Review part II.
Integer Optimization Basic Concepts Integer Linear Program(ILP): A linear program except that some or all of the decision variables must have integer.
1 Material to Cover  relationship between different types of models  incorrect to round real to integer variables  logical relationship: site selection.
Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution,
Lecture 6: Job Shop Scheduling Introduction
FLOW SHOPS: F2||Cmax. FLOW SHOPS: JOHNSON'S RULE2 FLOW SHOP SCHEDULING (n JOBS, m MACHINES) n JOBS BANK OF m MACHINES (SERIES) n M1 M2Mm.
Types of scheduling problems Project scheduling - Chapter 4 Job shop - Chapter 5 (shifting bottle neck) Flow shop - Chapter 5 Flexible assembly - Chapter.
Vehicle Routing & Scheduling: Part 1
Lecture 1: Introduction to the Course of Optimization 主講人 : 虞台文.
Introduction to Operations Research (II)
1 State of the art for TSP TSP instances of thousand of cities can be consistently solved to optimality. Instances of up to cities have been solved:
Math 308 Discrete Mathematics Discrete Mathematics deals with “Separated” or discrete sets of objects (rather than continuous sets) Processes with a sequence.
1 IOE/MFG 543 Chapter 5: Parallel machine models (Sections )
Math443/543 Mathematical Modeling and Optimization
1 IOE/MFG 543* Chapter 1: Introduction *Based in part on material from Izak Duenyas, University of Michigan, Scott Grasman, University of Missouri, Rakesh.
Previously in Chapter 6 Using binary variables Unintended options Lack of sensitivity analysis.
1 Maximum matching Max Flow Shortest paths Min Cost Flow Linear Programming Mixed Integer Linear Programming Worst case polynomial time by Local Search.
Vehicle Routing & Scheduling
1 IOE/MFG 543 Chapter 6: Flow shops Sections 6.1 and 6.2 (skip section 6.3)
1 Set # 3 Dr. LEE Heung Wing Joseph Phone: Office : HJ639.
1 Set # 4 Dr. LEE Heung Wing Joseph Phone: Office : HJ639.
© J. Christopher Beck Lecture 3: Manufacturing Scheduling Concepts.
Linear Programming Applications
1 Planning and Scheduling to Minimize Tardiness John Hooker Carnegie Mellon University September 2005.
1 IOE/MFG 543 Chapter 7: Job shops Sections 7.1 and 7.2 (skip section 7.3)
Lot sizing and scheduling
1 Integrality constraints Integrality constraints are often crucial when modeling optimizayion problems as linear programs. We have seen that if our linear.
LP formulation of Economic Dispatch
1.3 Modeling with exponentially many constr.  Some strong formulations (or even formulation itself) may involve exponentially many constraints (cutting.
11.5 Traveling Salesman and Routing Models. Example 11.8 NCB Circuit Board TSP Figure 11.4 shows the tiny example that we will investigate for fictional.
Shop Scheduling Reformulation of Vehicle Routing Evgeny Selensky Dept of Computing Science Glasgow University.
Integer Programming Key characteristic of an Integer Program (IP) or Mixed Integer Linear Program (MILP): One or more of the decision variable must be.
MODELING AND ANALYSIS OF MANUFACTURING SYSTEMS Session 12 MACHINE SETUP AND OPERATION SEQUENCING E. Gutierrez-Miravete Spring 2001.
Extensions of the Basic Model Chapter 6 Elements of Sequencing and Scheduling by Kenneth R. Baker Byung-Hyun Ha R1.
Workforce scheduling – Days off scheduling 1. n is the max weekend demand n = max(n 1,n 7 ) Surplus number of employees in day j is u j = W – n j for.
Introduction to Design and Manufacture Supply Chain Analysis (K. Khammuang & H. S. Gan) A scientific approach to decision making, which seeks to.
Notes 5IE 3121 Knapsack Model Intuitive idea: what is the most valuable collection of items that can be fit into a backpack?
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
Chapter 1. Formulations 1. Integer Programming  Mixed Integer Optimization Problem (or (Linear) Mixed Integer Program, MIP) min c’x + d’y Ax +
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
Chap 10. Integer Prog. Formulations
Lecture 9: Simplified Shifting Bottleneck
Outline Introduction Minimizing the makespan Minimizing total flowtime
Bonus Round Assembly Line Scheduling Assume Assembly Line is used for multiple products 1.
Traveling Salesman Problem (TSP)
Dvir Shabtay Moshe Kaspi The Department of IE&M Ben-Gurion University of the Negev, Israel.
Integer Programming (정수계획법)
Operational Research & ManagementOperations Scheduling Economic Lot Scheduling 1.Summary Machine Scheduling 2.ELSP (one item, multiple items) 3.Arbitrary.
Parallel Machine Scheduling
Outline Schedule and scheduling Mathematical models
8/14/04 J. Bard and J. W. Barnes Operations Research Models and Methods Copyright All rights reserved Lecture 6 – Integer Programming Models Topics.
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
CS623: Introduction to Computing with Neural Nets (lecture-12) Pushpak Bhattacharyya Computer Science and Engineering Department IIT Bombay.
1 Exercise 1. (a) Find all optimal sequences for the scheduling problem 1 ||  w j C j with the following jobs. (b) Determine the effect of a change in.
Genetic Algorithms and TSP Thomas Jefferson Computer Research Project by Karl Leswing.
1.3 Modeling with exponentially many constr. Integer Programming
Solving IPs – Implicit Enumeration Similar to Binary IP Branch and Bound General Idea: Fixed variables – those for which a value has been fixed. Free Variable.
Integer Programming An integer linear program (ILP) is defined exactly as a linear program except that values of variables in a feasible solution have.
Using Variable Domain Functions
Traveling Salesman Problem
برنامه ریزی خطی پیشرفته (21715( Advanced Linear Programming Lecture 10
Heuristics Definition – a heuristic is an inexact algorithm that is based on intuitive and plausible arguments which are “likely” to lead to reasonable.
Integer Programming (정수계획법)
Lecture 19-Problem Solving 4 Incremental Method
Chapter 1. Formulations (BW)
LINGO LAB 3/4.
Integer Programming (정수계획법)
Topic 15 Job Shop Scheduling.
Chapter 1. Formulations.
Presentation transcript:

Makespan with Sequence Dependent Setup Time (MSDST) 1|s jk |C max

Introduction to MSDST 1 machine N jobs –All the jobs are released at time 0 Objective: minimize C max

Introduction to MSDST So what makes MSDST different? Each job has a required starting state and a completion state: –a j : required state of the machine in order to start job j –b j : state of the machine after the completion of job j

Introduction to MSDST So what makes MSDST different? Setup Cost! s jk = |b j – a k | At time zero, the machine is at state b 0 After completing all the jobs, the machine must return to state a 0

Applications of MSDST Metal processing, commercial printing, plastics production, chemical production, pharmaceutical and automobile manufacturing **Baker, 1974 K.R. Baker, Introduction to sequence and scheduling, Wiley, NY (1974). **Baker, 1974 Setup Operations Could Strongly Depend on the Immediately preceding process –cleaning up –changing tools –machine temperature

Introduction to MSDST So what makes MSDST different? If there 5 jobs and the optimal order is j 3 -j 1 -j 2 -j 5 -j 4 Then the C max : s 03 + p 3 + s 31 + p 1 + s 12 + p 2 + s 25 + p 5 + s 54 + p 4 + s 40

How to solve MSDST? Equivalent to Traveling Salesman Problem (TSP) N jobs => N+1 cities 1)Using Mix Integer Programming: TSP-Relaxation and Min-cut problem 2)Algorithm given in the Textbook

TSP Relaxation x ij – 0 or 1, integer variable for all i<=n and j<=n (decision variable to decide whether to use the route (i, j)) cost ij = abs(b i -a j ), for all i<=n-1 and j<=n Minimize SUM i {SUM j {cost ij *x ij }} s.t. sum i x[i,j] = 1, for all j<=n sum j x[i,j] = 1, for all i<=n

TSP Relaxation TSP Relaxation alone does not work! The Integer Program will cheat by finding subtours. However, we can force the IP to eliminate such subtours by adding these two constraints to the IP formulation: sum ij {x[i,j]} >=1, where i is in subtour and j is not sum ij {x[j,i]} >=1, where i is in subtour and j is not

TSP Relaxation How do we find out subtours? We can solve another integer program min- cut problem to find the subtours

TSP Relaxation Min-Cut Problem 0 <= f ij <= 1, for all i<=n and j<=n y i – 0 or 1 integer variable for all i<=n x ij – 0 or 1 variable for all i<=n and j<=n (answer to the TSP Relaxation problem) minimize SUM i {SUM j {x ij *f ij }} s.t. f ij >= y i - y j f ij >= y j - y i 1 <= sum i {y i } <= n-1

TSP Relaxation Method Strategy 1) Solve TSP Relaxation Integer Program 2) Using the output data, solve a min-cut problem to see if subtour exists. If no subtour found, exit. 3) If subtour is found - add subtour constraints to the original TSP Relaxation Integer Program and return to step 1).

Algorithm Define: Φ(j) = k as a salesman traversing directly from city j to city k Define: Φ = ΦI(j,k) as Φ(k) = Φ(j), Φ(j) = Φ(k), Φ(l) = Φ(l) for all l not equal to j or k

Algorithm Lemma If the swap I(j,k) causes two arrows that did not cross ealier to cross, then the cost of the tour increases and vice versa. The change in cost is: c Φ I(j,k) = length of vertical overlap of intervals [b j,b k ] and [a Φ(j), a Φ(k) ]

Algorithm *Change in Cost Due to Swap I(j,k)

Algorithm Lemma An optimal permutation mapping Φ is obtained if b j <= b k and a Φ(j) <= a Φ(k) –From the picture from the slide, we know that performing a swap which uncrosses the lines leads to a solution as good or beter than the previous.

Algorithm Does Lemma and gaurantee optimal tour? –It gives us the optimal permuatation mapping –Not necessarily feasible tour –Provide a lower bound

Algorithm How to obtain optimal sequence from optimal permutation mapping? 1)Identify the subtours 2)Select the cheapest arc (using lemma 4.4.1) that connects two subtours 3)Repeat above two steps until no more subtour exists

Algorithm *When performing swaps, the sequence of swaps can affect the final cost! Example : up, up, down We can prevent this by scheduling nodes with b j <= a Φ(j) in a decreasing order of b j b j > a Φ(j) in an increasing order of b j

Algorithm Complete Algorithm –Given a set of data, a j and b j –Sort b j in increasing order, and move a j along with b j –Rank the moved a j s from the smallest to the largest, ranking the smallest 0, next smallest 1, and so on, and call this permutation mapping, Φ * (j) –Now, sort a j s in a similar fashion as b j s –Formulate a graph by connecting each node j with Φ * (j) node –Formulate c Φ * (j) I(j, j+1), which is an interchange cost

Algorithm Continued - Connect the nodes with undirected arcs -Divide newly inserted arcs into two groups -Sort the two groups, and run sequence interchanges according to the values in group 1 and group 2 -Obtain an optimal tour

Running Time Test Average Running time Comparison Numbe r of Jobs CPLEX TSP-Relaxation JAVA Algorithm secs 2010secs0 sec 1005 minutues0 sec 200>10mintues0 sec 500Crash2-5 secs 1000Crash30-40 secs 1500Crash4-5 minutes 2000Crash>10mintues