Bartels1969 PDF
Bartels1969 PDF
TRAUB, Editor
The Simplex Method of Linear factored form as a product of transformations, and then
applying it to the right-hand sides of the systems.
Programming Using LU The basis matrix of any simplex step differs from t h a t
of the preceding step in only one column, so it is easier to
Decomposition update P-1 than to invert the new P. While this generally
produces satisfactory results, it is vulnerable to computa-
tional problems in two respects. First, if P-~ is continually
i~ICHARD H. BARTELS AND GENE H. GOLUB
updated, computational inaccuracies imposed by limited-
S t a n f o r d University,* Stanford, California
precision arithmetic (round-off errors) are allowed to
propagate from step to step. Second, the updating, in
whatever way it is carried out, is equivalent to premulti-
Standard computer implementations of Dantzlg's simplex plying p-1 by a matrix of the form:
method for linear programming are based upon forming the
inverse of the basic matrix and updating the inverse after every
0 - yo/yk
step of the method. These implementations have bad round-off
error properties. This paper gives the theoretical background 0
for an implementation which is based upon the LU decomposi-
tion, computed with row interchanges, of the basic matrix. The - yk-i/y~
implementation is slow, but has good round-off error behavior.
1/yk
The implementation appears as CACM Algorithm 350.
KEY WORDS AND PHRASES: simplex method, linear programming, LU de- - yk+i/Yk
composition, round-off errors, computational stability
CR CATEGORIES: 5.41 0
-- y,,ri/Y~
1. LU Decomposition
The linear programming problem:
I n the presence of round-off errors this computation can be
maximize drx quite inaccurate if yk is small relative to the other Yi -
(1) Both of these problems can be eliminated if, instead of
I
subject to Ix > 0
Gx = b
p - l , the LU decomposition of P is computed using row
interchanges to select pivots. The problem of solving a
where d r = [do, . . . , d,_~], b r = [b0, . . . , bin-a], and linear system based upon P is then reduced to t h a t of
e =
I00 00:]
: :
backsolving two triangular linear systems. The numerical
stability of this scheme is generally quite good (see [4]).
Advantage can be taken of the similarity between any two
Lg~-i,0 • " • gm-l,~-l_j
successive matrices so as to economize on the computation
are given, with b > 0, is commonly solved by a two-phase of the LU decompositions. For details see [1, Secs. 5-6].
process built upon the simplex method of G. B. Dantzig Additional accuracy is obtained in the program (see
[2]. Each step of this method requires the solution of three Algorithm 350) by iteratively refining the solution to
systems of linear equations involving a common matrix of problem (1), after it has been found, according to the
coefficients, the basis matrix P. I t is the usual practice to scheme given in [4, p. 121].
solve these systems by forming P-~, either directly or in The algorithm requires ha~6 + 0 ( n 2) multiplications per
exchange on the average. Thus the algorithm is most ef-
This paper gives the theoretical background of Algorithm 350, fectively used for very ill-conditioned problems or in con-
"Simplex-Method Procedure Employing LU Decomposition," by junction with other implementations of the simplex algo-
the same authors, which appears on pages 275-278.
* Computer Science Department. This project was supported rithm which produces an initial basis more cheaply. A fast
in part by NSF under project GP948 and ONI~ under project iNK and accurate version of the simplex algorithm is described
044 211. in [5] but this requires additional storage.
I
Gx + a = b
subject to Ix >_ 0, a ~ 0,
(2) variables and the constraints are ordered so t h a t
g~_~ = e,~_~, . . . , g , - t = era-l, w h e r e b y P becomes the
identity matrix. ) T h e n p r o b l e m (2) can be replaced b y the
where a r = [a0, " . , a,,_l] is a vector of "artificial vari- problem:
ables" and e r = [1, - . . , 1] (m c o m p o n e n t s ) . T h e solution maximize --~T5
is obtained b y starting with a = b as a basic feasible solu-
tion and applying the simplex method. As each a~ becomes
nonbasic, it m a y be dropped f r o m the p r o b l e m altogether.
Since - - e T a < 0 for all a, p r o b l e m (2) has a solution. I f
subject to (4)
m a x ( - - e r a ) ~ O, t h e n p r o b l e m (1) has no basic feasible
solution. Otherwise, the second phase is entered.
PHASE 2 ( F i n d an optimal basic feasible solution.)
x (1) >_ x (2) _> 0, ~> 0
I f the solution to problem (2) contains only components
of x as basic variables, these become the initial basic where x ( 1 ) = Ix0, . . - , x . . . . 1], x (2)= [Xn--K, " " , Xn--t],
variables for solving p r o b l e m (1) b y the simplex method. G (I) and G (2) are appropriate submatrices of G, 5 =
I f artificial variables, say a~0, . . . , ai~ , remain basic b u t [a0, • • • , a . . . . 1], ~ = [1, . . . , 1] (m - K components), a n d i
at zero level in the solution of (2), an equivalent p r o b l e m is the (m -- ~)-order identity matrix. T h e simplex m e t h o d
to ( 1 ) is solved: is begun with a0, . - . , a . . . . 1, x . . . . - . . , x~_l as basic
variables. Since there are fewer artificial variables to be
maximize drx
driven to zero in p r o b l e m (4) t h a n in p r o b l e m (2), we ex-
pect problem (4) to require on the average less work to
G ejo • "• eil 0 X solve.
0 1 ... 1 1 A reduction of c o m p u t a t i o n b e y o n d t h a t described in [1]
aJ o can be arranged for the L U decompositions calculated in
phase 1. E a c h time an artificial variable becomes nonbasic,
a row and column interchange can be applied to the basis
subject to (3) matrix so t h a t it always has the partitioned f o r m
a5 l
Rough and Ready Error Estimates Two expressions are derived for use in estimating the error
in the numerical integration of analytic functions in terms of
in Gaussian Integration of the maximum absolute value of the function in an appropriate
region of regularity. These expressions are then specialized
Analytic Functions to the case of Gaussian integration rules, and the resulting
error estimates are compared with those obtained by the use of
tables of error coefficients.
PHILIP RABINOWITZ
The Weizmann Institute of Science,* Rehovoth, Israel
D a v i s a n d R a b i n o w i t z [1] p r e s e n t e d a m e t h o d for esti-
m a t i n g t h e error c o m m i t t e d in i n t e g r a t i n g a n a n a l y t i c
KEY WORDS AND PHRASES: numerical integration, analytic functions,error f u n c t i o n b y a n a r b i t r a r y i n t e g r a t i o n rule
estimates, Gaussian integration, tabulated error coefficients, computable
error coefficients, Cauchy integral formula, Chebyshev polynomials
CR CATEGORIES: 5.1 I, 5.16
I(f) = w,f(z,).