Group members: Ibrahim jan Qesar Habib Najeebullah

Slides:



Advertisements
Similar presentations
The Assignment Problem
Advertisements

WEEK-2 LINEAR PROGRAMMING Waheed Ullah PhD Scholar INU.
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.
Introduction to Mathematical Programming
Introduction to Mathematical Programming Matthew J. Liberatore John F. Connelly Chair in Management Professor, Decision and Information Technologies.
Linear Programming Problem. Introduction Linear Programming was developed by George B Dantzing in 1947 for solving military logistic operations.
Lesson 08 Linear Programming
Linear Programming. Introduction: Linear Programming deals with the optimization (max. or min.) of a function of variables, known as ‘objective function’,
Linear Programming Problem
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Session II – Introduction to Linear Programming
Transportation Problem (TP) and Assignment Problem (AP)
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Linear Programming Problem Formulation.
Quantitative Techniques for Decision Making M.P. Gupta & R.B. Khanna © Prentice Hall India.
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Linear Programming: Formulations & Graphical Solution.
Operation Research Chapter 3 Simplex Method.
The Transportation and Assignment Problems
The Hungarian algorithm for non-square arrays
Operations Management
Math443/543 Mathematical Modeling and Optimization
Operations Management
Linear Programming Applications
Linear-Programming Applications
FORMULATION AND GRAPHIC METHOD
LINEAR PROGRAMMING SIMPLEX METHOD.
Learning Objectives for Section 6.2
Chapter 4: Modeling and Analysis
Linear Programming Chapter 13 Supplement.
Linear Programming: Basic Concepts
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.
1 DSCI 3023 Linear Programming Developed by Dantzig in the late 1940’s A mathematical method of allocating scarce resources to achieve a single objective.
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.
Chapter 7 Transportation, Assignment & Transshipment Problems
Linear Programming Introduction: Linear programming(LP) is a mathematical optimization technique. By “Optimization” technique we mean a method which attempts.
Notes 5IE 3121 Knapsack Model Intuitive idea: what is the most valuable collection of items that can be fit into a backpack?
Integer programming, MA Operational Research1 Integer Programming Operational Research -Level 4 Prepared by T.M.J.A.Cooray Department of Mathematics.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
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.
LINEAR PROGRAMMING.
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
Section 3-4 Objective: To solve certain applied problems using linear programming. Linear Programming.
LINEAR PROGRAMMING MEANING:
QUANTITATIVE METHODS FOR MANAGERS ASSIGNMENT MODEL.
Department of Business Administration FALL -SPRING Management Science Operations Research by Ass. Prof. Sami Fethi Assoc. Prof. Sami Fethi © 2007 Pearson.
GOOD MORNING CLASS! In Operation Research Class, WE MEET AGAIN WITH A TOPIC OF :
0 Integer Programming Introduction to Integer Programming (IP) Difficulties of LP relaxation IP Formulations Branch and Bound Algorithms Reference: Chapter.
Linear Programming Many problems take the form of maximizing or minimizing an objective, given limited resources and competing constraints. specify the.
The Hungarian algorithm for non-square arrays
Linear Programming Topics General optimization model
Linear Programming Dr. T. T. Kachwala.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Linear programming Simplex method.
10CS661 OPERATION RESEARCH Engineered for Tomorrow.
Linear Programming Topics General optimization model
Linear Programming.
Linear Programming Topics General optimization model
Assignment Problem A balanced transportation problem in which
Linear Programming Topics General optimization model
Chapter 7 Transportation, Assignment & Transshipment Problems
Linear Programming.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Linear programming Simplex method.
Transportation Problems
Operations Research Models
The Hungarian algorithm for non-square arrays
REVIEW FOR EXAM 1 Chapters 3, 4, 5 & 6.
Presentation transcript:

Group members: Ibrahim jan Qesar Habib Najeebullah Integer programming Group members: Ibrahim jan Qesar Habib Najeebullah

Linear programming Linear programming (LP, or linear optimization) is a mathematical method. for determining a way to achieve the best outcome (such as maximum profit or lowest cost). mathematical model for some list of requirements represented as linear relationships. Linear programming is a specific case of mathematical programming (mathematical optimization).

More formally, linear programming is a technique for the optimization of a linear objective function, subject to linear equality and linear inequality constraints.

Integer linear programming An integer programming problem is a mathematical optimization or feasibility program in which some or all of the variables are restricted to be integers. Integer programming problem are a special class of linear programming where all are some of the variable in the optimal solution are restricted to non-negative integer value.

Linear programming problem are based on assumption that the decision variable are continuous with the result that they may take frictional value in the optimal solution e.g. 143/5 unit of product. However many situation in real life may not allow for this and warrant for the decision variable to take only integer value.

For example in production, manufacturing is frequently scheduled in term of lots, batches or production runs. In allocation of goods, a shipment of goods involve discrete number of trucks, wagon or aircraft and fractional values are meaningless.

Types of integers Pure and mixed integer programming. (1) An integer programming in which all variable are required to be integer is called pure integer. (2) An integer programming in which some variable are required to be integer is called mixed integer programming.

Mixed integer programming Maximize 20x1 + 8x2 Constraint 5x1 + 7x2+  63 2x1 + 3x2 +  42 x1 + x2 ≥ 0 x1 ,integer

Pure integer Maximize 20x1 + 8x2 Constraint 5x1 + 7x2+  63 x1 + x2 ≥ 0 x1 x2 ,integer

Zero-one Model Integer programming A special type of integer programming problem is a case where the value of decision variable are limited to logical variable like Yes or No, Matched or No-Matched which are symbolized by the value 0 and 1

Maximize 20x1 + 8x2 Constraint 5x1 + 7x2+  63 2x1 + 3x2 +  42 x1 + x2 ≥ 0 x1=0 (if product is not start) =1(A product is start)

Applications of integer programming Integer program is used in following. Traveling sales man problem. Capital budgeting. Facility location. Fixed charge problem.

Knapsack The knapsack problem is a particularly simple integer program: it has only one constraint. Furthermore, the coefficients of this constraint and the objective are all non-negative. For example, the following is a knapsack problem: Maximize 8x1 + 11x2 + 6x3 + 4x4 subject to 5x1 + 7x2 + 4x3 + 3x4 ≤14 xj 2 f0;1g:

Capital Budgeting Suppose we wish to invest $14,000. We have identified four investment opportunities. Investment 1 requires an investment of $5,000 and has a present value (a time-discounted value) of $8,000; investment 2 requires $7,000 and has a value of $11,000; investment 3 requires $4,000 and has a value of $6,000; and investment 4 requires $3,000 and has a value of $4,000. Into which we place our money so as to maximize our total present value?

As in linear programming, our first step is to decide on our variables As in linear programming, our first step is to decide on our variables. we will use a 0-1 variable xj for each investment. If xj is 1 then we will make investment j. If it is 0, we will not make the investment. This leads to the 0-1 programming problem: Maximize 8x1 + 11x2 + 6x3 + 4x subject to 5x1 + 7x2 + 4x3 + 3x4 ≤ 14 xj 2 f0;1g j = 1; : : :4:

Salesman travelling problem A sales man must travel city to city to maintain his account. This week he has to leave his home base and visit four other cities. The home city is city A. use the assignment method to determine the tour that will minimize the total distance of visiting all cities. The total distance of visiting of all cities and returning is given in the table.

From city A B C D E − 375 600 150 190 300 350 175 500 160

Solution Put M to prohibit travelling from particular city to itself. From city A B C D E M 375 600 150 190 300 350 175 500 160

NOW PREPARE REDUCE COST TABLE Minimum value subtract from all element in the rows. From city A B C D E M 375 600 150 190 300 350 175 500 160

We have obtained this table From city A B C D E M 225 450 40 200 125 175 300 50 190 140 15 325

All column have zero. From city A B C D E M 225 450 40 200 175 300 50 40 200 175 300 50 190 140 15 325 125

. Now draw line covering all zero. From city A B C D E M 225 450 40 200 175 300 50 190 140 15 325 125

From city A B C D E M 240 325 40 200 175 285 35 185 205 65 140 110

Number of line covering zero is smaller than n. it need for adjustment Number of line covering zero is smaller than n. it need for adjustment. From the uncovered value we select smallest value and subtract it from uncovered values and add with intersection values. we obtained the following table From city A B C D E M 240 325 40 200 175 285 35 185 205 65 140 110

From city A B C D E M 275 325 40 235 175 285 150 205 30 105 75

Again not equal. Repeat the procedure and obtained the table. From city A B C D E M 275 325 40 235 175 285 150 205 30 105 75

From city A B C D E M 275 295 10 265 205 285 120 75 150

Again not equal. Repeat procedure. We have obtained the following table. From city A B C D E M 275 295 10 265 205 285 120 75 150

From city A B C D E M 275 295 10 265 205 285 120 105 75

= A-D,B-E,C-B,D-C,E-A =A-D-C-B-E-A PUT THE VALUES 150+350+300+175+190=1165KM From city A B C D E − 375 600 150 190 300 350 175 500 160

Example of integer programming The owner of ready made garments store sell two type of premium shirt known as zee shirt and star shirts. He make a profit of Rs 200 and Rs 300 per shirt of zee and star shirt. He has two tailor A and B. A tailor can devote a total of 17 hours per day. while tailor B can devote 15 hours a day. Both type of shirts are stitched by both the tailor. the time needed for stitching zee shirt is 2 hour by tailor A and 3 hour by tailor B. a star shirt require 4 hour of tailor A and 3 hour by tailor B. how many shirts of each should be stitched to maximize daily profit. Solve it as integer problem.

Solution maximize 2oox1 + 300x subject to 2x1 + 4x2+  17 Available hours by A 3x1 + 3x2 +  15 Available hours by B x1 + x2 ≥ 0, x1 integer

Z =2oox1 + 300x+0S1+0S2 subject to 2x1 + 4x2+ S1+0S2= 17 3x1 + 3x2 + 0S1+S2= 15

Basic x1 x2 s1 s2 bi S1 2 4 1 17 S2 3 15 Cj 200 300 sloutio 17 15 J

J Basic x1 x2 s1 s2 bi S1 2 4* 1 17 4.25 S2 3 15 5 Cj 200 300 sloutio 17 4.25 S2 3 15 5 Cj 200 300 sloutio 17 15 J

Basic x1 x2 s1 s2 bi X2 300 .5 1 .25 4.25 8.5 S2 1.5* -.75 2.25 1.5 Cj 200 300 sloutio 4.25 2.25 J 50 -75

OPTIMAL SOLOUTION J Basic x1 x2 s1 s2 bi X2 300 1 .5 -.333 3.5 S2 200 1 .5 -.333 3.5 S2 200 -.5 .666 1.5 Cj 200 300 sloutio 1.5 3.5 J O -50 -33.33

IN THE PREVIOUS TABLE NO INTEGER VALUE IN THE SOLUTION Now we apply cutting plane algorithm( gormay cut), Select first row of the table. 0x1 + x2+.5S1+(-.333)S2= 3.5 0x1 + x2+.5S1+(-1+2/3)S2= 3.5 5S1+2/3S2= .5 (3 +0x1 + 1x2 - 1S2) -5S1-.666S2+S3= -.5

Basic x1 x2 s1 S2 S3 bi X2 300 1 .5 -.333 0 3.5 S2 200 S3 -.5 .666 0 -.666* 1 1.5 Cj 200 300 0 0 sloutio 1.5 3.5 0 -.5 J O -50 -33.33 0

Basic x1 x2 s1 S2 S3 bi X2 300 1 .75 0 -.5 3.5 S2 200 S3 -1 0 1 1 -1.5 1.5 -.5 Cj 200 300 0 0 sloutio 1 3.75 .75 0 J -25 0 -50

TAHNKS