OPTIMIZAÇÃO E DECISÃO 09/10

Similar documents
TIM 206 Lecture Notes Integer Programming

Unit.9 Integer Programming

2 is not feasible if rounded. x =0,x 2

Optimization Methods in Management Science

3 INTEGER LINEAR PROGRAMMING

56:272 Integer Programming & Network Flows Final Examination -- December 14, 1998

56:272 Integer Programming & Network Flows Final Exam -- December 16, 1997

Outline. Column Generation: Cutting Stock A very applied method. Introduction to Column Generation. Given an LP problem

Column Generation: Cutting Stock

Fundamentals of Integer Programming

Math 5593 Linear Programming Final Exam

15.083J Integer Programming and Combinatorial Optimization Fall Enumerative Methods

NCSS Statistical Software

V. Solving Integer Linear Programs

MASSACHUSETTS INSTITUTE OF TECHNOLOGY

The University of Jordan Department of Mathematics. Branch and Cut

9.4 SOME CHARACTERISTICS OF INTEGER PROGRAMS A SAMPLE PROBLEM

Heuristics in MILP. Group 1 D. Assouline, N. Molyneaux, B. Morén. Supervisors: Michel Bierlaire, Andrea Lodi. Zinal 2017 Winter School

Integer Programming! Using linear programming to solve discrete problems

Computational Integer Programming. Lecture 12: Branch and Cut. Dr. Ted Ralphs

Solving linear programming

Chapter 7. Linear Programming Models: Graphical and Computer Methods

lpsymphony - Integer Linear Programming in R

A LARGE SCALE INTEGER AND COMBINATORIAL OPTIMIZER

The MIP-Solving-Framework SCIP

GENERAL ASSIGNMENT PROBLEM via Branch and Price JOHN AND LEI

February 19, Integer programming. Outline. Problem formulation. Branch-andbound

AMPL Integer Linear Programming And Sensitivity Analysis for LP. ORLAB Operations Research Laboratory. Borzou Rostami. Politecnico di Milano, Italy

MVE165/MMG631 Linear and integer optimization with applications Lecture 9 Discrete optimization: theory and algorithms

Linear Programming: Basic Concepts. Chapter 2: Hillier and Hillier

The Heuristic (Dark) Side of MIP Solvers. Asja Derviskadic, EPFL Vit Prochazka, NHH Christoph Schaefer, EPFL

Homework 2: Multi-unit combinatorial auctions (due Nov. 7 before class)

Integer Programming Chapter 9

Linear programming II João Carlos Lourenço

COMP9334: Capacity Planning of Computer Systems and Networks

5.3 Cutting plane methods and Gomory fractional cuts

Modelling of LP-problems (2WO09)

Integer Programming. Xi Chen. Department of Management Science and Engineering International Business School Beijing Foreign Studies University

Agenda. Understanding advanced modeling techniques takes some time and experience No exercises today Ask questions!

Introduction to Linear Programming. Chapter 3: Hillier and Lieberman Chapter 3: Decision Tools for Agribusiness Dr. Hurley s AGB 328 Course

Application of Cutting Stock Problem in Minimizing The Waste of Al-Quran Cover

Introduction. Chapter 15. Optimization Modeling: Applications. Integer Programming. Manufacturing Example. Three Types of ILP Models

Solving lexicographic multiobjective MIPs with Branch-Cut-Price

Motivation for Heuristics

An Introduction to Dual Ascent Heuristics

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Selected Topics in Column Generation

MVE165/MMG630, Applied Optimization Lecture 8 Integer linear programming algorithms. Ann-Brith Strömberg

Cloud Branching MIP workshop, Ohio State University, 23/Jul/2014

The Simplex Algorithm for LP, and an Open Problem

Parallel Branch & Bound

Outline. Modeling. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Models Lecture 5 Mixed Integer Programming Models and Exercises

Algorithms for Decision Support. Integer linear programming models

Methods and Models for Combinatorial Optimization Exact methods for the Traveling Salesman Problem

Manpower Planning: Task Scheduling. Anders Høeg Dohn

Working Under Feasible Region Contraction Algorithm (FRCA) Solver Environment

Improving Dual Bound for Stochastic MILP Models Using Sensitivity Analysis

Simulation. Lecture O1 Optimization: Linear Programming. Saeed Bastani April 2016

Metaheuristic Optimization with Evolver, Genocop and OptQuest

Algorithms for Integer Programming

L2: Algorithms: Knapsack Problem & BnB

WP September 1996

Parallel and Distributed Optimization with Gurobi Optimizer

BCN Decision and Risk Analysis. Syed M. Ahmed, Ph.D.

Machine Learning for Software Engineering

Linear Programming. Course review MS-E2140. v. 1.1

A NEW SEQUENTIAL CUTTING PLANE ALGORITHM FOR SOLVING MIXED INTEGER NONLINEAR PROGRAMMING PROBLEMS

Column Generation Based Primal Heuristics

A Lifted Linear Programming Branch-and-Bound Algorithm for Mixed Integer Conic Quadratic Programs

MATHEMATICS II: COLLECTION OF EXERCISES AND PROBLEMS

Experiments On General Disjunctions

Approximation Algorithms

Pivot and Gomory Cut. A MIP Feasibility Heuristic NSERC

Solutions for Operations Research Final Exam

NETWORK OPTIMIZATION MODELS

Math Models of OR: The Simplex Algorithm: Practical Considerations

Exact solutions to mixed-integer linear programming problems

AMPL Integer Linear Programming. ORLAB Operations Research Laboratory. Borzou Rostami. Politecnico di Milano, Italy.

Lagrangean Methods bounding through penalty adjustment

2. Modeling AEA 2018/2019. Based on Algorithm Engineering: Bridging the Gap Between Algorithm Theory and Practice - ch. 2

Two-layer Network Design by Branch-and-Cut featuring MIP-based Heuristics

Exploiting Degeneracy in MIP

Contents PROCESS DECOMPOSITION INTRODUCTION. Decomposition Approaches Desirable Properties

Mathematical Tools for Engineering and Management

Approximation in Linear Stochastic Programming Using L-Shaped Method

Solving Hybrid Decision-Control Problems Through Conflict-Directed Branch & Bound

LECTURE NOTES Non-Linear Programming

Introduction to Mathematical Programming IE496. Final Review. Dr. Ted Ralphs

Network Optimization Models. Chapter 10: Hillier and Lieberman Chapter 8: Decision Tools for Agribusiness Dr. Hurley s AGB 328 Course

A Row-and-Column Generation Method to a Batch Machine Scheduling Problem

The SYMPHONY Callable Library for Mixed-Integer Linear Programming

Benders in a nutshell Matteo Fischetti, University of Padova

Free modelling languages for linear and integer programming

Heuristics in Commercial MIP Solvers Part I (Heuristics in IBM CPLEX)

Restrict and Relax Search

LP-Modelling. dr.ir. C.A.J. Hurkens Technische Universiteit Eindhoven. January 30, 2008

NOTATION AND TERMINOLOGY

A Generic Separation Algorithm and Its Application to the Vehicle Routing Problem

Network Flow Models. Chapter Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall

Department of Mathematics Oleg Burdakov of 30 October Consider the following linear programming problem (LP):

Transcription:

OPTIMIZAÇÃO E DECISÃO 09/10 PL #7 Integer Programming Alexandra Moutinho (from Hillier & Lieberman Introduction to Operations Research, 8 th edition) Problem 1 Pawtucket University is planning to buy new copier machines for its library. Three members of its Operations Research Department are analyzing what to buy. They are considering two different models: Model A, a high speed copier, and Model B, a lower speed but less expensive copier. Model A can handle 20,000 copies a day, and costs $6,000. Model B can handle 10,000 copies a day, but costs only $4,000. They would like to have at least six copiers so that they can spread them throughout the library. They also would like to have at least one high speed copier. Finally, the copiers need to be able to handle a capacity of at least 75,000 copies per day. The objective is to determine the mix of these two copiers that will handle all these requirements at minimum cost. a) Formulate an IP model for this problem. b) Use a graphical approach to solve this model. c) Use the computer to solve the model. Resolution: a) Let A be the number of Model A copiers to buy. Let B be the number of Model B copiers to buy. The problem formulation is as follows: Mini mize C 6,000A4,000B subject to AB 6 A 1 20,000 A10,000B 75,000 and A 0, B 0 A, B are integers. b) In the following figure, the dots indicate feasible points. As we can see, A,B2,4 is the optimal solution with a minimum cost of $28,000. A 1 20,000A10,000B 75,000 AB 6 C 6,000A4,000B 28,000 1

c) We use Excel to solve this problem, as shown in the following figure. The Excel Solver finds the optimal solution,, 2,4 with a minimum cost of $28,000. Problem 2 Consider the following IP problem: Maximize 220 80, subject to 5 2 16 2 4 2 4 and 0, 0,, are integers. a) Use the MIP branch and bound algorithm presented to solve this problem by hand. For each subproblem, solve its LP relaxation automatically (Excel for example). b) Check your answer by using an automatic procedure to solve the problem. c) Use the interactive procedure for this algorithm in your IOR Tutorial to solve the problem. Resolution: a) Summary of the MIP Branch and Bound Algorithm. Initialization: Set. Apply the branching step, bounding step, fathoming step, and optimality test described below to the whole problem. If not fathomed, classify this problem as the one remaining subproblem for performing the first full iteration below. Steps for each iteration: 1. Branching: Among the remaining (unfathomed) subproblems, select the one that was created most recently. (Break ties according to which has the larger bound.) Among the integerrestricted variables that have a noninteger value in the optimal solution for the LP relaxation of the subproblem, choose the first one in the natural ordering of the variables to be the branching variable. Let be this variable and its value in this solution. Branch from the node for the subproblem to create two new subproblems by adding the respective constraints and 1, where is the greatest integer. Optimização e Decisão 09/10 PL #7 Integer Programming Alexandra Moutinho 2

2. Bounding: For each new subproblem, obtain its bound by applying the simplex method to its LP relaxation and using the value of for the resulting optimal solution. 3. Fathoming: For each new subproblem, apply the three fathoming tests given below, and discard those subproblems that are fathomed by any of the tests. Test 1: Its bound, where is the value of for the current incumbent. Test 2: Its LP relaxation has no feasible solutions. Test 3: The optimal solution for its LP relaxation has integer values for the integer restricted variables. (If this solution is better than the incumbent, it becomes the new incumbent and test 1 is reapplied to all unfathomed subproblems with the new larger.) Optimality test: Stop when there are no remaining subproblems; the current incumbent is optimal. Otherwise, perform another iteration. Initialization: Relaxing the integer constraints, the optimal solution of the LP relaxation of the whole problem is, 2.667,1.333 with an objective function value of 693.333. This LP relaxation of the whole problem possesses feasible solutions and its optimal solution has noninteger values for and, so the whole problem is not fathomed and we are ready to move on to the first full iteration. Iteration 1: The only remaining (unfathomed) subproblem at this point is the whole problem, so we use it for branching and bounding. In the above optimal solution for its LP relaxation, both integerrestricted variables ( and ) are noninteger, so we select the first one ( ) to be the branching variable. Since 2.667 in this optimal solution, we will create two new subproblems below by adding the respective constraints, and 1, where is the greatest integer, so 2. Subproblem 1: The original problem plus the additional constraint, Subproblem 2: 2. The original problem plus the additional constraint, 3. For subproblem 1, the optimal solution for its LP relaxation is, 2,3with 680. Since the solution, 2,3 is integer valued, subproblem 1 is fathomed by fathoming test 3 and this solution becomes the first incumbent. Incumbent 2,3 with 680. Now consider subproblem 2. It can be seen that the new constraint 3results in having no feasible solutions. Therefore, subproblem 2 is fathomed by fathoming test 2. At this point, there are no remaining (unfathomed) subproblems, so the optimality test indicates that the current incumbent is optimal for the original whole problem, so no additional iterations are needed., 2,3 with 680. b) As shown in the following spreadsheet, the Excel Solver finds the optimal solution,, 2,3 with 680, which is identical to the solution found in part a). Optimização e Decisão 09/10 PL #7 Integer Programming Alexandra Moutinho 3

c) Optimização e Decisão 09/10 PL #7 Integer Programming Alexandra Moutinho 4

Optimização e Decisão 09/10 PL #7 Integer Programming Alexandra Moutinho 5

Optimização e Decisão 09/10 PL #7 Integer Programming Alexandra Moutinho 6