WOOD 492 MODELLING FOR DECISION SUPPORT

Slides:



Advertisements
Similar presentations
Thursday, April 11 Some more applications of integer
Advertisements

WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 17 Integer Programming.
Integer Optimization Basic Concepts Integer Linear Program(ILP): A linear program except that some or all of the decision variables must have integer.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 16 Integer Programming.
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,
Pure, Mixed-Integer, Zero-One Models
Branch-and-Bound In this handout,  Summary of branch-and-bound for integer programs Updating the lower and upper bounds for OPT(IP) Summary of fathoming.
DMOR Branch and bound. Integer programming Modelling logical constraints and making them linear: – Conjuction – Disjunction – Implication – Logical constraints.
Dynamic Programming In this handout A shortest path example
1 Cutting Plane Technique for Solving Integer Programs.
Deterministic Dynamic Programming.  Dynamic programming is a widely-used mathematical technique for solving problems that can be divided into stages.
EE 553 Integer Programming
Progress in Linear Programming Based Branch-and-Bound Algorithms
Water Resources Development and Management Optimization (Integer Programming) CVEN 5393 Mar 11, 2013.
Integer Programming and Branch and Bound Brian C. Williams November 15 th, 17 th, 2004 Adapted from slides by Eric Feron, , 2002.
Solving Integer Programs. Natural solution ideas that don’t work well Solution idea #1: Explicit enumeration: Try all possible solutions and pick the.
Dealing with NP-Complete Problems
Computational Methods for Management and Economics Carla Gomes
Optimization for Network Planning Includes slide materials developed by Wayne D. Grover, John Doucette, Dave Morley © Wayne D. Grover 2002, 2003 E E 681.
Branch and Bound Algorithm for Solving Integer Linear Programming
Cutting Planes II. The Knapsack Problem Recall the knapsack problem: n items to be packed in a knapsack (can take multiple copies of the same item). The.
LP formulation of Economic Dispatch
0 Integer Programming Introduction to Integer Programming (IP) Difficulties of LP relaxation IP Formulations Branch and Bound Algorithms.
Daniel Kroening and Ofer Strichman Decision Procedures An Algorithmic Point of View Deciding ILPs with Branch & Bound ILP References: ‘Integer Programming’
Integer programming Branch & bound algorithm ( B&B )
Decision Procedures An Algorithmic Point of View
Chapter 11: Hillier and Lieberman Dr. Hurley’s AGB 328 Course
1 1 Slide Integer Linear Programming Professor Ahmadi.
1 1 Slide Integer Linear Programming Professor Ahmadi.
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Types of IP Models All-integer linear programs Mixed integer linear programs (MILP) Binary integer linear programs, mixed or all integer: some or all of.
Fundamentals of Algorithms MCS - 2 Lecture # 7
Integer Programming Key characteristic of an Integer Program (IP) or Mixed Integer Linear Program (MILP): One or more of the decision variable must be.
To accompany Quantitative Analysis for Management, 8e by Render/Stair/Hanna 11-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 11.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 3 Basics of the Simplex Algorithm.
15.053Tuesday, April 9 Branch and Bound Handouts: Lecture Notes.
Integer Programming Li Xiaolei. Introduction to Integer Programming An IP in which all variables are required to be integers is called a pure integer.
Divide and Conquer Optimization problem: z = max{cx : x  S}
Integer LP In-class Prob
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 18 Branch and Bound Algorithm.
Branch and Bound Algorithms Present by Tina Yang Qianmei Feng.
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
IE 312 Review 1. The Process 2 Problem Model Conclusions Problem Formulation Analysis.
Chapter 6 Optimization Models with Integer Variables.
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.
Water Resources Development and Management Optimization (Integer and Mixed Integer Programming) CVEN 5393 Mar 28, 2011.
Nonlinear Programming Prepared by Lee Revere and John Large
Signal processing and Networking for Big Data Applications: Lecture 9 Mix Integer Programming: Benders decomposition And Branch & Bound NOTE: To change.
The CPLEX Library: Mixed Integer Programming
Introduction to Operations Research
5.2 Mixed Integer Linear Programming
Integer Linear Programming
Integer Linear Programming
ENGM 435/535 Integer Programming.
Cynthia Phillips (Sandia National Laboratories)
Integer Linear Programming
5.2 Mixed Integer Linear Programming
We have the following incomplete B&B tree:
Branch-and-Bound Algorithm for Integer Program
Integer LP: Algorithms
Branch-and-Bound Technique for Solving Integer Programs
Integer Linear Programming
Integer Programming (IP)
5.2 Mixed Integer Linear Programming
Discrete Optimization
Presentation transcript:

WOOD 492 MODELLING FOR DECISION SUPPORT Today we will talk about the format of the course and some introductions to operations research and its applications Lecture 19 Branch and Bound Algorithm

IP Solution Approach Solve the LP relaxation and round the answers Normally the rounded answers are not feasible, or are far from optimal Exhaustive search of all feasible points Computationally infeasible due to exponential growth of the number of answers Branch and Bound Divide problem into smaller problems by portioning the feasible solution region Cutting Planes Oct 19, 2012 Wood 492 - Saba Vahid

Branch and Bound method (for BIP) Initialize: set Z ⃰ value to -∞ (for a maximization problem) or ∞ (for a minimization problem). We call Z ⃰ the “incumbent” solution. Branching: Partition the set of feasible solutions by fixing the value of one of the binary variables (Xi=0, and Xi=1) to create two sub-problems (these decision points are called “nodes”, and branches connect the nodes together) Bounding: solve the LP relaxation of each sub-problem to find the bounds on the optimal Z value. (LP relaxation is when we allow the binary variables to have any value between 0 and 1). If the optimal solution of the relaxation is not integer, we round it down (for maximization problems) or up (for minimization problems). The rounded Z values are the “bounds” on the optimal solution of each sub-problem. Oct 19, 2012 Wood 492 - Saba Vahid

Branch and Bound method (for BIP) Fathoming: there are three ways in which we can fathom (dismiss) a sub-problem (described in the next slide). When a sub-problem is fathomed, we no longer divide it into further sub-problems. Continue with branching of the remaining sub-problems until there are no more sub-problems, the “incumbent” solution is the optimal solution. If no incumbent solution exists, the problem is infeasible. Oct 19, 2012 Wood 492 - Saba Vahid

Fathoming of a branch If the optimal solution to the LP relaxation of a branch is an integer solution (all binary variables are found to be either 0 or 1), it is also the optimal solution of the sub-problem. We compare the Z value with Z ⃰ and if it is better, this Z will be stored as the new incumbent solution (Z ⃰ ). We then stop dividing this branch into smaller ones because any further solution will be worse than the current Z value. If the bound on the optimal solution of a branch (sub-problem) is worse than the value of the current incumbent, we fathom that branch, because the optimal solution of that branch can not be better than the incumbent. If the LP-relaxation of a sub-problem is infeasible, then the sub-problem itself will be infeasible, so we will fathom that branch. Oct 19, 2012 Wood 492 - Saba Vahid

Solving Example 9 with branch and bound Factory and warehouse location problem in LA and SF Obj Z=9 X1 +5 X2 +6 X3 +4 X4 (Total NPV) Subject to: 6 X1+3 X2+ 5 X3+ 2 X4 <= 10 (Total Capital) X3+ X4 <= 1 (One warehouse) -X1 + X3 <= 0 (warehouse and factory - X2 + X4 <= 0 in the same city) Xi <= 1 (Upper bound) Xi >= 0 (Lower Bound) Oct 19, 2012 Wood 492 - Saba Vahid

Solving Example 9 Z ⃰ =-∞ x1 =0 Optimal solution Z ⃰ = 9, branch fathomed Z=9 (0,1,0,1) All x2 =0 Z ⃰ = 14 branch fathomed x4 =0 x1 =1 Z= 16.5 → Z=16 (5/6,1,0,1) Z= 13.8 → Z=13 (1,0,4/5,0) Z=14 (1,1,0,0) x3 =0 Z= 16.5 → Z=16 (1,4/5,0,4/5) Z ⃰ =-∞ Z=16 (1,1,0,1/2) x2 =1 x4 =1 Z=16 (1,1,0,1/2) Infeasible Branch fathomed x3 =1 Infeasible Branch fathomed Oct 19, 2012 Wood 492 - Saba Vahid

Example 11: Branch and Bound method A company is assembling a team of 4 members to carry out 4 operations, and wants to maximize the overall success probability Decision: Which member should be assigned to each operation? Constraints: Each member can carry out exactly one operation All operations need to be carried out for the process to be complete Each member has a different success rate for each operation (Table 1) for example if operations 1-2-3-4 are assigned to ABCD, the total success probability is: 0.9 * 0.6 * 0.85 * 0.7 = 0.3213 Table 1. Success rate of each member for each operation Oct 19, 2012 Wood 492 - Saba Vahid

Example 11 The nodes in our problem are different allocations of people to operations, for example ABCD is a node (allocating 1st task to A, 2nd task To B, and so on) The firs incumbent is -∞ The root node corresponds to the original problem when no sub-problems are defined. The branching process is shown in your handout and in the web demo at: http://optlab-server.sce.carleton.ca/POAnimations2007/BranchAndBound.html Oct 19, 2012 Wood 492 - Saba Vahid