Docsity

Linear Programming and Network Flows 4th Edition, Notas de estudo de Matemática

Pré-visualização parcial do texto

Baixe Linear Programming and Network Flows 4th Edition e outras Notas de estudo em PDF para Matemática, somente na Docsity!

This page intentionally left blank

This page intentionally left blank

Linear Programming

and Network Flows

Fourth Edition

Mokhtar S. Bazaraa Agility Logistics Atlanta, Georgia

John J. Jarvis Georgia Institute of Technology School of Industrial and Systems Engineering Atlanta, Georgia

HanifD.Sherali Virginia Polytechnic Institute and State University Grado Department of Industrial and Systems Engineering Blacksburg, Virginia

©WILEY

A John Wiley & Sons, Inc., Publication

Dedicated to Our Parents

This page intentionally left blank

8.5 Analysis of Karmarkar's Algorithm: Convergence,

Contents I X

  • ONE: INTRODUCTION Preface xi - 1.1 The Linear Programming Problem - 1.2 Linear Programming Modeling and Examples - 1.3 Geometric Solution - 1.4 The Requirement Space - 1.5 Notation - Exercises - Notes and References - POLYHEDRAL SETS TWO: LINEAR ALGEBRA, CONVEX ANALYSIS, AND - 2.1 Vectors - 2.2 Matrices - 2.3 Simultaneous Linear Equations - 2.4 Convex Sets and Convex Functions - 2.5 Polyhedral Sets and Polyhedral Cones - Directions of Polyhedral Sets: Geometric Insights 2.6 Extreme Points, Faces, Directions, and Extreme - 2.7 Representation of Polyhedral Sets - Exercises - Notes and References
    • THREE: THE SIMPLEX METHOD - 3.1 Extreme Points and Optimality - 3.2 Basic Feasible Solutions - 3.3 Key to the Simplex Method - 3.4 Geometric Motivation of the Simplex Method - 3.5 Algebra of the Simplex Method - 3.6 Termination: Optimality and Unboundedness - 3.7 The Simplex Method - 3.8 The Simplex Method in Tableau Format - 3.9 Block Pivoting - Exercises - Notes and References
    • FOUR: STARTING SOLUTION AND CONVERGENCE
      • 4.1 The Initial Basic Feasible Solution
      • 4.2 The Two-Phase Method
      • 4.3 The Big-MMethod
      • 4.4 How Big Should Big-WBe?
      • 4.5 The Single Artificial Variable Technique
      • 4.6 Degeneracy, Cycling, and Stalling
      • 4.7 Validation of Cycling Prevention Rules - Exercises - Notes and References
        • OPTIMALITY CONDITIONS FIVE: SPECIAL SIMPLEX IMPLEMENTATIONS AND
        • 5.1 The Revised Simplex Method
        • 5.2 The Simplex Method for Bounded Variables
    • 5.3 Farkas' Lemma via the Simplex Method viii Contents
    • 5.4 The Karush-Kuhn-Tucker Optimality Conditions
      • Exercises
      • Notes and References
  • SIX: DUALITY AND SENSITIVITY ANALYSIS
    • 6.1 Formulation of the Dual Problem
    • 6.2 Primal-Dual Relationships
    • 6.3 Economic Interpretation of the Dual
    • 6.4 The Dual Simplex Method
    • 6.5 The Primal-Dual Method
      • Artificial Constraint Technique 6.6 Finding an Initial Dual Feasible Solution: The
    • 6.7 Sensitivity Analysis
    • 6.8 Parametric Analysis
      • Exercises
      • Notes and References
  • SEVEN: THE DECOMPOSITION PRINCIPLE
    • 7.1 The Decomposition Algorithm
    • 7.2 Numerical Example
    • 7.3 Getting Started
    • 7.4 The Case of an Unbounded Region X
    • 7.5 Block Diagonal or Angular Structure
      • Decomposition Procedures 7.6 Duality and Relationships with other
      • Exercises
      • Notes and References
    • AND POLYNOMIAL-TIME ALGORITHMS EIGHT: COMPLEXITY OF THE SIMPLEX ALGORITHM
    • 8.1 Polynomial Complexity Issues
    • 8.2 Computational Complexity of the Simplex Algorithm
    • 8.3 Khachian's Ellipsoid Algorithm
    • 8.4 Karmarkar's Projective Algorithm
      • Optimal Solutions Complexity, Sliding Objective Method, and Basic
      • Predictor-Corrector Variants of Interior Point Methods 8.6 Affine Scaling, Primal-Dual Path Following, and
      • Exercises
      • Notes and References
  • NINE: MINIMAL-COST NETWORK FLOWS
    • 9.1 The Minimal Cost Network Flow Problem
      • from Graph Theory 9.2 Some Basic Definitions and Terminology
    • 9.3 Properties of the A Matrix
      • Terms of the Basic Vectors 9.4 Representation of a Nonbasic Vector in
    • 9.5 The Simplex Method for Network Flow Problems
    • 9.6 An Example of the Network Simplex Method
    • 9.7 Finding an Initial Basic Feasible Solution
    • 9.8 Network Flows with Lower and Upper Bounds - Flow Problem 9.9 The Simplex Tableau Associated with a Network - Simplex Algorithm 9.10 List Structures for Implementing the Network
      • 9.11 Degeneracy, Cycling, and Stalling
      • 9.12 Generalized Network Problems - Exercises - Notes and References
  • TEN : THE TRANSPORTATION AND ASSIGNMENT PROBLEMS - 10.1 Definition of the Transportation Problem - 10.2 Properties of the A Matrix - of the Basic Vectors 10.3 Representation of a Nonbasic Vector in Terms - 10.4 The Simplex Method for Transportation Problems - 10.5 Illustrative Examples and a Note on Degeneracy - Tableau 10.6 The Simplex Tableau Associated with a Transportation - Algorithm 10.7 The Assignment Problem: (Kuhn's) Hungarian - 10.8 Alternating Path Basis Algorithm for Assignment Problems.. - Approach for Assignment Problems 10.9 A Polynomial-Time Successive Shortest Path - 10.10 The Transshipment Problem - Exercises - Notes and References
    • ELEVEN: THE OUT-OF-KILTER ALGORITHM - Cost Network Flow Problem 11.1 The Out-of-Kilter Formulation of a Minimal - 11.2 Strategy of the Out-of-Kilter Algorithm - 11.3 Summary of the Out-of-Kilter Algorithm - 11.4 An Example of the Out-of-Kilter Algorithm - 11.5 A Labeling Procedure for the Out-of-Kilter Algorithm - 11.6 Insight into Changes in Primal and Dual Function Values - 11.7 Relaxation Algorithms - Exercises - Notes and References
      • FLOW, AND NETWORK SYNTHESIS PROBLEMS TWELVE: MAXIMAL FLOW, SHORTEST PATH, MULTICOMMODITY
        • 12.1 The Maximal Flow Problem
        • 12.2 The Shortest Path Problem - Having Arbitrary Costs 12.3 Polynomial-Time Shortest Path Algorithms for Networks
        • 12.4 Multicommodity Flows - Minimal-Cost Flow Problem 12.5 Characterization of a Basis for the Multicommodity
          • 12.6 Synthesis of Multiterminal Flow Networks - Exercises - Notes and References
    • BIBLIOGRAPHY
    • INDEX

PREFACE

Linear Programming deals with the problem of minimizing or maximizing a linear function in the presence of linear equality and/or inequality constraints. Since the development of the simplex method by George B. Dantzig in 1947, linear programming has been extensively used in the military, industrial, governmental, and urban planning fields, among others. The popularity of linear programming can be attributed to many factors including its ability to model large and complex problems, and the ability of the users to solve such problems in a reasonable amount of time by the use of effective algorithms and modern computers. During and after World War II, it became evident that planning and coordination among various projects and the efficient utilization of scarce resources were essential. Intensive work by the United States Air Force team SCOOP (Scientific Computation of Optimum Programs) began in June 1947. As a result, the simplex method was developed by George B. Dantzig by the end of the summer of 1947. Interest in linear programming spread quickly among economists, mathematicians, statisticians, and government institutions. In the summer of 1949, a conference on linear programming was held under the sponsorship of the Cowles Commission for Research in Economics. The papers presented at that conference were later collected in 1951 by T. C. Koopmans into the book Activity Analysis of Production and Allocation. Since the development of the simplex method, many researchers and practitioners have contributed to the growth of linear programming by developing its mathematical theory, devising efficient computational methods and codes, exploring new algorithms and new applications, and by their use of linear programming as an aiding tool for solving more complex problems, for instance, discrete programs, nonlinear programs, combinatorial problems, stochastic programming problems, and problems of optimal control. This book addresses linear programming and network flows. Both the general theory and characteristics of these optimization problems, as well as effective solution algorithms, are presented. The simplex algorithm provides considerable insight into the theory of linear programming and yields an effi- cient algorithm in practice. Hence, we study this method in detail in this text. Whenever possible, the simplex algorithm is specialized to take advantage of the problem structure, such as in network flow problems. We also present Khachian's ellipsoid algorithm and Karmarkar's projective interior point algorithm, both of which are polynomial-time procedures for solving linear programming problems. The latter algorithm has inspired a class of interior point methods that compare favorably with the simplex method, particularly for general large-scale, sparse problems, and is therefore described in greater detail. Computationally effective interior point algorithms in this class, including affine scaling methods, primal-dual path-following procedures, and predictor- corrector techniques, are also discussed. Throughout, we first present the fundamental concepts and the algorithmic techniques, then illustrate these by numerical examples, and finally provide further insights along with detailed mathematical analyses and justification. Rigorous proofs of the results are given

xi

xii Preface

without the theorem-proof format. Although some readers might find this unconventional, we believe that the format and mathematical level adopted in this book will provide an insightful and engaging discussion for readers who may either wish to learn the techniques and know how to use them, as well as for those who wish to study the theory and the algorithms at a more rigorous level. The book can be used both as a reference and as a textbook for advanced undergraduate students and first-year graduate students in the fields of industrial engineering, management, operations research, computer science, mathematics, and other engineering disciplines that deal with the subjects of linear programming and network flows. Even though the book's material requires some mathematical maturity, the only prerequisite is linear algebra and elemen- tary calculus. For the convenience of the reader, pertinent results from linear algebra and convex analysis are summarized in Chapter 2. This book can be used in several ways. It can be used in a two-course sequence on linear programming and network flows, in which case all of its material could be easily covered. The book can also be utilized in a one- semester course on linear programming and network flows. The instructor may have to omit some topics at his or her discretion. The book can also be used as a text for a course on either linear programming or network flows. Following the introductory first chapter, the second chapter presents basic results on linear algebra and convex analysis, along with an insightful, geomet- rically motivated study of the structure of polyhedral sets. The remainder of the book is organized into two parts: linear programming and networks flows. The linear programming part consists of Chapters 3 to 8. In Chapter 3 the simplex method is developed in detail, and in Chapter 4 the initiation of the simplex method by the use of artificial variables and the problem of degeneracy and cycling along with geometric concepts are discussed. Chapter 5 deals with some specializations of the simplex method and the development of optimality criteria in linear programming. In Chapter 6 we consider the dual problem, develop several computational procedures based on duality, and discuss sensitivity analysis (including the tolerance approach) and parametric analysis (including the determination of shadow prices). Chapter 7 introduces the reader to the decomposition principle and large-scale optimization. The equivalence of several decomposition techniques for linear programming problems is exhibited in this chapter. Chapter 8 discusses some basic computational complexity issues, exhibits the worst-case exponential behavior of the simplex algorithm, and presents Karmarkar's polynomial-time algorithm along with a brief introduction to various interior point variants of this algorithm such as affine scaling methods, primal-dual path-following procedures, and predictor-corrector techniques. These variants constitute an arsenal of computationally effective approaches that compare favorably with the simplex method for large, sparse, generally structured problems. Khachian's polynomial-time ellipsoid algorithm is presented in the Exercises. The part on network flows consists of Chapters 9 to 12. In Chapter 9 we study the principal characteristics of network structured linear programming problems and discuss the specialization of the simplex algorithm to solve these problems. A detailed discussion of list structures, useful from a terminology as well as from an implementation viewpoint, is also presented. Chapter 10 deals

XIV (^) Preface

Jarvis, Mrs. Carolyn Piersma, Miss Kaye Watkins, and Mrs. Amelia Williams for their typing assistance. We also thank Dr. Faiz Al-Khayyal, Dr. Richard Cottle, Dr. Joanna Leleno, Dr. Craig Tovey, and Dr. Hossam Zaki among many others for their helpful comments in preparing this manuscript. We are grateful to Dr. Suleyman Tufekci, and to Drs. Joanna Leleno and Zhuangyi Liu for, respectively, preparing the first and second versions of the solutions manual. A special thanks to Dr. Barbara Fraticelli for her painstaking reading and feedback on the third edition of this book, and for her preparation of the solutions manual for the present (fourth) edition, and to Ki-Hwan Bae for his assistance with editing the bibliography. Finally, our deep appreciation and gratitude to Ms. Sandy Dalton for her magnificent single-handed feat at preparing the entire electronic document (including figures) of the third and fourth editions of this book.

Mokhtar S. Bazaraa John J. Jarvis Hanif D. Sherali

ONE: INTRODUCTION

Linear programming is concerned with the optimization (minimization or maximization) of a linear function while satisfying a set of linear equality and/or inequality constraints or restrictions. The linear programming problem was first conceived by George B. Dantzig around 1947 while he was working as a mathematical advisor to the United States Air Force Comptroller on developing a mechanized planning tool for a time-staged deployment, training, and logistical supply program. Although the Soviet mathematician and economist L. V. Kantorovich formulated and solved a problem of this type dealing with organization and planning in 1939, his work remained unknown until 1959. Hence, the conception of the general class of linear programming problems is usually credited to Dantzig. Because the Air Force refers to its various plans and schedules to be implemented as "programs," Dantzig's first published paper addressed this problem as "Programming in a Linear Structure." The term "linear programming" was actually coined by the economist and mathematician T. C. Koopmans in the summer of 1948 while he and Dantzig strolled near the Santa Monica beach in California. In 1949 George B. Dantzig published the "simplex method" for solving linear programs. Since that time a number of individuals have contributed to the field of linear programming in many different ways, including theoretical developments, computational aspects, and exploration of new applications of the subject. The simplex method of linear programming enjoys wide acceptance because of (1) its ability to model important and complex management decision problems, and (2) its capability for producing solutions in a reasonable amount of time. In subsequent chapters of this text we shall consider the simplex method and its variants, with emphasis on the understanding of the methods. In this chapter, we introduce the linear programming problem. The following topics are discussed: basic definitions in linear programming, assumptions leading to linear models, manipulation of the problem, examples of linear problems, and geometric solution in the feasible region space and the requirement space. This chapter is elementary and may be skipped if the reader has previous knowledge of linear programming.

1.1 THE LINEAR PROGRAMMING PROBLEM

We begin our discussion by formulating a particular type of linear programming problem. As will be seen subsequently, any general linear programming problem may be manipulated into this form.

Basic Definitions

Consider the following linear programming problem. Here, qx (^) t + c 2 *2 + ■·· +

c (^) nxn is the objective function (or criterion function) to be minimized and will

be denoted by z. The coefficients cj,c 2 ,...,c„ are the (known) cost coefficients

and

Introduction 3

Figure 1.1. Illustration of the feasible region.

Assumptions of Linear Programming

To represent an optimization problem as a linear program, several assumptions that are implicit in the linear programming formulation discussed previously are needed. A brief discussion of these assumptions is given next.

  1. Proportionality. Given a variable x ·, its contribution to cost is ex.-

and its contribution to the rth constraint is ciyx,-. This means that if x ■ is doubled, say, so is its contribution to cost and to each of the constraints. To illustrate, suppose that x.- is the amount of activity j

used. For instance, if x. = 10, then the cost of this activity is 10c,. If

x ■ = 20, then the cost is 20c., and so on. This means that no savings (or extra costs) are realized by using more of activity/; that is, there are no economies or returns to scale or discounts. Also, no setup cost for starting the activity is realized.

  1. Additivity. This assumption guarantees that the total cost is the sum of the individual costs, and that the total contribution to the rth restriction is the sum of the individual contributions of the individual activities. In other words, there are no substitution or interaction effects among the activities.
  2. Divisibility. This assumption ensures that the decision variables can be divided into any fractional levels so that non-integral values for the decision variables are permitted.
  3. Deterministic. The coefficients c-, ay, and b (^) l are all known deterministically. Any probabilistic or stochastic elements inherent in

4 Chapter 1

demands, costs, prices, resource availabilities, usages, and so on are all assumed to be approximated by these coefficients through some deterministic equivalent.

It is important to recognize that if a linear programming problem is being used to model a given situation, then the aforementioned assumptions are implied to hold, at least over some anticipated operating range for the activities. When Dantzig first presented his linear programming model to a meeting of the Econometric Society in Wisconsin, the famous economist H. Hotelling critically remarked that in reality, the world is indeed nonlinear. As Dantzig recounts, the well-known mathematician John von Neumann came to his rescue by counter- ing that the talk was about "Linear" Programming and was based on a set of postulated axioms. Quite simply, a user may apply this technique if and only if the application fits the stated axioms. Despite the seemingly restrictive assumptions, linear programs are among the most widely used models today. They represent several systems quite satis- factorily, and they are capable of providing a large amount of information besides simply a solution, as we shall see later, particularly in Chapter 6. Moreover, they are also often used to solve certain types of nonlinear optimization problems via (successive) linear approximations and constitute an important tool in solution methods for linear discrete optimization problems having integer-restricted variables.

Problem Manipulation

Recall that a linear program is a problem of minimizing or maximizing a linear function in the presence of linear inequality and/or equality constraints. By simple manipulations the problem can be transformed from one form to another equivalent form. These manipulations are most useful in linear programming, as will be seen throughout the text.

INEQUALITIES AND EQUATIONS

An inequality can be easily transformed into an equation. To illustrate, consider the

constraint given by Σ"ί= \ αϋχί - V This constraint can be put in an equation form

by subtracting the nonnegative surplus or slack variable x (^) n+i (sometimes denoted by

Sf) leading to Y, n;=\aij x^ j - xn+i =^ fy ^ d x^ n+i - 0· Similarly, the constraint

1L"J (^) = <*ÌJXJ ^ bt is equivalent to Σ/ (^) = ιβ(/*/ + xn +i =^ ty and xn+i > 0. Also, an

equation of the form ΥΓ; (^) =\α^ ηχί = ty can be transformed into the two inequalities

Z/=i%*y ^ fy and Σ / ^ ^ · * / ^ bh although this is not the practice.

NONNEGATIVITY OF THE VARIABLES

For most practical problems the variables represent physical quantities, and hence must be nonnegative. The simplex method is designed to solve linear programs where the variables are nonnegative. If a variable x ,· is unrestricted in sign, then it

can be replaced by x'- - x"- where x'- > 0 and x"· > 0. If xx,...,xk are some A: