Integer Programming www.ePowerPoint.com. Definition of Integer Programming If requiring integer values is the only way in which a problem deviates from.

Slides:



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

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.
Linear Programming Problem. Introduction Linear Programming was developed by George B Dantzing in 1947 for solving military logistic operations.
IP modeling techniques I In this handout, Modeling techniques:  Using binary variables  Restrictions on number of options  Contingent decisions  Variables.
Planning with Linear Programming
Linear Programming Problem
Session II – Introduction to Linear Programming
Dynamic Programming In this handout A shortest path example
Introduction to Management Science
1 Lecture 3 MGMT 650 Sensitivity Analysis in LP Chapter 3.
Linear Programming Problem Formulation.
Operations Management Linear Programming Module B - Part 2
Water Resources Development and Management Optimization (Integer Programming) CVEN 5393 Mar 11, 2013.
Linear Programming Using the Excel Solver
BA 555 Practical Business Analysis
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Kerimcan OzcanMNGT 379 Operations Research1 Integer Linear Programming Chapter 8.
Chapter 6 Linear Programming: The Simplex Method
Introduction to Management Science
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Integer Programming.
Integer Programming and Branch and Bound Brian C. Williams November 15 th, 17 th, 2004 Adapted from slides by Eric Feron, , 2002.
Computational Methods for Management and Economics Carla Gomes
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 Goal Programming
1 Lecture 2 MGMT 650 Linear Programming Applications Chapter 4.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Chapter 7 (Binary Integer Programming) Including two CD-rom supplements.
INTRODUCTION TO LINEAR PROGRAMMING
Linear Programming Applications
Chapter 10. Resource Allocation
Optimization II. © The McGraw-Hill Companies, Inc., 2004 Operations Management -- Prof. Juran2 Outline Optimization Extensions Multiperiod Models –Operations.
Introduction to Linear Programming
Chapter 11: Hillier and Lieberman Dr. Hurley’s AGB 328 Course
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.
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.
Strategic Production Planning Now showing at your local university.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 9 (Integer Programming) General Integer Programming (Section 9.1)9.2–9.12.
Chapter 9 - Multicriteria Decision Making 1 Chapter 9 Multicriteria Decision Making Introduction to Management Science 8th Edition by Bernard W. Taylor.
BUSINESS MATHEMATICS & STATISTICS. LECTURE 45 Planning Production Levels: Linear Programming.
Principles of Engineering Economic Analysis, 5th edition Chapter 15 Capital Budgeting.
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:
WOOD 492 MODELLING FOR DECISION SUPPORT
Chapter 24 – Multicriteria Capital Budgeting and Linear Programming u Linear programming is a mathematical procedure, usually carried out by computer software,
1 The Dual in Linear Programming In LP the solution for the profit- maximizing combination of outputs automatically determines the input amounts that must.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Lecture 8 Integer Linear Programming
Group members: Ibrahim jan Qesar Habib Najeebullah
IT Applications for Decision Making. Operations Research Initiated in England during the world war II Make scientifically based decisions regarding the.
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.
OPSM 301 Operations Management Class 11: Linear Programming using Excel Koç University Zeynep Aksin
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.
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.
Water Resources Development and Management Optimization (Integer and Mixed Integer Programming) CVEN 5393 Mar 28, 2011.
Linear Programming Dr. T. T. Kachwala.
Goal programming.
Linear Programming Integer Linear Models.
Lecture 6 – Integer Programming Models
Chapter 1. Formulations.
Presentation transcript:

Integer Programming

Definition of Integer Programming If requiring integer values is the only way in which a problem deviates from a linear programming formulation, then it is an integer programming (IP) problem. If only some of the variables are required to have integer values, this model is referred to as mixed integer programming (MIP). When distinguishing the all-integer problem from this mixed case, we call the former pure integer programming. IP problems that contain only binary variables are called binary integer programming (BIP) problems (or 0-1 integer programming problems).

12.1 PROTOTYPE EXAMPLE The California manufacturing company is considering expansion by new factory in either Los Angels or San Francisco, or perhaps even in both cities. It also is considering building at most one new warehouse, but the choice of location is restricted to a city where a new factory is being built. The data is given in the below table. Decision Number Yes-or-No Question Decision Variable Net Present Value Capital Required Built factory in LA Built factory in SF Built warehouse in LA Built warehouse in SF X 1 X 2 X 3 X 4 $9million $5million $6million $4million $6million $3million $5million $2million

The net present value (total profitability considering the time value of the money) of each of these alternatives is shown in above tables. The rightmost column gives the capital required (already included in the net present value) for the respective investments, where the total capital available is $10 million. The object is to find the feasible combination of alternatives that maximizes the total net present value.

Decision Variables All the decision variables have the binary form 0 if decision j is no 1 if decision j is yes = (j=1,2,3,4)

Objective function Let Z= total net present value of these decisions. If the investment is made to build a particular facility,

Constraints The rightmost column of table indicates that the amount of capital expended on the four facilities cannot exceed $10 million.

Constraints Because the last two decisions represent mutually exclusive alternatives (the company wants at most one new warehouse), we also need the constraint The company would consider building a warehouse in a city only if a new factory also were going there

Mathematical model of the problem Maximize Subject to And is integer, for j=1,2,3,4. Equivalently, the last three model can be replaced by the single restriction is binary, for j=1,2,3,4

Solving the problem Using Excel Solver

12.2 Some BIP applications Package Problem Fixed Investment Site Selection Job assignment

Package Problem A package box can hold maximal 50 Kg. There are three kinds of goods, and the weight and the value of each kind of goods are listed in the following table. Goods1Goods2Goods3 Weight (Kg/piece) Value (Dollars/piece) The question is: How to fill in the box to make the total value to be maximal?

Formulate Mathematical Model Let x 1, x 2, x 3 be the amount of the three kinds of goods, then Max Z= 17x 1 +72x 2 +35x 3 Subject to 10x 1 +41x 2 +20x 3 ≤50 x 1, x 2, x 3 are integer The solution is x 1 =1, x 2 =0, x 3 =2, Z=87 dollars

Fixed Investment The capital for investment is B, the number for investment projects is N, the capital needed and the expected profit of project j is a j and c j. There are other restrictions for the investment such as: – Must invest project m if invest project n – Must invest one project from project u and project v – (??invest at least on project from project u and project v) – Just invest two projects in project a, b, c How to arrange the investment to make the profit to be optimal ?

Formulate Mathematical Model Let X j= 1 invest project j 0 not invest project j s.t.

Site selection A company has two plants, A1 and A2. Now the management plans to build a new plant. There are two sites for the new plant, A3 and A4. There are four markets need the product, B1, B2, B3, and B4. The production capacity, market requirement and transportation cost are estimated in the following table. The production cost for A3 is 12 million dollars, and for A4 is 15 million dollars. Now the management must decide to build the new plant at A3 or A4, to make the total cost (including transportation and production cost) to be minimal.

c ij B1B2B3B4Capacity (KT Per year) A1 2934400 A2 8357600 A3 7612200 A4 4525200 Requirement ( KT per year )

Let x ij = the products amount transported from Ai to Bj , Z = the total cost y= 1 Build new plant at A3 0 Build new plant at A4

Formulate Mathematical Model

Job Assignment A young couple, Eve and Steven, want to divide their main household chores (marketing, cooking, dishwashing, and laundering) between them so that each has two tasks but the total time they spend on household duties is kept to a minimum. Their efficiencies on these tasks differ , where the time each would need to perform the task is given by the following table:

Time Needed per Week Marketing Cooking Dishwashing Laundry Eve4.5hours 7.8hours 3.6hours 2.9hours Steven4.9hours 7.2hours 4.3hours 3.1hours a) Formulate a BIP model for this problem. b) Display this model on an Excel spreadsheet. c) Use the computer to solve this model.

Let Marketing Cooking Dishwashing Laundry Eve x em x ec x ed x el Steven x sm x sc x sd x sl

Formulate Mathematical Model Minimize Z=4.5x em +7.8x ec +3.6x ed +2.9x el +4.9 x sm +7.2 x sc +4.3 x sd +3.1x sl Subject to x em +x ec +x ed +x el =2 x sm +x sc +x sd +x sl =2 x em +x sm =1 x ec +x sc =1 x ed +x sd =1 x el +x sl =1 and all x ij are binary

Exercise P

12.3 Innovative Uses of Binary Variables in Model Formulation Either-Or Constraints The Fixed-Charge Problem

Example 1 The R&D Division of the GOOD PRODUCTS COMPANY has developed three new products. Production Time Used for Each Unit Produced Production Time Available per Week Product 1 Product 2 Product 3 Plant 1 Plant 2 3 hours 4 hours 2 hours 4 hours 6hours 2 hours 30 hours 40 hours Unit profit (thousands of dollars) Sales potential (units per week)

If we let x1, x2, x3 be the production rates of the products, the model is formulated as: Maximize Z=5x 1 +7x 2 +3x 3 Subject to 3x 1 +4x 2 +2x 3 ≤30 4x 1 +6x 2 +2x 3 ≤40 x 1 ≤7 x 2 ≤5 x 3 ≤9

The management has imposed the following restriction. Restriction 1: From the three possible new products, at most two should be chosen. Restriction 2: Just one of the two plants should be chosen.

Restriction 2 means Either 3x 1 +4x 2 +2x 3 ≤30 Or 4x 1 +6x 2 +2x 3 ≤40 must hold Then we introduce a auxiliary binary variable y 4 y4=y4= 1 if 4x 1 +6x 2 +2x 3 ≤40 must hold 0 if 3x 1 +4x 2 +2x 3 ≤30 must hold 3x 1 +4x 2 +2x 3 ≤30+My 4 4x 1 +6x 2 +2x 3 ≤40+M(1-y 4 ) Introduce a large positive number M

Restriction 1 means three auxiliary binary variables (y 1, y 2, y 3 ) should be added yj=yj= 1 if x j >0 can hold (can produce project j) 0 if xj=0 must hold (cannot produce project j) Then we add the constraints x 1 ≤My 1 x 2 ≤My 2 x 3 ≤My 3 y 1 +y 2 +y 3 ≤2

Formulate Mathematical Model Maximize Z=5x 1 +7x 2 +3x 3 Subject to x 1 ≤7 x 2 ≤5 x 3 ≤9 3x 1 +4x 2 +2x 3 -My 4 ≤30 4x 1 +6x 2 +2x 3 +My 4 ≤40+M X 1 - My 1 ≤0 X 2 - My 2 ≤0 X 3 - My 3 ≤0 x 1 ≥0, x 2 ≥0, x 3 ≥0, y j is binary, for j=1, 2, 3, 4

Solve the problem Using Excel Solver Teamwork tasks P P ,12.3-4