IP modeling techniques II

Slides:



Advertisements
Similar presentations
Tuesday, May 7 Integer Programming Formulations Handouts: Lecture Notes.
Advertisements

Statistical Inventory control models I
BINARY/MIXED-INTEGER PROGRAMMING ( A SPECIAL TYPE OF 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.
The Management Science Approach
IP modeling techniques I In this handout, Modeling techniques:  Using binary variables  Restrictions on number of options  Contingent decisions  Variables.
Linear Programming Problem
Linear Programming Models & Case Studies
ITGD4207 Operations Research
1 Inventory Control for Systems with Multiple Echelons.
Management Science 461 Lecture 6 – Network Flow Problems October 21, 2008.
Linear Programming Problem Formulation.
Inventory Control IME 451, Lecture 3.
In this handout Stochastic Dynamic Programming
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
Chapter 6 Linear Programming: The Simplex Method
COMPLEX INVESTMENT DECISIONS
Algebra Problems… Solutions Algebra Problems… Solutions © 2007 Herbert I. Gross Set 22 By Herbert I. Gross and Richard A. Medeiros next.
Example 14.3 Football Production at the Pigskin Company
L12. Network optimization problems D. Moltchanov, TUT, Spring 2008 D. Moltchanov, TUT, Spring 2014.
So far all our functions were linear. In many situations, it might not be the case. Example: Production cost. – c 1 = $11/unit for first 5 items – c 2.
1 Mathematical Programming Integer Programming. 2 Common Types of IP’s and IP Constraints Two common types of IP’s –#1: Capital budgeting –#2: Set covering.
Integer Programming Integer programming is a solution method for many discrete optimization problems Programming = Planning in this context Origins go.
Agenda Office Hours: Friday 2-3 Final: Friday 4pm - Sat. 4pm.
Chapter 7 Transportation, Assignment & Transshipment Problems Part 1 ISE204/IE252 Prof. Dr. Arslan M. ÖRNEK.
Linear Programming Applications
IP modeling techniques III In this handout, Modeling techniques:  Making choices with non-binary variables  Piecewise linear functions.
The Game of Algebra or The Other Side of Arithmetic The Game of Algebra or The Other Side of Arithmetic © 2007 Herbert I. Gross by Herbert I. Gross & Richard.
1 MA 1128: Lecture 09 – 6/08/15 Solving Systems of Linear Equations.
10/31/02CSE Greedy Algorithms CSE Algorithms Greedy Algorithms.
Introduction to Mathematical Programming OR/MA 504 Chapter 5 Integer Linear Programming.
Chapter 11: Hillier and Lieberman Dr. Hurley’s AGB 328 Course
The Dual Problem: Minimization with problem constraints of the form ≥
Chapter 6 Linear Programming: The Simplex Method
Linear Programming Topics General optimization model LP model and assumptions Manufacturing example Characteristics of solutions Sensitivity analysis Excel.
Integer Programming Integer programming is a solution method for many discrete optimization problems Programming = Planning in this context Origins go.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.4 The student will be able to set up and solve linear programming problems.
1 Inference Rules and Proofs (Z); Program Specification and Verification Inference Rules and Proofs (Z); Program Specification and Verification.
3-1 Chapter 3 Aggregate Planning McGraw-Hill/Irwin Copyright © 2005 by The McGraw-Hill Companies, Inc. All rights reserved.
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 © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
Solving Linear Programming Problems: The Simplex Method
Using Binary Integer Programming to Deal with Yes-or-No Decisions
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
Chapter 1. Formulations 1. Integer Programming  Mixed Integer Optimization Problem (or (Linear) Mixed Integer Program, MIP) min c’x + d’y Ax +
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
Chapter 6 Linear Programming: The Simplex Method Section 4 Maximization and Minimization with Problem Constraints.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.3 The student will be able to formulate the dual problem. The student.
MGTSC 352 Lecture 14: Aggregate Planning WestPlast Case H ow to deal with multiple objectives How to use binary variables AltaMetal Case Aggregating into.
Integer Programming (정수계획법)
Operational Research & ManagementOperations Scheduling Economic Lot Scheduling 1.Summary Machine Scheduling 2.ELSP (one item, multiple items) 3.Arbitrary.
Group members: Ibrahim jan Qesar Habib Najeebullah
1 Inventory Control with Time-Varying Demand. 2  Week 1Introduction to Production Planning and Inventory Control  Week 2Inventory Control – Deterministic.
8/14/04 J. Bard and J. W. Barnes Operations Research Models and Methods Copyright All rights reserved Lecture 6 – Integer Programming Models Topics.
Integer Programming Definition of Integer Programming If requiring integer values is the only way in which a problem deviates from.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
Introduction to Integer Programming Integer programming models Thursday, April 4 Handouts: Lecture Notes.
CS 361 – Chapter 10 “Greedy algorithms” It’s a strategy of solving some problems –Need to make a series of choices –Each choice is made to maximize current.
Transportation and Distribution Planning Matthew J. Liberatore John F. Connelly Chair in Management Professor, Decision and Information Techologies.
Tuesday, March 19 The Network Simplex Method for Solving the Minimum Cost Flow Problem Handouts: Lecture Notes Warning: there is a lot to the network.
Slide 4- 1 Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 1- 1 Copyright © 2010 Pearson Education, Inc. Publishing.
A Multiperiod Production Problem
Chapter 9 Integer Programming
Integer Programming (정수계획법)
Integer Programming.
Integer Programming (정수계획법)
L13. Capacitated and uncapacitated network design problems
Chapter 1. Formulations.
Presentation transcript:

IP modeling techniques II In this handout, Modeling techniques: Either-Or Constraints Big M method Balance constraints Fixed Charges Applications: Multi-period production planning Inventory management

Modeling technique: Either-Or Constraints In some situations, a choice can be made between two constraints, so that only one (either one) must hold whereas the other one can hold but is not required to do so. E.g., recall the capacity constraints for the furniture manufacturer example: pine: 5xt + 1xc + 9xd  1500 (1) oak: 2xt + 3xc + 4xd  1000 (2) Suppose the furniture can be made from either pine or oak but we don’t need both. How to achieve that in the model?

Either-Or Constraints Introduce new binary variables. For i=1,2 Only one of (1) and (2) must hold. Thus, add a constraint: y1+y2 = 1 We also need: y1=1 implies 5xt+1xc+9xd 1500 y2=1 implies 2xt+3xc+4xd 1000 How to express these implications by linear constraints?

Either-Or Constraints New idea: use the big number method. Select a huge positive number M . Note that 5xt+1xc+9xd 1500+M holds for any reasonable choices of xt, xc, xd . It is equivalent of not putting any restriction on xt, xc, xd at all. Consider constraint 5xt+1xc+9xd 1500+M(1-y1) (3) If y1=1 then (3) is equivalent to (1) If y1=0 then (3) doesn’t impose any restriction on xt, xc, xd Thus, the set of constraints 5xt+1xc+9xd 1500+M(1-y1) 2xt+3xc+4xd 1000+M(1-y2) y1+y2 = 1 provides that only one of 5xt+1xc+9xd 1500 and 2xt+3xc+4xd 1000 must hold.

k out of p constraints must hold Suppose the model includes a set of p constraints f1(x1, x2, …, xn)  d1 f2(x1, x2, …, xn)  d2 .... fp(x1, x2, …, xn)  dp such that only some k of these constraints must hold. Generalizing the big M method of the previous slide, that condition is achieved by the following set of constraints: f1(x1, x2, …, xn)  d1+My1 f2(x1, x2, …, xn)  d2+My2 …. fp(x1, x2, …, xn)  dp+Myp y1+y2+…+yp = p – k y1, y2,…, yp binary

IP modeling: Multi-period production planning A manufacturer wishes to schedule production for K periods in advance to meet known monthly demands for a given product. Demand for period i is Di . In period i, at most Ci items can be produced at cost $pi per item. The demand of the current period can be satisfied by the items produced in earlier production periods (aka inventory). The cost of holding an item in inventory from period i to period i+1 is $hi . No inventory at the beginning of the first period. At most Hi items are allowed in inventory at the beginning of period i. Goal: Formulate an IP which will minimize the total cost while satisfying the demands.

IP modeling: Multi-period production planning What variables should we have? Define xi = number of items produced in period i , for i=1,...,k . wi = number of items in inventory at the beginning of period i , for i=1,...,k+1 . (xi and wi are nonnegative integers) What is the objective function? Minimize the total production and inventory cost: Some obvious constraints. Production limit: xi  Ci , for i=1,...,k Inventory limit: wi  Hi , for i=1,...,k+1 No inventory before period 1: w1 = 0

Multi-period production planning: Balance Constraints Also need constraints satisfying the demands, and relating xi and wi . Consider the following diagram for period i: The corresponding constraint for period i (i=1,…,k): wi + xi = Di + wi+1 This is known as balance constraint, and is often used in multi-period problems. Note that the balance constraints provide that wi + xi ≥ Di (since wi+1 ≥ 0), and thus the demands are satisfied. wi Di Period i INPUT OUTPUT xi wi+1

Multi-period production planning: Complete IP model s.t. xi  Ci , for i=1,...,k wi  Hi , for i=1,...,k+1 wi + xi = Di + wi+1 , for i=1,…,k w1 = 0 xi ≥ 0 integer for i=1,…,k wi ≥ 0 integer for i=1,...,k+1

Multi-period production planning: Fixed Setup Cost Note that the demand of the current period can be totally satisfied by the inventory carried from the previous period. Suppose there is a setup cost $si for period i if we decide to have any production for that period (and there is no setup cost if there is no production). How to take the setup costs into account? We need a new entry in the objective function: if xi>0 then si for each period i . But this is not a linear function (because no conditions are allowed on variables).

Multi-period production planning with setup cost To overcome the problem, introduce new variables. For i=1,...,k, Then the setup cost is siyi for period i . But we also need new constraints relating xi and yi . Idea: Use the big M method. For each i=1,...,k , add a constraint xi  Myi . Why does it work? If yi=0 then xi must be 0; If yi=1 then there is no restriction on xi . Note that we can take M=Ci for period i. Thus, we don’t need new constraints. Simply, replace xi  Ci with xi  Ciyi . Question: Can we have yi=1 but xi =0 for period i ?

Multi-period production planning with setup cost Summarizing, the modified IP model is: s.t. xi  Ciyi , for i=1,...,k wi  Hi , for i=1,...,k+1 wi + xi = Di + wi+1 , for i=1,…,k w1 = 0 xi ≥ 0 integer for i=1,…,k wi ≥ 0 integer for i=1,...,k+1 yi binary for i=1,…,k