OPERATIONS RESEARCH
OPERATIONS RESEARCH By Dr. Qazi Shoeb Ahmad Professor Department of Mathematics Integral University Lucknow Dr. Shakeel Javed Assistant Professor Department of Statistics & O.R. AMU, Aligarh Dr. Mohd Vaseem Ismail Assistant Professor Faculty of Pharmacy Jamia Hamdard New Delhi UNIVERSITY SCIENCE PRESS (An Imprint of Laxmi Publications Pvt. Ltd.) BANGALORE CHENNAI COCHIN GUWAHATI HYDERABAD JALANDHAR KOLKATA LUCKNOW MUMBAI RANCHI NEW DELHI BOSTON, USA
Copyright 2013 by Laxmi Publications Pvt. Ltd. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or otherwise without the prior written permission of the publisher. Published by : UNIVERSITY SCIENCE PRESS (An Imprint of Laxmi Publications Pvt. Ltd.) 113, Golden House, Daryaganj, New Delhi-110002 Phone : 011-43 53 25 00 Fax : 011-43 53 25 28 www.laxmipublications.com info@laxmipublications.com Price : ` 350.00 Only. First Edition : 2013 OFFICES Bangalore 080-26 75 69 30 Chennai 044-24 34 47 26 Cochin 0484-237 70 04, 405 13 03 Guwahati 0361-251 36 69, 251 38 81 Hyderabad 040-24 65 23 33 Jalandhar 0181-222 12 72 Kolkata 033-22 27 43 84 Lucknow 0522-220 99 16 Mumbai 022-24 91 54 15, 24 92 78 69 Ranchi 0651-220 44 64 UOR 9686 350 OPERATION RESEARCH-ISM Typeset at : ABRO Enterprises, Delhi. C 16931/09/01 Printed at : Ajit Printers, Delhi.
Contents CHAPTER 1: Graphical Solution and Formulation 3 39 1.1 Linear Programming 3 1.2 Structure of Linear Programming Model 3 1.3 Advantages of Linear Programming 4 1.4 General Mathematical Model of Linear Programming Problem 5 1.5 Areas of Application of Linear Programming 6 1.6 Basic Definitions 6 1.7 Graphical Method of Solution LPP 7 1.8 Some Special Cases in LPP 8 1.9 Formulation of Problem as an LPP 20 1.10 Examples on the Applications of Linear Programming 21 Objective Type Questions 30 Exercises 32 CHAPTER 2: Linear Programming Simplex Method 40 161 2.1 Standard Form of Linear Programming Problem 40 2.2 Some Basic Definitions 40 2.3 Simplex Method 42 2.4 Minimization Problems (All Constraints of Type ) 87 2.5 (a) The Big-M Method (Method of Penalty) 88 2.6 Solving LPP when Variables are Unrestricted 108 2.7 Two Phase Method 123 2.8 Degeneracy 140 2.9 Resolving Degeneracy 140 Objective Type Questions 154 Unsolved Examples 156 CHAPTER 3: Duality and Sensitivity Analysis in Linear Programming 162 202 3.1 Duality: Its Concept 162 3.2 Formulation of Dual Linear Programming Problem 162 3.3 Construction of Dual Problem from Primal Problem 163 3.4 Main Points on Duality 168 3.5 Advantages of Duality 169 3.6 Comparison of Solutions to the Primal and its Dual 169 v
vi 3.7 Dual Simplex Method 178 3.8 Sensitivity Analysis 185 Objective Type Questions 193 Exercises 195 Unsolved Problems 196 CHAPTER 4: Transportation Problem 203 259 4.1 Transportation Problem 203 4.2 Mathematical Model of Transportation Problem 204 4.3 Some Basic Definitions 205 4.4 Loops in Transportation Table and their Properties 205 4.5 The Transportation Method 206 4.6 North-West Corner Method 207 4.7 Least Cost Method 209 4.8 The Row-Minima Method 211 4.9 The Column-Minima Method 211 4.10 Vogel s Approximation Method (VAM) 211 4.11 Test for Optimality 214 4.12 The Transportation Simplex Method or Transportation Algorithm (MODI method) 214 4.13 Stepping Stone Solution 215 4.14 Degeneracy and its Resolution 227 4.15 Prohibited Transportation Routes 232 4.16 Maximization Transportation Problem 234 4.17 Transshipment Problem 241 Objective Type Questions 250 Exercises 251 Unsolved Exercises 252 CHAPTER 5: Assignment Problems 260 289 5.1 Assignment Problems 260 5.2 Mathematical Model of Assignment Problem 260 5.3 Solution of Assignment Problem 261 5.4 Maximization Problem 265 5.5 Alternate Optimal Solutions 269 5.6 Unbalanced Assignment Problem 272 5.7 Restrictions on Assignments in Assignment Problem 278 5.8 Travelling Salesman Problem 281 Objective Type Questions 284 Exercises 286 Unsolved Problems 286
vii CHAPTER 6: Dynamic Programming 290 312 6.1 Introduction 290 6.2 Bellman s Principle of Optimality 290 6.3 Characteristics of Dynamic Programming 291 6.4 Forward and Backward Recursion 291 6.5 Basic Steps of Dynamic Programming 291 6.6 Applications of Dynamic Programming 292 6.7 Model I: Single Additive Constraint, Multiplicative Separable Return 292 6.8 Model II: Single Additive Constraint, Additive Separable Return 294 6.9 Model III: Single Multiplicative Constraint, Additively Separable Return 296 6.10 Model IV: Shortest Route Problem 298 6.11 Solution of Some Other Problems by Using Dynamic Programming 300 6.12 Solution of Linear Programming Problem by Dynamic Programming 306 Exercises 310 CHAPTER 7: Decision Theory 313 338 7.1 Introduction 313 7.2 Elements of a Decision Problem 313 7.3 Types of Decision-Making Environment 314 7.4 Decision-Making Under Uncertainty 315 7.5 Decision-Making Under Risk 320 7.6 Decision Tree 328 Exercises 334 CHAPTER 8: Theory of Games 339 370 8.1 Introduction 339 8.2 Assumptions of the Game 339 8.3 Basic Terminology 340 8.4 Two Person Zero-Sum Games 340 8.5 Minimax Theorem 341 8.6 Solution of Games with Saddle Point (Pure Strategy Games) 341 8.7 Solution of Games Without Saddle Point (Mixed Strategies Games) 344 Exercises 366 CHAPTER 9: Stochastic Inventory Models 371 403 9.1 Introduction 371 9.2 Inventory Control 371 9.3 Need of Inventory 371 9.4 Inventory Classification 372 9.5 Types of Inventories 372 9.6 Inventory Costs 373 9.7 Other Elements of Inventory Problem 373
viii 9.8 Economic Order Quantity (EOQ) 374 9.9 Inventory Models 375 9.10 Model (1) 375 9.11 Model (2) 380 9.12 Model (3) 384 9.13 Model (4) 388 9.14 EOQ Problems with Price Breaks 393 9.15 EOQ Problem with One Price Break 394 9.16 EOQ Problem with Two Price Breaks 395 9.17 EOQ Problem with n Price Breaks 398 Exercises 400 CHAPTER 10: Simulation 404 426 10.1 Introduction 404 10.2 The Basic Steps of Simulation Process 404 10.3 Advantages of Simulation Technique 406 10.4 Disadvantages of Simulation Technique 406 10.5 Applications of Simulation 406 10.6 Monte Carlo Simulation 407 10.7 Basic Characteristics 407 10.8 Simulation Languages 407 Exercises 421 Chapter 11: Queueing Models 427 457 11.1 Introduction 427 11.2 Queueing System 428 11.3 Elements of the Queueing System 428 11.4 Distribution of Arrivals (Pure Brith Model ) 429 11.5 Distribution of Inter-Arrival Times (Exponential Process) 429 11.6 Distribution of Service Times 429 11.7 Kendal s Notation for Representing Queueing Models 430 11.8 Terminology and Notations for Queueing Models 430 11.9 Definition of Transient and Steady State 430 11.10 Model 1 431 11.11 Model 2 439 11.12 Multichannel Queueing Models 444 11.13 Model 3 444 11.14 Model 4 451 Exercises 454 Index 458 462
Preface The authors feel great pleasure in presenting the first edition of the book Operations Research. This book is designed to meet the requirement of B.Tech, M.B.A., B.B.A. students of different Universities. The subject matter has been discussed in such a way that the students will find no difficulty to understand it. Each chapter of this book contains complete self-explanatory theory and a large number of solved examples, followed by a collection of good exercises. The language of the book is simple and easy to understand. The authors hope that the students, teachers and other readers will find the book interesting and to the point covering the whole course. We hope that the students will receive the book warmly. We have taken great care in eliminating the misprints, but if there are still any, we shall be highly obliged to those who will take trouble of pointing them out. Suggestions for the improvement of the book will be gratefully acknowledged. Authors ix
I UNIT NIT I LINEAR PROGRAMMING
CHAPTER 1 Graphical Solution and Formulation 1.1 LINEAR PROGRAMMING Linear programming deals with the maximization or minimization (or optimization ) of a function of variables known as objective function, subject to a set of linear equalities and/or inequalities known as constraints. Here, the objective function can be cost, profit or production capacity, which is to be obtained in the best possible manner. The constraints may be imposed by different sources such as market demand, storage capacity, raw material availability etc. The word linear here implies that the variables, considered here do not certain any powers greater than one. Thus, a given change in one variable will always cause a resulting proportional change in another variable. The word programming refers to modelling and solving a problem mathematically that involves the economic allocation of limited resources by choosing a particular course of action or a strategy among various alternative strategies to achieve the desired objective. G.B. Dantzig developed the technique primarily for solving military logistics problems. But nowadays, it is being used widely in all the areas of management, education, transportation planning, military operations, healthcare systems, education etc. 1.2 STRUCTURE OF LINEAR PROGRAMMING MODEL The general structure of LP model consists of mainly three basic components: (a) Decision variables. The Operation Researcher needs to evaluate various alternatives (or courses of action) for arriving at the optimal value of the objective function. If there is no alternative to be selection among various alternatives, then there is no need of linear programming. The evaluation of various alternatives can be obtained by the nature of objective function and availability of resources. Once the objective is decided, we pursue certain activities (also called as decision variables) usually denoted x i s (i = 1, 2,..., n). The value of these activities represents the extent to which each of these is performed. There are certain variables (decision), which are not always under the control of decision 3
4 OPERATIONS RESEARCH maker, and are called as uncontrollable variables. If the values are under the control of decision maker, then these variables are called as controllable variables. These decision variables, usually interrelated in terms of consumption of limited resources, require simultaneous solutions. One thing is to be kept in mind that all the decision variables in linear programming model are controlable, continuous and non-negative. i.e., x j 0, ( j = 1, 2,..., n) (b) The objective function. The main aim (or goal or objective) of each linear programming problem (LPP) is to either maximize the profit or minimize the costs involved. Thus, the objective function of each LPP can be expressed in terms of the decision variables to optimize (maximize or minimize) the criterion of optimality, for example, profit, cost, revenue, distance etc. Thus, the objective function of any LPP, by using the decision variables (discussed above) can be expressed as Maximize/Minimize Z = C 1 x 1 + C 2 x 2 +... + C n x n or Max/Min Z = Cx n j = 1 j j (j = 1, 2,..., n) where Z is the value of the objective function and C j : represents the contribution of a unit of the respective variables x j ( j = 1, 2,..., n), so that the value of z may be maximum or minimum. Now, the optimal value of Z (maximum or minimum) can be obtained graphically or by using the well known method known as simplex method (will be discussed later on). (c) The constrants. Constraints are imposed while formulating the linear programming model, as there is always a limitation of using the available resources. For example, man hour, labour, machine, raw-material, money, space etc. can be utilized upto a limit. These limited resources can be used upto some extent to which an objective of the model can be achieved. All the solutions obtained after simplifying the LP model, must satisfy the constraints imposed. (d) Non-negative restriction. All the decision variables must assume non-negative values as negative values of physical quantities is an impossible solution. 1.3 ADVANTAGES OF LINEAR PROGRAMMING There are various advantages in using the linear programming. Some of the advantages are discussed below: 1. It is very much helpful in attaining the optimum use of productive resources. If the resources are limited, then the linear programming model gives the optimum result after using the limited available resources. Linear programming shows how a decision maker can use his available limited resources effectively by selecting and distributing these resources. 2. Linear programming also helps in re-evaluating the basic plan for changing conditions. For example, if a particular plan is started and after sometime, certain conditions are changed that effects the model, then LP can determine other conditions that will adjust the remainder of the plan for best result. 3. With the use of linear programming, the executive builds into his planning a true reflection of the limitations and restrictions under which he must operate and whenever it becomes
GRAPHICAL SOLUTION AND FORMULATION 5 necessary to deviate from the best programme he can evaluate the cost or penalty involved. 4. In LPP, high lighting the bottlenecks in the process is the most significant advantage of this technique. For example, whenever bottleneck problem occurs, some of the machines remain idle for sometime while few cannot meet the respective demands. 1.4 GENERAL MATHEMATICAL MODEL OF LINEAR PROGRAMMING PROBLEM The general linear programming problem with n decision variables and m constraints can be stated in the following form: Find the values of decision variables x 1, x 2,..., x n so as to Maximize or Minimize Z = C 1 x 1 + C 2 x 2 +... + C n x n Subject to the linear constraints a 11 x 1 + a 12 x 2 +... + a 1n x n = b 1 a 21 x 1 + a 22 x 2 +... + a 2n x n = b 2 : : : : : : : : : : : : a m1 x 1 + a m2 x 2 +... + a mn x n = b m The above formulation can also be written as follows: subject to linear constraints Max or Min Z = n j = 1 cijxj n j = 1 Cx j j...(1) = b i i = 1, 2,..., m...(2) j = 1, 2,..., n and x j 0...(3) The equation represented by (1) is the objective function; equation (2) is the set of constraints and equation (3) is the non-negativity condition. In the above LPP model, instead of equality sign (=), or (less than or equal to or greater than or equal to) sign can be used as per requirement in equation (2) for constraints. Here: C j : represents the coefficient of per unit contribution (profit/cost) of decision variables x j to the value of the objective function; the coefficients a ij (i = 1, 2,..., m and j = 1, 2,..., n) are referred to as the substitution or technological coefficients. These represents the amount of resources consumed per unit of variable a ij and b i (i = 1, 2,..., m) is the constant representing the requirement or availability of the ith constant. The above constrained optimization (maximization or minimization) problem may have (i) a unique optimal feasible solution
Operations Research By Dr. Qazi Shoeb Ahmad, Dr. Shakeel Javed, Dr.Mohd. Vaseem Ismail 40% OFF Publisher : Laxmi Publications ISBN : 9789381159651 Author : Dr. Qazi Shoeb Ahmad, Dr. Shakeel Javed, Dr.Mohd. Vaseem Ismail Type the URL : http://www.kopykitab.com/product/34 60 Get this ebook