Chapter 12 Discrete Optimization Methods

Slides:



Advertisements
Similar presentations
Integer Optimization Basic Concepts Integer Linear Program(ILP): A linear program except that some or all of the decision variables must have integer.
Advertisements

WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 16 Integer Programming.
1 Material to Cover  relationship between different types of models  incorrect to round real to integer variables  logical relationship: site selection.
BU Decision Models Integer_LP1 Integer Optimization Summer 2013.
1 LP Duality Lecture 13: Feb Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.
Geometry and Theory of LP Standard (Inequality) Primal Problem: Dual Problem:
BA 452 Lesson B.3 Integer Programming 11ReadingsReadings Chapter 7 Integer Linear Programming.
Introduction to Algorithms
1 Cutting Plane Technique for Solving Integer Programs.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Solving Integer Programs. Natural solution ideas that don’t work well Solution idea #1: Explicit enumeration: Try all possible solutions and pick the.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Integer Programming Difference from linear programming –Variables x i must take on integral values, not real values Lots of interesting problems can be.
D Nagesh Kumar, IIScOptimization Methods: M7L1 1 Integer Programming All Integer Linear Programming.
Review of Reservoir Problem OR753 October 29, 2014 Remote Sensing and GISc, IST.
LP formulation of Economic Dispatch
Daniel Kroening and Ofer Strichman Decision Procedures An Algorithmic Point of View Deciding ILPs with Branch & Bound ILP References: ‘Integer Programming’
Introduction to Mathematical Programming OR/MA 504 Chapter 5 Integer Linear Programming.
1 Lecture 4 Maximal Flow Problems Set Covering Problems.
DECISION MODELING WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall Publishers and Ardith E. Baker IntegerOptimization Chapter 6.
Integer programming Branch & bound algorithm ( B&B )
Decision Procedures An Algorithmic Point of View
1 1 Slide © 2005 Thomson/South-Western Chapter 8 Integer Linear Programming n Types of Integer Linear Programming Models n Graphical and Computer Solutions.
1 1 Slide Integer Linear Programming Professor Ahmadi.
1 1 Slide Integer Linear Programming Professor Ahmadi.
Spreadsheet Modeling & Decision Analysis:
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning. 6-1 Integer Linear Programming Chapter 6.
Integer Programming Key characteristic of an Integer Program (IP) or Mixed Integer Linear Program (MILP): One or more of the decision variable must be.
1 1 Slide © 2005 Thomson/South-Western Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization.
Solve problems by using linear programming.
Chapter 7 Duality and Sensitivity in Linear Programming.
Integer Programming Each year CrossChek decides which lines of golf clubs and clothing it will market. Consider that each line of golf clubs is expected.
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.
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
WOOD 492 MODELLING FOR DECISION SUPPORT
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
Integer Programming Li Xiaolei. Introduction to Integer Programming An IP in which all variables are required to be integers is called a pure integer.
1 A polynomial relaxation-type algorithm for linear programming Sergei Chubanov University of Siegen, Germany
Integer LP In-class Prob
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Highline Class, BI 348 Basic Business Analytics using Excel Chapter 08 & 09: Introduction to Linear Programing 1.
Integer Programming Key characteristic of an Integer Program (IP) or Mixed Integer Linear Program (MILP): One or more of the decision variable must be.
1.2 Guidelines for strong formulations  Running time for LP usually depends on m and n ( number of iterations O(m), O(log n)). Not critically depend on.
8/14/04 J. Bard and J. W. Barnes Operations Research Models and Methods Copyright All rights reserved Lecture 6 – Integer Programming Models Topics.
Chapter 8 Integer Linear Programming n Types of Integer Linear Programming Models n Graphical and Computer Solutions for an All- Integer Linear Program.
Linear Programming Short-run decision making model –Optimizing technique –Purely mathematical Product prices and input prices fixed Multi-product production.
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
IE 312 Review 1. The Process 2 Problem Model Conclusions Problem Formulation Analysis.
Chapter 6 Optimization Models with Integer Variables.
1 Geometrical solution of Linear Programming Model.
0 Integer Programming Introduction to Integer Programming (IP) Difficulties of LP relaxation IP Formulations Branch and Bound Algorithms Reference: Chapter.
An Introduction to Linear Programming Pertemuan 4
Integer Programming An integer linear program (ILP) is defined exactly as a linear program except that values of variables in a feasible solution have.
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
integer linear programming, mixed integer linear programming
6.5 Stochastic Prog. and Benders’ decomposition
Exam 1 Review/Instructions
Dr. Arslan Ornek IMPROVING SEARCH
Integer Linear Programming
Chapter 5. The Duality Theorem
Linear Programming Problem
6.5 Stochastic Prog. and Benders’ decomposition
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Dr. Arslan Ornek DETERMINISTIC OPTIMIZATION MODELS
1.2 Guidelines for strong formulations
Chapter 6. Large Scale Optimization
Integer Linear Programming
1.2 Guidelines for strong formulations
Presentation transcript:

Chapter 12 Discrete Optimization Methods

12.1 Solving by Total Enumeration If model has only a few discrete decision variables, the most effective method of analysis is often the most direct: enumeration of all the possibilities. [12.1] Total enumeration solves a discrete optimization by trying all possible combinations of discrete variable values, computing for each the best corresponding choice of any continuous variables. Among combinations yielding a feasible solution, those with the best objective function value are optimal. [12.2]

Swedish Steel Model with All-or-Nothing Constraints min 16(75)y1+10(250)y2 +8 x3+9 x4 +48 x5+60 x6 +53 x7 s.t. 75y1+ 250y2 + x3+ x4 + x5+ x6 + x7 = 1000 0.0080(75)y1+ 0.0070(250)y2+0.0085x3+0.0040x4  6.5 0.0080(75)y1+ 0.0070(250)y2+0.0085x3+0.0040x4  7.5 0.180(75)y1 + 0.032(250)y2 + 1.0 x5  30.0 0.180(75)y1 + 0.032(250)y2 + 1.0 x5  30.5 0.120(75)y1 + 0.011(250)y2 + 1.0 x6  10.0 0.120(75)y1 + 0.011(250)y2 + 1.0 x6  12.0 0.001(250)y2 + 1.0 x7  11.0 0.001(250)y2 + 1.0 x7  13.0 x3…x7  0 y1, y2 = 0 or 1 (12.1) Cost = 9967.06 y1* = 1, y2* = 0, x3* = 736.44, x4* = 160.06 x5* = 16.50, x6* = 1.00, x7* = 11.00

Swedish Steel Model with All-or-Nothing Constraints Discrete Combination Corresponding Continuous Solution Objective Value y1 y2 x3 x4 x5 x6 x7 823.11 125.89 30.00 10.00 11.00 10340.89 1 646.67 63.33 22.00 7.25 10.75 10304.08 736.44 160.06 16.50 1.00 9967.06 561.56 94.19 8.50 0.00 10017.94

Exponential Growth of Cases to Enumerate Exponential growth makes total enumeration impractical with models having more than a handful of discrete decision variables. [12.3]

12.2 Relaxation of Discrete Optimization Models Constraint Relaxations Model ( 𝑃 ) is a constraint relaxations of model (P) if every feasible solution to (P) is also feasible in ( 𝑃 ) and both models have the same objective function. [12.4] Relaxation should be significantly more tractable than the models they relax, so that deeper analysis is practical. [12.5]

Example 12.1 Bison Booster The Boosters are trying to decide what fundraising projects to undertake at the next country fair. One option is customized T-shirts, which will sell for $20 each; the other is sweatshirts selling for $30. History shows that everything offered for sale will be sold before the fair is over. Materials to make the shirts are all donated by local merchants, but the Boosters must rent the equipment for customization. Different processes are involved, with the T-shirt equipment renting at $550 for the period up to the fair, and the sweatshirt equipment for $720. Display space presents another consideration. The Boosters have only 300 square feet of display wall area at the fair, and T-shirts will consume 1.5 square feet each, sweatshirts 4 square feet each. What plan will net the most income?

Bison Booster Example Model Decision variables: x1  number of T-shirts made and sold x2  number of sweatshirts made and sold y1  1 if T-shirt equipment is rented; =0 otherwise y1  1 if sweatshirt equipment is rented; =0 otherwise Max 20x1 + 30x2 – 550y1 – 720y2 (Net income) s.t. 1.5x1 + 4x2  300 (Display space) x1  200y1 (T-shirt if equipment) x2  75y2 (Sweatshirt if equipment) x1, x2  0 y1, y2 = 0 or 1 (12.2) Net Income = 3450 x1* = 200, x2* = 0, y1* = 1, y2* = 0

Constraint Relaxation Scenarios Double capacities 1.5x1 + 4x2  600 x1  400y1 x2  150y2 x1, x2  0 y1, y2 = 0 or 1 Dropping first constraint 1.5x1 + 4x2  300 x1  200y1 x2  75y2 Net Income = 7450 𝑥 1* = 400, 𝑥 2* = 0, 𝑦 1* = 1, 𝑦 2 * = 0 Net Income = 4980 𝑥 1* = 200, 𝑥 2* = 75, 𝑦 1* = 1, 𝑦 2 * = 1

Constraint Relaxation Scenarios Treat discrete variables as continuous 1.5x1 + 4x2  300 x1  200y1 x2  75y2 x1, x2  0 0  y1  1 0  y2  1 Net Income = 3450 𝑥 1* = 200, 𝑥 2* = 0, 𝑦 1* = 1, 𝑦 2 * = 0

Linear Programming Relaxations Continuous relaxations (linear programming relaxations if the given model is an ILP) are formed by treating any discrete variables as continuous while retaining all other constraints. [12.6] LP relaxations of ILPs are by far the most used relaxation forms because they bring all the power of LP to bear on analysis of the given discrete models. [12.7]

Proving Infeasibility with Relaxations If a constraint relaxation is infeasible, so is the full model it relaxes. [12.8]

Solution Value Bounds from Relaxations The optimal value of any relaxation of a maximize model yields an upper bound on the optimal value of the full model. The optimal value of any relaxation of a minimize model yields an lower bound. [12.9] Feasible solutions in relaxation Feasible solutions in true model True optimum

Example 11.3 EMS Location Planning 2 3 4 5 6 7 8 9 10

Minimum Cover EMS Model 𝑀𝑖𝑛 𝑗=1 10 𝑥 𝑗 s.t. x4 + x6  1 x4 + x5  1 x4 + x5 + x6  1 x4 + x5 + x7  1 x8 + x9  1 x6 + x9  1 x5 + x6  1 x5 + x7 + x10  1 x9 + x10  1 x10  1 (12.3) x2  1 x1 + x2  1 x1 + x3  1 x3  1 x2 + x4  1 x3 + x4  1 x8  1 x2* = x3* = x4* = x6* = x8* = x10* =1, x1* = x5* = x7* = x9* = 0 xi = 0 or 1  j=1,…,10

Minimum Cover EMS Model with Relaxation 𝑀𝑖𝑛 𝑗=1 10 𝑥 𝑗 s.t. x4 + x6  1 x4 + x5  1 x4 + x5 + x6  1 x4 + x5 + x7  1 x8 + x9  1 x6 + x9  1 x5 + x6  1 x5 + x7 + x10  1 x9 + x10  1 x10  1 (12.4) x2  1 x1 + x2  1 x1 + x3  1 x3  1 x2 + x4  1 x3 + x4  1 x8  1 𝑥 2* = 𝑥 3 * = 𝑥 8* = 𝑥 10* =1, 𝑥 4* = 𝑥 5* = 𝑥 6* = 𝑥 9* = 0.5 0xj 1  j=1,…,10

Optimal Solutions from Relaxations If an optimal solution to a constraint relaxation is also feasible in the model it relaxes, the solution is optimal in that original model. [12.10]

Rounded Solutions from Relaxations Many relaxations produce optimal solutions that are easily “rounded” to good feasible solutions for the full model. [12.11] The objective function value of any (integer) feasible solution to a maximizing discrete optimization problem provides a lower bound on the integer optimal value, and any (integer) feasible solution to a minimizing discrete optimization problem provides an upper bound. [12.12]

Rounded Solutions from Relaxation: EMS Model Ceiling 𝑥 1 = 𝑥 1 = 0 = 0 𝑥 2 = 𝑥 2 = 1 = 1 𝑥 3 = 𝑥 3 = 1 = 1 𝑥 4 = 𝑥 4 = 0.5 = 1 𝑥 5 = 𝑥 5 = 0.5 = 1 𝑥 6 = 𝑥 6 = 0.5 = 1 𝑥 7 = 𝑥 7 = 0 = 0 𝑥 8 = 𝑥 8 = 1 = 1 𝑥 9 = 𝑥 9 = 0.5 = 1 𝑥 10 = 𝑥 10 = 1 = 1 𝑗=1 10 𝑥 j = 8 Floor 𝑥 1 = 𝑥 1 = 0 = 0 𝑥 2= 𝑥 2 = 1 = 1 𝑥 3= 𝑥 3 = 1 = 1 𝑥 4 = 𝑥 4 = 0.5 = 0 𝑥 5 = 𝑥 5 = 0.5 = 0 𝑥 6 = 𝑥 6 = 0.5 = 0 𝑥 7= 𝑥 7 = 0 = 0 𝑥 8= 𝑥 8 = 1 = 1 𝑥 9 = 𝑥 9 = 0.5 = 0 𝑥 10= 𝑥 10 = 1 = 1 𝑗=1 10 𝑥 𝑗 = 4 (12.5)

12.3 Stronger LP Relaxations, Valid Inequalities, and Lagrangian Relaxation A relaxation is strong or sharp if its optimal value closely bounds that of the true model, and its optimal solution closely approximates an optimum in the full model. [12.13] Equally correct ILP formulations of a discrete problem may have dramatically different LP relaxation optima. [12.14]

Choosing Big-M Constants Whenever a discrete model requires sufficiently large big-M’s, the strongest relaxation will result from models employing the smallest valid choice of those constraints. [12.15]

Bison Booster Example Model with Relaxation in Big-M Constants Max 20x1 + 30x2 – 550y1 – 720y2 (Net income) s.t. 1.5x1 + 4x2  300 (Display space) x1  200y1 (T-shirt if equipment) x2  75y2 (Sweatshirt if equipment) x1, x2  0 y1, y2 = 0 or 1 x1  10000y1 (T-shirt if equipment) x2  10000y2 (Sweatshirt if equipment) (12.2) Net Income = 3450 x1* = 200, x2* = 0, y1* = 1, y2* = 0 (12.6) Net Income = 3989 𝑥 1 = 200, 𝑥 2 = 0, 𝑦 1 = 0.02, 𝑦 2 = 0

Valid Inequalities A linear inequality is a valid inequality for a given discrete optimization model if it holds for all (integer) feasible solutions to the model. [12.16] To strengthen a relaxation, a valid inequality must cut off (render infeasible) some feasible solutions to the current LP relaxation that are not feasible in the full ILP model. [12.17]

Example 11.10 Tmark Facilities Location 2 3 4 5 6 7 8 i Fixed Cost 1 2400 2 7000 3 3600 4 1600 5 3000 6 4600 7 9000 8 2000

Tmark Facilities Location Example with LP Relaxation 𝑚𝑖𝑛 𝑖=1 8 𝑗=1 14 (𝑟 𝑖,𝑗 𝑑 𝑗 )𝑥 𝑖,𝑗 + 𝑖=1 8 𝑓 𝑖 𝑦 𝑖 𝑖=1 8 𝑥 𝑖,𝑗 =1 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑗 (𝑐𝑎𝑟𝑟𝑦 𝑗 𝑙𝑜𝑎𝑑) 1500 𝑦 𝑖 ≤ 𝑗=1 14 𝑑 𝑗 𝑥 𝑖,𝑗 ≤5000 𝑦 𝑖 (𝑐𝑎𝑝𝑎𝑐𝑖𝑡𝑦 𝑜𝑓 𝑖) 𝑥 𝑖,𝑗 ≥0 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑖,𝑗 𝑦 𝑖 =0 𝑜𝑟 1 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑖 (12.8) s.t. y4*=y8*= 1 y1*=y2*= y3*=y5*= y6*=y7*= 0 Total Cost = 10153 LP Relaxation 𝑦 1 = 0.230, 𝑦 2 = 0.000, 𝑦 3 = 0.000, 𝑦 4 = 0.301, 𝑦 5 = 0.115, 𝑦 6 = 0.000, 𝑦 7 = 0.000, 𝑦 8 = 0.650 Total Cost = 8036.60

Tmark Facilities Location Example with LP Relaxation 𝑚𝑖𝑛 𝑖=1 8 𝑗=1 14 (𝑟 𝑖,𝑗 𝑑 𝑗 )𝑥 𝑖,𝑗 + 𝑖=1 8 𝑓 𝑖 𝑦 𝑖 𝑖=1 8 𝑥 𝑖,𝑗 =1 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑗 (𝑐𝑎𝑟𝑟𝑦 𝑗 𝑙𝑜𝑎𝑑) 1500 𝑦 𝑖 ≤ 𝑗=1 14 𝑑 𝑗 𝑥 𝑖,𝑗 ≤5000 𝑦 𝑖 (𝑐𝑎𝑝𝑎𝑐𝑖𝑡𝑦 𝑜𝑓 𝑖) 𝑥 𝑖,𝑗 ≥0 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑖,𝑗 𝒙 𝒊,𝒋 ≤ 𝒚 𝒊 𝒇𝒐𝒓 𝒂𝒍𝒍 𝒊,𝒋 𝑦 𝑖 =0 𝑜𝑟 1 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑖 (12.8) s.t. LP Relaxation 𝑦 1 = 0.000, 𝑦 2 = 0.000, 𝑦 3 = 0.000, 𝑦 4 = 0.537, 𝑦 5 = 0.000, 𝑦 6 = 0.000, 𝑦 7 = 0.000, 𝑦 8 = 1.000 Total Cost = 10033.68