IP modeling techniques I In this handout, Modeling techniques:  Using binary variables  Restrictions on number of options  Contingent decisions  Variables.

Slides:



Advertisements
Similar presentations
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 17 Integer Programming.
Advertisements

BINARY/MIXED-INTEGER PROGRAMMING ( A SPECIAL TYPE OF INTEGER PROGRAMMING)
BU Decision Models Integer_LP1 Integer Optimization Summer 2013.
Linear Programming. Introduction: Linear Programming deals with the optimization (max. or min.) of a function of variables, known as ‘objective function’,
Planning with Linear Programming
Linear Programming Problem
Chapter 5 Linear Inequalities and Linear Programming
Linear Inequalities and Linear Programming Chapter 5 Dr.Hayk Melikyan/ Department of Mathematics and CS/ Linear Programming in two dimensions:
Learning Objectives for Section 5.3
Chapter 5 Linear Inequalities and Linear Programming Section 3 Linear Programming in Two Dimensions: A Geometric Approach.
Operations Management Linear Programming Module B - Part 2
Water Resources Development and Management Optimization (Integer Programming) CVEN 5393 Mar 11, 2013.
Example 6.1 Capital Budgeting Models | 6.3 | 6.4 | 6.5 | 6.6 | Background Information n The Tatham Company is considering seven.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Integer Programming.
Mathematical Modeling and Optimization: Summary of “Big Ideas”
© 5/7/2002 V.S. Subrahmanian1 Knapsack Problem Notes V.S. Subrahmanian University of Maryland.
Previously in Chapter 4 Assignment Problems Network Flow Problems Sequential Decision Problems Vehicle Routing Problems Transportation Problems Staffing.
© 5/7/2002 V.S. Subrahmanian1 Knapsack Problem Notes V.S. Subrahmanian University of Maryland.
Integer Programming Integer programming is a solution method for many discrete optimization problems Programming = Planning in this context Origins go.
Linear Programming Integer Linear Models. When Variables Have To Be Integers Example – one time production decisions –Fractional values make no sense.
Linear Programming. Linear programming A technique that allows decision makers to solve maximization and minimization problems where there are certain.
IP modeling techniques II
Linear Programming Applications
1 The Greedy Method CSC401 – Analysis of Algorithms Lecture Notes 10 The Greedy Method Objectives Introduce the Greedy Method Use the greedy method to.
IP modeling techniques III In this handout, Modeling techniques:  Making choices with non-binary variables  Piecewise linear functions.
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.
(Not in text).  An LP with additional constraints requiring that all the variables be integers is called an all-integer linear program (IP).  The LP.
STRATEGIC MANAGEMENT ACCOUNTING Anushka De Silva.
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.
Linear Programming: Basic Concepts
Integer Programming Integer programming is a solution method for many discrete optimization problems Programming = Planning in this context Origins go.
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.
Integer Programming Key characteristic of an Integer Program (IP) or Mixed Integer Linear Program (MILP): One or more of the decision variable must be.
Principles of Engineering Economic Analysis, 5th edition Chapter 15 Capital Budgeting.
Notes 6IE3121 Knapsack Model Intuitive idea: what is the most valuable collection of items that can be fit into a backpack?
Using Binary Integer Programming to Deal with Yes-or-No Decisions
Chapter 1. Formulations 1. Integer Programming  Mixed Integer Optimization Problem (or (Linear) Mixed Integer Program, MIP) min c’x + d’y Ax +
WOOD 492 MODELLING FOR DECISION SUPPORT
Goal Programming Linear program has multiple objectives, often conflicting in nature Target values or goals can be set for each objective identified Not.
The Greedy Method. The Greedy Method Technique The greedy method is a general algorithm design paradigm, built on the following elements: configurations:
1 A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear constraints. The linear model consists of the.
Lecture 8 Integer Linear Programming
3.4: Linear Programming Objectives: Students will be able to… Use linear inequalities to optimize the value of some quantity To solve linear programming.
Group members: Ibrahim jan Qesar Habib Najeebullah
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Integer Programming Definition of Integer Programming If requiring integer values is the only way in which a problem deviates from.
Prepared by Dr.Osman Taylan
CS 3343: Analysis of Algorithms Lecture 19: Introduction to Greedy Algorithms.
Management Science 461 Lecture 3 – Covering Models September 23, 2008.
Introduction to Integer Programming Integer programming models Thursday, April 4 Handouts: Lecture Notes.
Section VI Capital Rationing. Section Highlights F Capital rationing F Linear programming F Shadow prices and the cost of capital F Integer programming.
11D Applications of linear programming. There are three types of applications that we look at in Further Maths – Manufacturing problems (Ex 11C) – Blending.
Chapter 6 Integer, Goal, and Nonlinear Programming Models © 2007 Pearson Education.
EMGT 5412 Operations Management Science
Chapter 9 Integer Programming to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
0 Integer Programming Introduction to Integer Programming (IP) Difficulties of LP relaxation IP Formulations Branch and Bound Algorithms Reference: Chapter.
Chapter 5 Linear Inequalities and Linear Programming
Integer Programming II
Linear Programming A potter wants to make and sell serving bowls and plates. A bowl uses 5 pounds of clay. A plate uses 4 pounds of clay. The potter has.
CS 3343: Analysis of Algorithms
Integer Programming (정수계획법)
Chapter 1. Formulations (BW)
Integer Programming (정수계획법)
Linear Programming Integer Linear Models.
Linear Programming Integer Linear Models.
1.6 Linear Programming Pg. 30.
Chapter 1. Formulations.
Presentation transcript:

IP modeling techniques I In this handout, Modeling techniques:  Using binary variables  Restrictions on number of options  Contingent decisions  Variables (functions) with k possible values Applications:  Facility Location Problem  Knapsack Problem

Example of IP: Facility Location A company is thinking about building new facilities in LA and SF. Relevant data: Total capital available for investment: $10M Question: Which facilities should be built to maximize the total profit? capital neededexpected profit 1. factory in LA $6M$9M 2. factory in SF $3M$5M 3. warehouse in LA $5M$6M 4. warehouse in SF $2M$4M

Example of IP: Facility Location Define decision variables ( i = 1, 2, 3, 4): Then the total expected benefit: 9x 1 +5x 2 +6x 3 +4x 4 the total capital needed: 6x 1 +3x 2 +5x 3 +2x 4  Summarizing, the IP model is: max 9x 1 +5x 2 +6x 3 +4x 4 s.t. 6x 1 +3x 2 +5x 3 +2x 4  10 x 1, x 2, x 3, x 4 binary ( i.e., x i  {0,1} )

Knapsack problem Any IP, which has only one constraint, is referred to as a knapsack problem. n items to be packed in a knapsack. The knapsack can hold up to W lb of items. Each item has weight w i lb and benefit b i. Goal: Pack the knapsack such that the total benefit is maximized.

IP model for Knapsack problem Define decision variables ( i = 1, …, n): Then the total benefit: the total weight:  Summarizing, the IP model is: max s.t. x i binary ( i = 1, …, n)

Connection between the problems Note: The version of the facility location problem is a special case of the knapsack problem.  Important modeling skill: –Suppose we know how to model Problems A 1,…,A p ; –We need to solve Problem B; –Notice the similarities between Problems A i and B; –Build a model for Problem B, using the model for Problem A i as a prototype.

The Facility Location Problem: adding new requirements Extra requirement: build at most one of the two warehouses. The corresponding constraint is: x 3 +x 4  1 Extra requirement: build at least one of the two factories. The corresponding constraint is: x 1 +x 2 ≥ 1

Modeling Technique: Restrictions on the number of options Suppose in a certain problem, n different options are considered. For i =1,…,n Restrictions: At least p and at most q of the options can be chosen. The corresponding constraints are:

Modeling Technique: Contingent Decisions Back to the facility location problem. Requirement: Can’t build a warehouse unless there is a factory in the city. The corresponding constraints are: x 3  x 1 (LA) x 4  x 2 (SF) Requirement: Can’t select option 3 unless at least one of options 1 and 2 is selected. The constraint:x 3  x 1 + x 2 Requirement: Can’t select option 4 unless at least two of options 1, 2 and 3 are selected. The constraint:2x 4  x 1 + x 2 + x 3

Modeling Technique: Variables with k possible values Suppose variable y should take one of the values d 1, d 2, …, d k. How to achieve that in the model? Introduce new decision variables. For i =1,…,k, Then we need the following constraints.

Modeling Technique: Functions with k possible values The technique of the previous slide can be extended to functions. Suppose the linear function f(y)=a 1 y 1 +…+a n y n should take one of the values d 1, d 2, …, d k. Introduce new decision variables. For i =1,…,k, Then we need the following constraints.