BINARY/MIXED-INTEGER PROGRAMMING ( A SPECIAL TYPE OF INTEGER PROGRAMMING)

Slides:



Advertisements
Similar presentations
The Derivative in Graphing and Application
Advertisements

Constraint Programming Peter van Beek University of Waterloo.
Maximal Independent Subsets of Linear Spaces. Whats a linear space? Given a set of points V a set of lines where a line is a k-set of points each pair.
Markov models and HMMs. Probabilistic Inference P(X,H,E) P(X|E=e) = P(X,E=e) / P(E=e) with P(X,E=e) = sum h P(X, H=h, E=e) P(X,E=e) = sum h,x P(X=x, H=h,
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 17 Integer Programming.
Sep 16, 2013 Lirong Xia Computational social choice The easy-to-compute axiom.
Inverting a Singly Linked List Instructor : Prof. Jyh-Shing Roger Jang Designer : Shao-Huan Wang The ideas are reference to the textbook “Fundamentals.
Chapter Five Choice. Economic Rationality u The principal behavioral postulate is that a decisionmaker chooses its most preferred alternative from those.
Power Functions Lesson 9.1.
Integer Optimization Basic Concepts Integer Linear Program(ILP): A linear program except that some or all of the decision variables must have integer.
On / By / With The building blocks of the Mplus language.
Constraint Satisfaction Problems Russell and Norvig: Chapter
Global Constraints Toby Walsh National ICT Australia and University of New South Wales
0 “Applications” of knapsack problems 10 September 2002.
Sep 15, 2014 Lirong Xia Computational social choice The easy-to-compute axiom.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 16 Integer Programming.
C&O 355 Lecture 5 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.
1 Lecture 5 PRAM Algorithm: Parallel Prefix Parallel Computing Fall 2008.
16.410: Eric Feron / MIT, Spring 2001 Introduction to the Simplex Method to solve Linear Programs Eric Feron Spring 2001.
5 x4. 10 x2 9 x3 10 x9 10 x4 10 x8 9 x2 9 x4.
Parallel algorithms for expression evaluation Part1. Simultaneous substitution method (SimSub) Part2. A parallel pebble game.
Linear Programming – Simplex Method: Computational Problems Breaking Ties in Selection of Non-Basic Variable – if tie for non-basic variable with largest.
Constraint Optimization We are interested in the general non-linear programming problem like the following Find x which optimizes f(x) subject to gi(x)
Chapter 8: The Solver and Mathematical Programming Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University.
CSE202: Lecture 3The Ohio State University1 Assignment.
(1) MAX X1+3X2+2X3+4X4 X1=AM PHONE, X2=AM RIDE, X3=AFT PHONE, X4=AFT RIDE CONSTRAINTS AM: X1+20X2 < 12(60)=720 AFT: 2X3+30X4 < 14(60) = 840 GAS: X2+X4.
Simplex (quick recap). Replace all the inequality constraints by equalities, using slack variables.
BU Decision Models Integer_LP1 Integer Optimization Summer 2013.
IP modeling techniques I In this handout, Modeling techniques:  Using binary variables  Restrictions on number of options  Contingent decisions  Variables.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Integer Programming.
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science 3d edition by Cliff Ragsdale.
Agenda Duality (quickly) Piecewise linearity Start chapter 4.
Operations Management
Integer Programming Integer programming is a solution method for many discrete optimization problems Programming = Planning in this context Origins go.
Plant-Location Problem  A new company has won contracts to supply a product to customers in Central America, United States, Europe, and South America.
IP modeling techniques II
1.2 – Open Sentences and Graphs
LP formulation of Economic Dispatch
(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.
Linear Programming Models: Graphical and Computer Methods
1 Lecture 4 Maximal Flow Problems Set Covering Problems.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Quantitative Methods of Management
1 1 Slide Integer Linear Programming Professor Ahmadi.
1 1 Slide Integer Linear Programming Professor Ahmadi.
FORS 8450 Advanced Forest Planning Lecture 21 Binary Search.
Unit 3 Lesson 2: Rational Expressions
EMIS 8373: Integer Programming NP-Complete Problems updated 21 April 2009.
1 DSCI 3870 Case 3: SOME HELP Dr. Nick Evangelopoulos SPRING 2010.
MGTSC 352 Lecture 14: Aggregate Planning WestPlast Case H ow to deal with multiple objectives How to use binary variables AltaMetal Case Aggregating into.
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
Integer Programming Definition of Integer Programming If requiring integer values is the only way in which a problem deviates from.
Production Scheduling Lorena Kawas lk2551 Raul Galindo rg2802.
What are Operators? Some useful operators to get you started.
Sum of Arithmetic Sequences. Definitions Sequence Series.
Remarks on Fast Exp (4/2) How do we measure how fast any algorithm is? Definition. The complexity of an algorithm is a measure of the approximate number.
Aids to Formulating and Answering Key Questions NameWhen to use u Construction Methodproving “there exists” u Choose Method proving “for every” u Math.
Computationally speaking, we can partition problems into two categories. Easy Problems and Hard Problems We can say that easy problem ( or in some languages.
Chapter 4 Linear Programming Models. Introduction All of the models in this chapter are linear models Which means: Target cell is ultimately (possibly.
Understanding Recursion
Descartes’ Rule of Signs
Chapter 7 Transportation, Assignment, and Transshipment Problems
Using Variable Domain Functions
ASSIGNMENT NO.-2.
Chapter 9 Integer Programming
FACTORIALS Dr. Shildneck.
Alternate Version of STARTING OUT WITH C++ 4th Edition
LINGO LAB 3/4.
5.2 Mixed Integer Linear Programming
Bell Work Name which level(s) of the Real Number System each number falls into REAL NUMBERS RATIONAL NUMBERS IRRATIONAL NUMBERS INTEGERS WHOLE.
Presentation transcript:

BINARY/MIXED-INTEGER PROGRAMMING ( A SPECIAL TYPE OF INTEGER PROGRAMMING)

Defining Variables as Integers limits the values given to such variables to Integer values. The formulation of constraints given this condition do not require any other formulation technique except the definition of such variables to be integers.

Binary Programming is usually used when we want to define variables to have only either the value of ‘0’ or ‘1’. We assign a value of ‘0’ if a certain condition is not met and ‘1’ if the condition is met.

By defining variables to be binaries, we can increase the versatility of our spreadsheet modeling techniques. The following formulation models show how we can use this 0-1 variable to define certain conditions.

Limiting the Number of Alternatives Selected: 1 Suppose you want to select no more than two of three projects: X1 + X2 + X3 <= 2 2. Suppose you want to select exactly two of three projects: X1 + X2 + X3 = 2

Dependent Selections: 1.The selection of one project (X1) depends in the selection of another project (X2) : X1 <= X2 or X1 – X2 <= 0 2.If we wish to either both be selected or both not be selected: X1 = X2or X1 – X2 = 0

MiXED – INTEGER PROGRAMMING We use different types of variables to be able to formulate certain conditions. For example, suppose a company is planning to build at least one more plant to have a capacity of at least 38,000 units and three cities are being considered. The cost associated with the possible locations are given below: SITE ANNUAL FIXED COST VARIABLE COST PER UNIT ANNUAL PLANT CAPACITY CITY 1Php 340,000Php 3221,000 units CITY 2Php 270,000Php 3320,000 units CITY 3Php 290,000Php 3019,000 units

We can define the Decision Variables as: X1 = Binary where X1 = 1 if factory is built in City 1; X1 = 0 if otherwise X2 = Binary where X2 = 1 if factory is built in City 2; X2 = 0 if otherwise X3 = Binary where X3 = 1 if factory is built in City 3; X3 = 0 if otherwise X4 = number of units produced at City 1 plant X5 = number of units produced at City 2 plant X6 = number of units produced at City 3 plant

Minimize Cost = X X X3 + 32X4 + 33X5 + 30X6 Subject to: Total capacity requirement: X4 + X5 + X6 <= 38,000 Capacity at City 1 plant: X4 <= 21,000 X1 Capacity at City 2 plant: X5 <= 20,000 X2 Capacity at City 3 plant: X6 <= 19,000 X3 Where: X1, X2, X3 = 0 or 1; X4, X5, X6 >= 0 and integer

Batch Size Problem Another use of binary variables in situations where a company can only purchase a minimum quantity of products or in batches. For example, a firm may have to buy a minimum quantity of at least 50 units of a certain product or none at all. Let X be the number of units bought. Then either X = 0 or X >= 50. The situation can be formulated by introducing a binary variable Y and adding the following constraints: X <= MY (M is a very large number) X >= 50Y Note that if Y = 0, then, by the first constraint, X must be 0. If Y = 1, then by the second constraint, X must be at least 50.

Either – Or Constraints “Sometimes, in a decision situation, either one or another constraint must hold, but not both. For example: Either:5X1 + 2X2 <= 10 Or :3X1 + 4X2 <= 24 But not both We can handle this … by using both of the following… 5X1 + 2X2 <= 10 + MY 3X1 + 4X2 <= 24 + M(1-Y) Note that when Y=0, the first constraint is binding, the right hand side of the second constraint becomes very large and hence not binding. And conversely when Y =1, the second constant binds but the first does not because MY is very large.”

END INTEGER / BINARY PROGRAMMING