Branch-and-Bound & Beam-Search. Branch and bound Enumeration in a search tree each node is a partial solution, i.e. a part of the solution space... root.

Slides:



Advertisements
Similar presentations
Seçil Sözüer 1. 1-) Introduction 2-) Problem Defn. 3-) Single machine subproblem (P m ) 4-) Cost lower bounds for a partial schedule (for B&B and BS)
Advertisements

Branch-and-Bound Technique for Solving Integer Programs
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,
Branch and Bound Example. Initial lower bound Jrpd Use 1 machine preemptive schedule as lower bound Job 2 has a lateness of 5,
ISE480 Sequencing and Scheduling Izmir University of Economics ISE Fall Semestre.
EE 553 Integer Programming
Bicriteria Approximation Tradeoff for the Node-Cost Budget Problem Yuval Rabani (Technion) Gabriel Scalosub (Tel Aviv University)
Lecture 10: Integer Programming & Branch-and-Bound
5-1 Chapter 5 Tree Searching Strategies. 5-2 Satisfiability problem Tree representation of 8 assignments. If there are n variables x 1, x 2, …,x n, then.
Branch & Bound Algorithms
Lateness Models Contents
Spring, Scheduling Operations. Spring, Scheduling Problems in Operations Job Shop Scheduling. Personnel Scheduling Facilities Scheduling.
THE SINGLE MACHINE EARLY/TARDY PROBLEM* PENG SI OW & THOMAS E. MORTON IE Paper Presentation A. İrfan Mahmutoğulları *Ow, P. S., & Morton, T. E. (1989).
1 IOE/MFG 543 Chapter 3: Single machine models (Sections 3.1 and 3.2)
Branch and Bound Searching Strategies
6 - 1 § 6 The Searching Strategies e.g. satisfiability problem x1x1 x2x2 x3x3 FFF FFT FTF FTT TFF TFT TTF TTT.
Integer Programming – based Decomposition Approaches for Solving Machine Scheduling Problems Ruslan SADYKOV Ecole Polytechnique, Laboratoire d’Informatique.
Dealing with NP-Complete Problems
1 Single Machine Deterministic Models Jobs: J 1, J 2,..., J n Assumptions: The machine is always available throughout the scheduling period. The machine.
Chapter 2: Model of scheduling problem Components of any model: Decision variables –What we can change to optimize the system, i.e., model output Parameters.
Duality in Optimization and Constraint Satisfaction J. N. Hooker Carnegie Mellon Univ. Pittsburgh, USA September 2006.
1 IOE/MFG 543 Chapter 14: General purpose procedures for scheduling in practice Sections : Dispatching rules and filtered beam search.
1 Branch and Bound Searching Strategies 2 Branch-and-bound strategy 2 mechanisms: A mechanism to generate branches A mechanism to generate a bound so.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Ch 13 – Backtracking + Branch-and-Bound
Branch and Bound Algorithm for Solving Integer Linear Programming
5-1 Chapter 5 Tree Searching Strategies. 5-2 Breadth-first search (BFS) 8-puzzle problem The breadth-first search uses a queue to hold all expanded nodes.
1 Contents college 3 en 4 Book: Appendix A.1, A.3, A.4, §3.4, §3.5, §4.1, §4.2, §4.4, §4.6 (not: §3.6 - §3.8, §4.2 - §4.3) Extra literature on resource.
Lecture 8: Dispatch Rules
Integer programming Branch & bound algorithm ( B&B )
Decision Procedures An Algorithmic Point of View
Job-shop Scheduling n jobs m machines No recirculation – Jobs do not revisit the same machine (i, j) is referred to as an operation in which job j is processed.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
Integer Programming Key characteristic of an Integer Program (IP) or Mixed Integer Linear Program (MILP): One or more of the decision variable must be.
Operational Research & ManagementOperations Scheduling Introduction Operations Scheduling 1.Setting up the Scheduling Problem 2.Single Machine Problems.
Design and Analysis of Algorithms - Chapter 111 How to tackle those difficult problems... There are two principal approaches to tackling NP-hard problems.
Chapter 12 Coping with the Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
Decision Diagrams for Sequencing and Scheduling Andre Augusto Cire Joint work with David Bergman, Willem-Jan van Hoeve, and John Hooker Tepper School of.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
1 Branch and Bound Searching Strategies Updated: 12/27/2010.
Integer Programming Li Xiaolei. Introduction to Integer Programming An IP in which all variables are required to be integers is called a pure integer.
Branch-and-Cut Valid inequality: an inequality satisfied by all feasible solutions Cut: a valid inequality that is not part of the current formulation.
Divide and Conquer Optimization problem: z = max{cx : x  S}
Integer LP In-class Prob
M Tech Project – First Stage Improving Branch-And-Price Algorithms For Solving 1D Cutting Stock Problem Soumitra Pal [ ]
Chapter 2. Optimal Trees and Paths Combinatorial Optimization
5-1 Copyright © 2013 Pearson Education Integer Programming: The Branch and Bound Method Module C.
Integer Programming, Branch & Bound Method
Branch and Bound Searching Strategies
Raunak Singh (ras2192) IEOR 4405: Production Scheduling 28 th April 2009.
Product A Product B Product C A1A1 A2A2 A3A3 B1B1 B2B2 B3B3 B4B4 C1C1 C3C3 C4C4 Turret lathes Vertical mills Center lathes Drills From “Fundamentals of.
Chapter 6 Optimization Models with Integer Variables.
1 Chapter 6 Reformulation-Linearization Technique and Applications.
1 Chapter 5 Branch-and-bound Framework and Its Applications.
0 Integer Programming Introduction to Integer Programming (IP) Difficulties of LP relaxation IP Formulations Branch and Bound Algorithms Reference: Chapter.
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.
Backtracking And Branch And Bound
Lecture 11: Tree Search © J. Christopher Beck 2008.
The CPLEX Library: Mixed Integer Programming
Introduction to Operations Research
Study Guide for ES205 Yu-Chi Ho Jonathan T. Lee Nov. 7, 2000
Integer Linear Programming
Analysis & Design of Algorithms (CSCE 321)
Max Z = x1 + x2 2 x1 + 3 x2  6 (1) x2  1.5 (2) x1 - x2  2 (3)
Topic 15 Job Shop Scheduling.
Branch and Bound Example
IOE/MFG 543 Chapter 14: General purpose procedures for scheduling in practice Sections : Dispatching rules and filtered beam search.
Branch-and-Bound Algorithm for Integer Program
Branch-and-Bound Technique for Solving Integer Programs
Presentation transcript:

Branch-and-Bound & Beam-Search

Branch and bound Enumeration in a search tree each node is a partial solution, i.e. a part of the solution space... root node child nodes Level 0 Level 1 Level 2

Branch and bound example 1 Disjunctive programming (appendix A.4): disjunctive set of constraints: at least one must be satisfied x j = completion time of job j restriction: solve LP without disjunctive restrictions (= LP relaxation) if disjunct. restr. violated for j & k Level 0 Level 1...

Branch and bound (cont.) Upper bound: e.g. a feasible solution Lower bound: e.g. a solution to an “easier” problem Node elimination (fathom/discard nodes): when lower bound >= upper bound

Branch and bound (cont.) Branching strategy: how to partition solution space Node selection strategy: –sequence of exploring nodes: depth first (tries to obtain a solution fast) breadth/best bound first (tries to find the best solution) –which nodes to explore (filter and beam width) filter width: #nodes selected for thorough evaluation beam width: #nodes that are branched on (  filter width)  Beam search

Branch and bound example 2 Single machine, maximum lateness, release and due dates lower bound: EDD + preemption (?,?,?,?) (1,?,?,?) (4,?,?,?)(2,?,?,?) Level 0 Level 1 (3,?,?,?)

Branch and bound example 2 Lower bound for: (1,?,?,?) Lower bound: Lmax = max(0,17-12,15-11,0)=5 t r(2)r(3)r(4) d(4)<d(3)d(3)<d(2)

(?,?,?,?) (1,?,?,?) (4,?,?,?)(2,?,?,?) Level 0 Level 1 (3,?,?,?) Branch and bound example 2 (cont.) LB=5 LB=7* =UB (1,2,?,?)(1,3,?,?) infeasible: (1,3,4,3,2) LB=6* =UB (1,2,4,3) LB=5*=UB (1,3,4,2) DONE (1,2,4,3)(1,3,4,2)

Branch and bound example x1x x2x2 0 obj: 3 LP solution:

Beam search example 1 single-machine, total weighted tardiness Upper bound: ATC rule (apparent tardiness cost): schedule 1 job at a time every time a machine comes available, determine ranking of jobs: MS rule WSPT rule look-ahead parameter: K = R(R  0.5) K = 6 - 2R(R  0.5) = due date range factor

Beam search example 1 (cont.) single-machine, total weighted tardiness (?,?,?,?) (1,?,?,?) (4,?,?,?) (2,?,?,?) (3,?,?,?) Upper bound by ATC rule:

Beam search example 1 (cont.) single-machine, total weighted tardiness (?,?,?,?) (1,?,?,?) (4,?,?,?) (2,?,?,?) (3,?,?,?) Upper bound by ATC rule: Total = 408

Beam search example 1 (cont.) single-machine, total weighted tardiness (?,?,?,?) (1,?,?,?) (4,?,?,?) (2,?,?,?) (3,?,?,?) UB=408 UB=436UB=814UB=440 discardedexplored further (beam width = 2) 4 nodes analyzed (filter width=4)

Beam search example 1 (cont.) (?,?,?,?) (1,?,?,?) (4,?,?,?) (2,?,?,?) (3,?,?,?) UB= (1,2,?,?) (1,3,?,?) (1,4,?,?) UB= (1,4,2,3) (1,4,3,2) UB= best solution (2,1,?,?) (2,3,?,?) (2,4,?,?) 436 (2,4,1,3) (2,4,3,1)

DISKUSI & TANYA JAWAB