round-off errors in cutting plane algorithms based on … · round-off errors in cutting plane...

32
NASA TECHNICAL NOTE H13- 33SJ7 NASA TN D-7457 ROUND-OFF ERRORS IN CUTTING PLANE ALGORITHMS BASED ON THE REVISED SIMPLEX PROCEDURE by John Edd Moore George C. Marshall Space Flight Center Marshall Space Flight Center, Ala. 35812 I NATIONAL AERONAUTICS AND SPACE ADMINISTRATION WASHINGTON, D. C. • OCTOBER 1973 https://ntrs.nasa.gov/search.jsp?R=19730024784 2018-07-16T20:43:58+00:00Z

Upload: buithuy

Post on 11-Jul-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

NASA TECHNICAL NOTEH13- 33SJ7NASA TN D-7457

ROUND-OFF ERRORS IN CUTTINGPLANE ALGORITHMS BASED ONTHE REVISED SIMPLEX PROCEDURE

by John Edd Moore

George C. Marshall Space Flight Center

Marshall Space Flight Center, Ala. 35812 I

NATIONAL AERONAUTICS AND SPACE ADMINISTRATION • WASHINGTON, D. C. • OCTOBER 1973

https://ntrs.nasa.gov/search.jsp?R=19730024784 2018-07-16T20:43:58+00:00Z

1. REPORT NO.

NASA TN D-7lt574. TITLE AND SUBTITLE

1 2.' GOVERNMENT ACCESSION NO.

ROUND-OFF ERRORS IN CUTTING PLANE ALGORITHMSBASED ON THE REVISED SIMPLEX PROCEDURE*

7. A U T H O R ( S )

John Edd Moore9. PERFORMING ORGANIZATION NAME AND ADDRESS

George C. Marshall Space Flight CenterMarshall Space Flight Center, Alabama 35812

12. SPONSORING AGENCY NAME AND ADDRESS

National Aeronautics and Space AdministrationWashington, D.C. 20546

3. RECIPIENT'S CATALOG NO.

5. REPORT DATEOctober 1973

6. PERFORMING ORGANIZATION CODE

8. PERFORMING O R G A N I Z A T I O N REPORT K

M117

10. WORK UNIT NO.

1 1. CONTRACT OR GRANT NO.

13. TYPE OF REPOR'i & PERIOD COVERED

Technical Note

14. SPONSORING AGENCY CODE

15. SUPPLEMENTARY NOTESPrepared by Aero-Astrodynamics Laboratory, Science and Engineering* This work is included as an appendix to the author's Ph.D. dissertation which is in the area ofLinear Integer Programming.

16. ABSTRACT

This report statistically analyzes computational round-off errors associated with the cuttingplane approach to solving linear integer programming problems. Cutting plane methods require thatthe inverse of a sequence of matrices be computed. The problem basically reduces to one ofminimizing round-off errors in the sequence of inverses. Two procedures for minimizing thisproblem are presented, and their influence on error accumulation is statistically analyzed. Oneprocedure employs a very smallprocedure is a numerical analysis

tolerance factor to round computed values to zero. The othertechnique for "reinverting" or improving the approximate inverse

of a matrix. The results indicate that round-offemploying a tolerance factor which reflects thecalculation and by applying the

accumulation can be effectively minimized bynumber of significant digits carried for each

reinversion procedure once to each computed inverse. If 18significant digits plus an exponent are carried for each variable during computations, then atolerance value of 0.1 X 10"12is reasonable.

The prerequisite for reading this report is a working knowledge of the simplex method andthe revised simplex algorithm in particular.

17. KEY WORDS

Round-off ErrorsCutting Plane AlgorithmsRevised Simplex AlgorithmInteger Linear ProgrammingMathematical ProgrammingNumerical Analysis

'19. SECURITY CLASSIF. (of thl« roportl

Unclassified

18. DISTRIBUTION STATEMENT

Unclassified — Unlimited

20. SECURITY CLASSIF. (of thli page)

Unclassified

21. NO. OF PAGF.S

31

22. PRICE

Domestic, $3.00Foreign, $5.50

MSFC - Form 3 2 9 2 (Rev December 1)79) For sale by National Technical Information Service, Springfield, Virginia

TABLE OF CONTENTS

Page

INTRODUCTION 1

LINEAR INTERGER PROGRAMMING AND CUTTING PLANEMETHODS 2

ROUND-OFF ERRORS 3

SUMMARY 25

REFERENCES 26.

111

LIST OF ILLUSTRATIONS

Figure Title Page

1. Illustration of cutting methods 10

2. Cutting algorithms based on revised simplex 11

3. Histograms of round-off error associated with number ofproblem variables 17

4. Histograms of round-off error associated with density of theproblem constraint matrix 18

5. Histograms of round-off error associated with relative magnitudeof the constraint coefficients 20

6. Histograms of round-off error associated with the procedurefor improving the inverse of basic matrix 21

7. Histograms of round-off error associated with the tolerancevalue used to round small computed values to zero 22

IV

LIST OF TABLES

Table Title Page

1. Coefficient Ranges for the Test Problems 4

2. Accumulative Round-Off Error (Low Relative Magnitude ofConstraint Coefficients and 40 Percent Dense Constraint Matrix) ... 6

3. Accumulative Round-Off Error (Low Relative Magnitude ofConstraint Coefficients and 75 Percent Dense Constraint Matrix) ... 7

4. Accumulative Round-Off Error (High Relative Magnitude ofConstraint Coefficients and 40 Percent Dense Constraint Matrix) ... 8

5. Accumulative Round-Off Error (High Relative Magnitude ofConstraint Coefficients and 75 Percent Dense Constraint Matrix) ... 9

6. Sample Medians 14

7. Sample Ranges 15

8. Results of Factorial Experiment 16

9. Chi-Square Values for Interactions Among the Factors 23

10. Round-Off Errors Associated with Different Combinations ofTolerance Values and Constraint Coefficient RelativeMagnitudes 23

11. Round-Off Errors Associated with Different Combinations ofConstraint Coefficient Relative Magnitudes and Frequencies forApplying the Procedure which Improves the Computed Inverseof the Basic Matrix 24

\12. Round-Off Errors Associated with Different Combinations of

Tolerance Values and Frequencies for Applying the Procedurewhich Improves the Computed Inverse of the Basic Matrix 24

ROUND-OFF ERRORS IN CUTTINGPLANE ALGORITHMS BASED ON

THE REVISED SIMPLEX PROCEDURE

INTRODUCTION

This report statistically analyzes computational round-off errors associated withthe cutting plane approach to solving linear integer programming problems. Cuttingmethods typically employ the revised simplex procedure to augment fractional cuts(secondary constraints) during the search for the optimum integer solution. The revisedsimplex procedure requires that the inverse of the basic matrix be computed at eachiteration. Since the inverse for each successive iteration is computed directly from theprevious inverse, round-off errors tend to propagate. The accuracy of the computedinverse is very important because all the other information associated with an iteration iscomputed from the inverse and the original problem coefficients.

Two procedures for minimizing round-off error accumulation are presented andtheir influence is statistically analyzed. One procedure employs a very small tolerancefactor to round computed values to zero. The justification for the procedure is thatcomputed quantities having absolute values less than the tolerance are most likelyaccumulated errors. The other procedure is a numerical analysis technique for"reinverting" or improving the approximate inverse of a matrix. The value of thetolerance employed and the frequency at which the basic matrix is reinverted are bothshown to have a statistically significant effect on round-off error. The results indicatethat employing a tolerance factor which reflects the number of significant digits carriedfor each calculation and applying the reinversion procedure once to each computedinverse effectively minimizes round-off error accumulation. If 18 significant digits plus anexponent are carried for each computed quantity, then a tolerance factorof 0.1 X 10"12 is reasonable.

Readers of this report are assumed to have a working knowledge of the simplexmethod and the revised simplex algorithm.

LINEAR INTEGER PROGRAMMING ANDCUTTING PLANE METHODS

Cutting methods seek to reshape the continuous solution space by consecutivelyimposing special constraints on it until the required optimum integer solution coincideswith the optimum simplex solution. These methods capitalize on knowledge that thesimplex solution to the continuous problem must occur at an extreme point. If thecontinuous solution is integer, it is the optimum solution. Otherwise, it is an infeasiblepoint that can be eliminated. One or more secondary constraints can be computed fromthe current simplex tableau which, when augmented to the problem, "cut off" a portionof the feasible space which contains the current solution. A secondary constraint, referredto as a cut, does not violate any feasible integer points since it is nothing more than anecessary condition for integrality. The dual simplex method isolates another optimumextreme point as feasibility is recovered. Successive application of cuts produces a feasiblespace with an optimum extreme point satisfying the integrality conditions.

Figure 1 illustrates the application of cutting methods. Only two cuts wererequired in this example to permit the optimum simplex solution to coincide with theoptimum integer solution.

Since most cuts contain fractional coefficients, the addition of each new cut addsto the round-off problem. Therefore, it is desirable to employ a simplex algorithm whichhas a mechanism for purging the tableau of round-off errors after several iterations havetaken place. The revised simplex algorithm has such a mechanism. At any iteration of thisalgorithm, the entire tableau can be constructed from a knowledge of the inverse of thebasic matrix and the original problem coefficients. This means that the tableau can bepurged of round-off errors at any iteration by reinverting the basic matrix.

Figure 2 presents the primary steps required to use the revised simplex algorithmas an integral part of cutting algorithms. Each step is straightforward except for updatingand inverting the basic matrix. The procedure for accomplishing this task depends onwhether a redundant cut was dropped the previous iteration.

Case 1. No redundant cut was deleted the previous iteration. This means that thecurrent problem contains k < m + n cuts, where m and n are the original number of simplexconstraints and variables respectively. Let

aiXi + «2x2 + ... + akxk + S =

be the computed cut in terms of the initial problem variables. The «j are used to

construct a row vector C to be augmented to the bottom of the current basicmatrix BC in forming the new basic matrix Bn . C = (cj , , . . . , cm), where

ci =

«j if j < k and Xi is tne ith basic variable

0 otherwise

4 -

3 -

CUT 1\

\

OPTIMUM INTEGERSOLUTION

INITIAL SIMPLEX^\ SOLUTION . \

\

\

\CUT 2 \

FEASIBLE INTEGER SOLUTIONS

PORTIONS OF INITIAL FEASIBLE SPACE"SLICED OFF BY CUTS

Figure 1. Illustration of cutting methods.

SAVE INITIAL FORM OF PROBLEM FOR LATER USE INOBTAINING BASIC VECTORS

DROP INTEGRALITY CONSTRAINTS AND SOLVE BYTHE REVISED SIMPLEX METHOD

IS THE SOLUTION INTEGER?I C.O

- STOP

INO

COMPUTE CUT AND ADD TO CURRENT TABLEAU. OBTAIN CUT IN

TERMS OF ORIGINAL VARIABLES BY SUBSTITUTING FOR SLACK

VARIABLES. ADD THIS FORM OF CUT TO CURRENT STATEMENT OF

PROBLEM IN TERMS OF ORIGINAL VARIABLES

UPDATE CURRENT BASIC MATRIX TO INCLUDE CUT AND REVISE

NO

i i o ill v [_r\oi_

iDETERMINE ENTERING VARIABLE FROM CURRENT TABLEAU BY DUAL

SIMPLEX RULE. USE REVISED SIMPLEX PROCEDURE TO RESTORE

FEASIBILITY TO TABLEAU.

1DOES- OPTIMUM BASIC SOLUTION CONTAIN A SLACK VARIABLE

ASSOCIATE WITH A CUT?

1 YES

REMOVE THIS SLACK' VARIABLE AND ITS ASSOCIATED CONSTRAINT

FROM (i) TABLEAU, (ii) BASIC MATRIX, AND (ill) DEFINITION

OF CURRENT PROBLEM IN TERMS OF INITIAL VARIABLES.

t

Figure 2. Cutting algorithms based on revised simplex.

Also, the column vector (0 , 0 , . . . , 0 , 1) must be added to the right side of BC informing Bn . Then

Bn -

0

C 1

Bn l is obtained from B 1 by the partitioned matrix method [ 1 ].

-C

Case 2. A redundant cut was deleted at the end of the last iteration. Deletion ofa cut means that one row and one column of the current basic matrix BC must be

deleted. However, a new cut is being added to the problem which will add a row and acolumn to BC . Rather than reduce the basic matrix by a row and a column and

immediately add back a row and colymn, it is simpler to replace the old row and columnwith the new'row and column. Note that the column being deleted and the column beingadded are identical. That is, this column corresponds to the slack variable being deletedand the slack variable being added. All the entries in the column are zero except for aone in the row being deleted/added. Thus the problem of finding the new inverse reducesto the following problem.

Given a k X k basic matrix A and its inverse A"1 , construct a new basicmatrix B from A by replacing row r of A with a new row vector C . Compute theinverse of B from a knowledge of A"1 and the new row C . Here C is the row vectordefined in Case 1.

B"1 can be identified by first computing the row vector

p = C A l = («! , a2 , . . . , ak)

Construct a new row vector £ from p as follows:

oij. , -a 2 /QT> • • • ,

where the ith element is -O!j/o:r except for the rth element which is 1/Oj.. Let E be

a k X k identity matrix with its rth row replaced by % . Then,

= A'1 E

This procedure is only a slight variation of the revised method using the product form ofthe inverse. References 2 and 3 both provide a detailed discussion of the product form ofthe inverse.

ROUND-OFF ERRORS

Recall that at any iteration, the revised simplex procedure generates the tableaufrom the inverse of the basic matrix and the definition of the problem in terms of theoriginal variables. This means that round-off can be minimized in the tableau byminimizing round-off accumulation in the inverse. An iterative procedure for improvingthe inverse of a matrix can be used for this purpose.

Let A be the current basic matrix and let Bj be a computed approximation

to A"1 . Then BJ+J , the new approximation, is computed from B- by the matrixequation

Bi+1 = B t(2I - ABj ) ,

where I is the identity matrix. The sequence Bj , BJ+J , Bj+2 , ... converges

to A"1 quadratically if any norm (the Euclidean norm is usually used) of

is less than one. A detailed presentation of this procedure is provided by Reference 4 anda discussion of its use with the revised simplex method is given by Reference 5.

Another technique which has proven to be computationally effective in reducinground-off accumulation is to round all computed values to zero that have an absolutevalue less than a given tolerance. That is, if a is a computed value and I a I < £ where£ > 0 is chosen to be very small, then set a = 0 . The value chosen for £ should reflectthe number of significant digits stored for the computational variables.

The computational success of these two techniques and the influence of theproblem characteristics on round-off error have been statistically analyzed. The problemcharacteristics considered were number of variables, density of the constraint matrix, andthe relative magnitude of the constraint coefficients. These three characteristics and thetwo round-off minimization techniques were considered as five factors in anested-factorial experiment. The number of variables is considered to be nested withinconstraint matrix density which is considered to be nested within the relative magnitudeof the constraint coefficients. A factorial experimental design is used since it provides anefficient means of obtaining information about the influence of each factor and aboutpossible interactions among the factors.

The experiment contains 108 distinct combinations of the 5 factors. One iterationof the procedure for improving the inverse of the basic matrix was considered at threelevels — after each simplex base change, after each fifth base change, and after each ninthbase change. Three tolerance levels (0.1 X 10"6 , 0.1 X 10"12 , and 0.1 X 10"18) wereincluded for rounding computed values to zero. Ten variable, twenty variable, and thirtyvariable test problems were considered. All problems had 10 constraints of the type

xl + ai2 X2 vn b i = 1 , 2 , . . . , 1 0

All coefficients for the test problems were randomly chosen from uniform distributions.Table 1 provides the ranges for these distributions. The constraint matrices had either 75or 40 percent densities. Also, the relative magnitude of the a^ was either high (-2000 to

10000) or low (-20 to 80). The 108 experimental conditions come from combining 3factors having 3 levels and 2 factors having 2 levels.

Six observations were taken for each of the 108 experimental conditions. Anobservation was obtained from the application of 30 fractional Gomory cuts to arandomly generated test problem. Each test problem was screened to insure that 30 ormore cuts would be required to solve it. All test problems were pure integer problems.

Since there exists no direct way of measuring accumulated round-off error, anindicator of this error is used. It is obtained as a byproduct of the computations forimproving the inverse of the basic matrix. In this procedure

= A[A-' = AS

represents the residual, while Sj represents the error matrix. Since Rj is available

but Sj is not, the relationship of the norms

TABLE 1 . COEFFICIENT RANGES FOR THE TEST PROBLEMS

I. Problems with 3jj range of -20 to 80

Number ofVariables

101020203030

Density ofConstraint Matrix

40%75%40%75%40%75%

Range forthebj

30 to 11075 to 20080 to 220

150 to 430100 to 330225 to 650

II. Problems with ay range of -2000 to 1 0 000

101020203030

40%75%40%75%40%75%

3 000 to 150004 000 to 25 0006 000 to 30 000

15 000 to 55 0009 000 to 45 000

22 500 to 80 000

A II II

provides the only clue to the magnitude of the actual error. Note that B: = A"1

whenever Rj vanishes. In the absence of any better measure, the average value of the

Euclidean norm llRjII obtained during the application of 30 fractional cuts to each test

problem was selected as a quantitative indicator of the accumulative round-off error. Allcalculations were made in double precision by a UNIVAC 1 1 08 computer which carries18 digits plus an exponent for each double precision variable. As stated at the begining ofthis report the computer code used to generate the data is based on the revised simplexprocedure.

Tables 2 through 5 present the data. The sample medians and ranges are given byTables 6 and 7. The sample means are not presented because many of the samplescontained extreme values which caused the sample means to be poor indicators of centraltendency. The large variations in the ranges clearly indicate that the variances of thedifferent factorial combinations cannot be assumed to be equal. This precludes the use ofthe F-statistic in performing an analysis of variance on the data. However, Wilson [6]developed a Chi-square statistic which is distribution-free and does not require the equalvariance assumption. This statistic can be used to test main factors and interaction effectsin a factorial design.

Wilson's procedure was used to test the following hypotheses:

1. There is no difference in the round-off error accumulation in all 108 factorialcombinations.

2. Round-off accumulation is the same for 10, 20, and 30 variable problems.

3. Round-off error is the same for all three frequencies at which the procedurefor improving the inverse of the basic matrix was applied.

4. All three tolerance values used to round small computed values to zero havethe same effect.

5. A 40 percent dense constraint matrix has the same effect as a 75 percentdense constraint matrix.

6. "High" relative magnitude constraint coefficients have the same effect as the"low" relative magnitude coefficients.

7. There is no significant interaction among the factors.

All the hypotheses were tested using an a (probability of rejecting a truehypothesis) of 0.05. Table 8 gives the Chi-square statistics associated with each hypothesisand the corresponding critical Chi-square value.

Having rejected all the null hypotheses, the following alternative hypotheses mustbe accepted.

2W0EUHW

o

ZO

oW^

x

>c^HH•< on

OH

DO

H

j5

CJ

CN

W

CO

fo

X

d

d>cCO;_!

_a>"oH

I-.

1T3O

s— t

T3Oi5g>H- »o•aco

09

soeco

JSu8to

CQ_C

^Cj?

o>oocCO

JSU<uCOam

£

S1

.su8CO

CQ

WJt-<

£

C/5<u

HCO

e<u

X)2

OHt«-O

<U

3Z

0m

O(N

0

0m

OrJ

O

om

OCN

0

d m o -< « o

o o 'o o o o

X X X X X Xr- — i ON co •* ^~m in — i — i — i CNO O O O O O

— ct — dr r ? r r ro o o o o o

X X X X X Xr- ON -3- en -H •*en (N - TJ- -« eno o o o o o

m d m — ^H en

O O O O O O

X X X X X XON Tt" — i •* <N NO<N] _* rt _ ^(- OO

000000

— on —T T T T T TO O O O O O

X X X X X XTh CN O ^H in (N-H to to OO OO (NO O O O O O

n m o n o fo

O O O O O O

X X X X X XCN 00 ^ ON ON MDON oo vo m o) 01O O O O O O

fl (^ m o) — n

O O O O O O

X X X X X Xm o ^ oo O •^-

m ^t- — i -H Tf — iO O O O O O

csr r r r r po o o o o o

X X X X X X~H o •— i i/"> OO CN)ro -H vo — . (N j-000000

M m o ro 3-

O O O O O O

X X X X X Xoo (N i/"i t~- (N t-~m (N m <N -^- ^~O O O O O O

n fn m fn — «

O O O O O O

X X X X X X^O O — ' •* •* O— i rf ui r- t^ tNO O O O O O

n

O

X

0

(U

e«WH

_U

"o

(M ^ 0 (-> —

O O O O O O

X X X X X X— < u-> -* — H O T)-m (N r- CN ro fO O O O O O

O r» op 71 r r r ro o o o o o

X X X X X Xro (N u~> ro ON -Hro ro en vo « -HO O O O O O

rt n n - cor r ~ f V To o o o o o

X X X X X X\£> m ^H m ON VO• - -H -H IT) -H OO

O O O O O O

-H o n -* ~* r*

O O O O O O

X X X X X Xto vo ( — ^O vO OCN — H \o rs in — Ho o o o o o

<N m — n n

O O O O O O

X X X X X Xr~ oo m ^^ ro m• - oo CN cN ^H -HO O O O O O

m o m -H -* M

O O O O O O

X X X X X X1/1 m Tt O ^" "*Cn -H — i 10 (N — iO O O O O O

CN d (S CS M (S

O O O O O O

X X X X X XON •* t- oo •* mCO CN -H tN rf CNo o o o o o

ro « t-* M m m

b o o o o o

X X X X X X\o cs oo NO oo or- CN — H in r~ mo o o o o o

d en r» m M en

b b b b b b

X X X X X X\o ~H -H m r- vo—< en — i oo -H cso o o o o o

CO

b

X

o

CL>

ccdi_i

_o"o

— — o o in

b b b b b b

XX X X X XOs 10 m 10 ON ON_H •* m 00 CN CN

b b b b o b

O fl d m

? 7 T 7 7o o o o o

X X X X XO C-- U1 MS 00 -*^f •* -H — i — i r-d b o o b b

^ d m en M d

b b b b b b

X X X X X XCN) ON ON O oo O;_; CN •* CN -. -Hd b b b o d

en o o d fn m

b b b b b b

X X X X X Xro O f~- NO OO OO-^ — i -H r- -^ md o b d b b

ro m — c* d

b b b b b

X X X X X— i CN O 00 -H O^ oo ' — ' ON ~H <^-d b b d d d

m m — mr T T f r vo- o o o o o

X X X X X Xo r- m •st- t-- ONr- ~H ^H m f- mo o o o o o

co (n d — fn m

b b b b b b

X X X X X Xr- •* -H r- oo T}-— < -H tn 00 rn >oo o o o o o

b b b o b b

X X X X X Xm ON TJ- - rn P-OO NO 1/1 00 t-~ CSO O O O O O

o» tn «t en N d

b b b b bo

X X X X XXO \O — i CN OCN(N -H ON CN -H ,— (

O O O O OO

10

GOHZsyEu.«ouHZh-H

<oiHoo

OO

I

,sss .04 KWK)

O»5W

OO<

CO

WJCQ<H

o

X

d

<D

eCOkri

J2"oH

»->

I<-3<D

•O

5IM

!>u

•55ca

03

<uoocca

O

£ca

COJSc2

oocto

J30<uVIca

03r-£!E

00cca

UCJCflca

CQ

.ste.

c/a<U

3ca

ca

<u.00

(XCM0t_oXI

3Z

Ofl

0CM

o

oro

OCM

o

of>

0CN

o

CN CN O —

r r r ? r fo o o o o o

X X X X X XO r- in f- ON C—tr> — ' m ri- — i CMO O O o O O

O -< CN O CS

O O O O O O

X X X X X X>o •* •* \r — < r-CN -H -* ON CM in

o o o o o o

co en *-< —71 r ?* r 7 To o o o o o

X X X X X Xf- IT\ r- oo — i f>— i •* — i CM -H — i

o o o o o o

fO rt o O — —

o o o o o o

X X X X X X•^- vo ^- r~ m CM— > oo r- m « ooo o o o o o

(N fO roT T T T 1° TO O O O O O

X X X X X Xoo -H r)- r- OO Oro r~ m .— i ^^ ooO O O O O O

ro n o rs m ^

O O O O O O

X X X X X XTJ- \o -H \o m — HCM -H CN -H -H rr>

O O O O O-O

ro ro ct r* —

o o o o o b

X X X X X XCN CM C^ trt — i -HCM OO VO OO — i — <O O O O O O

to co "H p*r r f ~ v 7o o o o o o

X X X X X X^ o\ CM c^ r- oCM 00 -H ^ CM —io c> o o o' o'

« r* n ^r or r 1° r r ro o o o o o

X X X X X XCM o m >o in 'rj-CM CO f> -^ -H — <

O O O O O O

cs

b

X

6IIIU

cabrio"oH

r* - Or f T f r ro o o o o o

X X X X X XO — < 00 CN O OCM CM OO — >0 Tfo o o o o o

-H tS O M « —

b b b b b b

X X X X X X*CM O r)- vo CM <y\CM •— i -H -3- CM in

O O O O O O

r* ra m —T r ? T T ?p o o o o o

X X X X X X\O CM -H 'OO f> ^OVO — i CM CM O< — 'o o o o o o

« — O O CN

b b b b b o

X X X X X XTj- ON m r~ <N — '^H CM -H m — i -HO O O O O O

r* m o o o

b b b o b b

X X X X X Xa\ (^ o o t^ CMr~ oo CN — i i/-> ~-io o o o o o

(o M ts M mT r r ~ 7 fo o o o o o

X X X X X Xo m •* \o >o r~r- — i ^ — i -H —o o o o o o

(N m cr, o d n1 1 1 1 1 1o o o o o o

X X X X X Xm m f \o O moo oo oo CN - (NO O O O O O

cs rt -H »H n ••

b b b b b b

X X X X X Xrf 00 — -H O — iCN \O m -H rf -HO O O O O O

b b b b b b

X X X X X XCN OO O <O U-) TtCM •<* -H — i -H — (000000

•0

b

X

bii0cC3

_CJ

"oH

b o b b b b

XX X X X X— -H VO OO OO — i— i -H ON *JD t-~ —

O O O O O O

— en <s — c*

b b o b b b

XX X X X XCO — i O >o vo en— ( \O CM CM -H m

O O O O O O

r» o m m — r*i i i i i iO O O O O O

XX X X X XCM f- O O O SO— i oo oo -H CM —O O O O O O

mo n CN r (N

b b b b b b

X X X X X X^H \j3 m m rf ^too CM r- r- oo voo o o o o o

r» — -H -« CN CN

b b b b b b

X X X X X XCM VO VO 00 CM O\CM m 10 — * Tf < — iO O O O O O

«r ^H CN ro rf en

b b b b b b

X X X X X XON CM c-- vo vo r00 CM -H CM tn — iO o O O O O

^ CN fO -H ^ O

b b b b b b

X X X X X XCN r)- in - v> r~CM — . —> ^- \O CM

O O O O O O

CN <N ^ m n

b b b b b b

X X X X X XvO - J- CM vo o mvo vo — i — i — i — io' b d o' o' o'

t O CO <N O CN

b b b b b b

X X X X X X>o O CM ON vo — <-^ o\ —" oo CM tnO O O O O O

11

enHZW

w8H

Hoo

O

ll"-HOS Zo w

w

<_)D

wJM<H

o

X

d

<U

cdi_ju*oH

t-io>

<t<c•oSca•o

g

•aca

CQ

<u

ca-C0<DVICO

«j=az

oncca

O

8ca

03

<£tZ

ooCca

0

£ca

CQVI1

E~

coOXI-2t-«><u

J3O

<£t*HO

<u

s•3z

Oco

OCN

O

Oco

OCN

O

Oco

OCN

0

o - oP <? T r 7 7O O O O O O

X X X X X Xin vo — i NO — i O\CN rt -H CN « ONO O O O O O

r r 7> 71

o o o oXXX XON CO NO -* O OCN — i <cj- — i CO -^O O O O O O

(S -H -. O

O O O O O O

X X X X X XVO '-< OO T)- O vot~- ^O m ro t^ ONO O O O O O

O f 0

T T T f 7 7O O O O O O

X X X X X X(N ON (N CO IT) > )-H ON ro f) — i <NO O O O O O

O O O O O O

X X X X X XO oo r- 10 ro Ttt-~ t^ — c tN — — iO O O O O O

r 1° r ? r f1o o o o o o

X X X X X XO (N oo O ON mCN — i — i m CO — i

O O O O O O

- «

O O O O O O

X X X X X X•* -H O 10 ON C^rM <N VO VO (N u-iO O O O O O

T f f P V PO O O O O O

X X X X X XC<1 •sj- O ro r- mcs oo ~ -3- m roO O O O O O

-* <N

f P T 7* T Y1

O O O O O O

X X X X X XO m CO —i ON ON— i f> -H vo roO O O O O O

ca

O

X

d

<L>

CS

_a>"oH

0 -" O O —

b 'o 'o b b o

X X X X X Xoo oo m m vo m•r)- oo ro ^ vi roO O O O O O

0 O — —r r r r r fo o o o o o

X X X X X XCS -H CO fN CO ON« — i in T)- CN csO O O O O O

o — — -i -

b b b b b b

X X X X X Xoo CN oo •* m — iCN CN in ON Tf ONO O O O O O

o1° r f1 T r fo o o o o o

X X X X X Xr- cs in CN in co(X) -H — H CO -H -H

O O O O O O

- -"0v 7 ?• '," r 7o o o o o o

X X X X X XCS CN -H CO -H \O10 ON ^H co Tf CNO O O O O O

o — « — o

b o b b b b

X X X X X Xm in — • f- ^ ooCO Tj- CN — i CN inO O O O O O

— 0 — O -H —

b b b b b b

X X X X X X00 CN \D CO ON 00CN CN O CN CN ino o o o o o

O -H O d O «-

b b b b b b

X X X X X Xm co oo oo o oo— i CN -H m CO ONo o o o o o

o -" es r« -H

b o b b b b

X X X X X XO CN CO CO - CNCO CN ^H \O CN 00O O O O O O

to

b

X

d

0

cca

_u"oH

O O — cs

b o b b b o

X X X X X X-H \o r-~ -H -* o-^ in co -H m coO O O O O O

o — o o

bobobb

X X X X X X•sf CN CO VO CO \OCN (N CO -H _ -H

O O O O O O

fs) _ *H _* M _

b b b b b b

X X X X X XNO ^J- CO ON O NONO -H ro ON co NOO O O O O O

- 0 - O — -H

b b b b b b

X X X X X X\O co in co in •*in CM oo — i -H j-O O O O o O

^ o o r* oT T 7" 7 r fO O O O O O

X X X X X X•^- O — i O in ON-^ — 1 ~H Tj- in -H

O O O O O O

r r r 71 r ro o o o o o

X X X X X X• - -H CN in -3- NO•st- — ' CN r- in -HO O O O O O

O O -H « ^

o b b b b b

X X X X X Xin oo ON oo ON ONCO NO -<t CN CN COO O O O O O

- r. - - -

b b b b b o

X X X X X XCN CO r- ON CN NOCN r- — i CN CN -H

o o o o o o

e» -H es ct (S

O O O O O O

X X X X X X• t ON O oo m inNO co t r— NO CNo o o o o o

12

on

Zw

it,wou

ZOU

H <

> Hp ooHZ<0

E ZO W

W £P-, 10PL, r-

Q Z

lo

?o

X

b

sccdi.

—"oH

(-1

at+-<<T3

•8rt

•*,s<u>C

'SC3

U

C

5u

CDCfln

034=CZ

£fca

U

8C3«

£

E

00CcaXU<uC/Sca

CQ

2E

V)CJ

X).2ca

<uXl0

£t+*0l-lCJ

3Z

oCO

0CN

o

oCO

R

0

oCO

oCN

0•-H

f P V 1° ?• T000000

X X X X X Xoo -3- ON \o o oo« — i \o CO \O •*O O O O O O

ov r 1° p T ro o o o o o

X X X X X Xoo r- p- oo m ONco — i ro CN P- ^fO O O O O O

o o o or p r r f ro o o o o o

X X X X X Xro t~~ — n cs ^^ ir>— i f> •* CO <N CSO O O O O O

o or 1° r r r ro o o o o o

X X X X X XO oo r- — i Os Ort ro \o — i ON — H

O O O O O O

0 — 0

p r <r r r vo o o o o o

X X X X X XOO —* VO 00 O\ \O-H vo -H r- o\ ood d d o d o

0 -H O O -c

O O O O O O

X X X X X Xro r- P~ 10 CN csu-> CN \O — i -H \Oo o o o o o

^

T T T f T Vo o o o o o

X X X X X X\o in o ^O c~ ThO\ m CN in -H -HO O O O O O

O 0 -i

T 7 7* P r TO O O O O O

X X X X X Xu~> m Tf r~ \o OCN — i >o \o T}- r~o o o o o o

— -H O -1

O O O O O O

X X X X X Xp~ CN CN <N r- r~vo l- m co »— i -Ho o o o o o

e*

b

X1— 1

0

ft1

_u"oH

bboboiX X X X X XCN C\ OO CN m >Ocs oo ro ^^ os ^HO O O O O O

o oT r f T r TLo o o o o o

X X X X X Xo\ •* —i vo CN cj\.m — i en \o 01 rfO O O O O O

00 O

o o b b o b

X X X X X XON CN co TJ- \o ooCN CO -* CO C^ CNO O O O O O

— o —<p r 1° r r ro o o o o o

X X X X X Xoo O v> t~~ •— i oo-H (S -H CN — CM

O O O O O O

o o or r ? r f1 ro o o o o o

X X X X X Xro <N — i CN cs ooCS CO -H -H Tt O\

O O O O O O

O O -H o ~

O O O O O O

X X X X X XO u~> — * oo -*t CNCN — 1 r— ^J- CN \O.

o o o o o o

— o — —7 f T T 71 TO O O O O O

X X X X X Xoo r- CN in co r-M3 CO -H — i CN -HO O O O O O

- _ ts „ o

b b b o b b

X X X X X Xvo CN t~~ f- CO r~— i O\ - CN •* 1-1O O O O O O

_ _ « - o -"

b b b b b b

X X X X X XVO" VO VO «N V0 t^VO CO CO CO — i -HO O O O O O

•o

0

X1— 1

b

O

cCOu.

_OJ

"oH

- - 0~ T f T 7 1"00 0000

XX X X X Xco vo m vo t~- -HCN ~-< -H -H O\ CNO O O O O O

- 0 - 0

r r r r r 7-o o o o o o

XX X X X XO in O ~* « m•3" CO -H CO CN OOO O O O O O

O — 0 — "

b b o b b b

X X X X X X_ _ o — i ^O 00r- TJ- ~H « o\ CNo o o o o o

o o — — o

b o b b b b

X X X X X Xvo co m O oo mCN CN — i \O ON CNO O O O O O

— O 0 — O

b o b b b b

X X X X X Xr- r- ON O CN ooco co -^- co co coO O O O o o

^H — (S CS

v r T r f ro o o o o o

X X X X X X-H -^- oo r— m ^Hm in —H in -H coO O O O O O

— o o — o o

b b b b b b

X X X X X X00 ^ O Tl- -H — .CN V£> .— i t— m ^tO O O O O O

- o o n —

b b o b b b

X X X X X Xoo co co \O O r-CO (N CN — i rt CO

O O O O O O

O -t r) r* M

bbbbbb

X X X X X Xin oo oo t~- ON co-H — i in •* vo voO O O O O O

13

TABLE 6. SAMPLE MEDIANS

Low Relative Magnitude of Constraint Coefficients

40 Percent Dense Constraint MatrixTolerance = 0. X 10"6

Basic Inverse Updated After

First Base Change Fifth Base Change Ninth Base Change

Number of Problem Variables

10

0.63 X 10"13

20

0.20 X 10"12

30

0.13 X 10"7

10

0.37 X 10"' 3

20

0.76 X 10"' 2

30

0.29 X 10"' °

10

0.11 X 10"' 2

20

0.40 X 10""

30

0.14 X 10""

Tolerance = 0.1 X 10"'2

0.95 X 10"13 0.77 X 10"13 0.26 X 10"12 0.12 X 10"" 0.30 X 10"12 0.26 X 10"" 0.11 X 10"12 0.75 X 10"' ° 0.35 X 10""

Tolerance = 0.1 X 10""

0.61 X 10"13 0.18 X 10"' 3 0.46 X 10"13 0.17X 10"" 0.26 X 10"12 0.40 X 10"12 0.11 X 10"' 2 0.24 X 10"'° 0.16X 10"'°

75 Percent Dense Constraint MatrixTolerance = 0.1 X 10"*

0.16 X 10"12 0.22 X 10"" 0.37 X 10"12 0.16 X 10"' 2 0.89 X 10"9 0.48 X 10"" 0.12X 10"" 0.12 X 10"" 0.18 X 10"'°

tolerance = 0.1 X 10"12

0.25 X 10"12 0.75 X 10"' 2 0.17 X 10"12 0.14 X 10"' 2 0.16 X 10"' ° 0.78 X 10"' ' 0.50 X 10"" 0.22 X 10'" 0.61 X 10"9

Tolerance = 0.1 X 10""

0.60 X 10"12 0.65 X 10"'2 0.81 X 10"13 0.98 X 10~13 0.11 X 10"" 0.68 X 10"' 2 0.14 X 10"' 2 0.80 X 10"12 0.45 X 10"' '

High Relative Magnitude of Constraint Coefficients

40 Percent Dense Constraint MatrixTolerance = 0.1 X 10"6

0.22 X 10~« 0.39 X 10^ 0.32 X 10~* 0.76 X 10"'° 0.11 X 10"' 0.17 X 10^ 0.52 X 10"' ° 0.38 X 10"3 0.17 X 10"9

Tolerance = 0.1 X 10"' 2

0.47 X 10"" 0.12 X 10"10 0.67 X 10"" 0.19 X 10"'° 0.73 X 10"'° 0.14 X 10"" 0.92 X 10"' ' 0.1 IX 10"'° 0.40 X 10"'°

Tolerance = 0.1 X 10"' '

0.74 X 10"12 0.22 X 10"" 0.26 X 10"'° 0.49 X 10"" 0.10 X 10"'° 0.71 X 10"" 0.23 X 10"' ' 0.19 X 10"' ° 0.24 X 10"'°

75 Percent Dense Constraint MatrixTolerance = 0.1 X 10"6

0.12 X 10"'° 0.28 X 10"" 0.11 X 10"1 0.13 X 10"'° 0.13X 10"9 0.20 X 10"8 0.36 X 10"' ° 0.22 X 10"8 0.39 X 10"9

Tolerance = 0.1 X 10"12

0.36 X 10"" 0.67 X 10"" 0.92 X 10"' ' 0.13 X 10"'° 0.69 X 10"'° 0.74 X 10^ 0.16 X 10"9 0.41 X 10"9 0.11 X 10"1

Tolerance = 0.1 X 10""

0.32 X 10"" 0.10 X 10"' ° 0.25 X 10""> 0.36 X 10"" 0.34 X 10"'° 0.20 X 10"'° 0.10X 10"'° 0.28 X lb"10 0.13X 10"9

14

TABLE 7. SAMPLE RANGES

Low Relative Magnitude of Constraint Coefficients

40 Percent Dense Constraint MatrixTolerance = 0.1 X IO"6

Basic Inverse Updated After

First Base Change Fifth Base Change Ninth Base Change

Number of Problem Variables

10

0.74 X 10""

20

0.42 X IO"9

30

0.61 X IO"5

10

0.40 X 10""

20

0.61 X 10"'°

30

0.52 X 10"1

10

0.42 X 10""

20

0.14X IO"3

30

0.23 X 10"'°

Tolerance = 0.1 X 10"' 2

0.15 X 10"' 2 0.18 X 10"" 0.30 X 10"12 0.15 X 10"'° 0.23 X IO"9 0.16 X 10"'° 0.19X 10^ 0.33 X 10^ 0.71 X 10"'

Tolerance = 0.1 X 10""

0.19 X 10"' 2 0.84 X IO"8 0.87 X 10"" 0.70 X 10"' 0.10 0.17 X 10"' ° 0.27 X 10"' 2 0.18 0.45 X 10"'

75 Percent Dense Constraint MatrixTolerance = 0.1 X IO"6

0.33 X 10"8 0.27 X IO"8 0.83 X IO"8 0.21 X 10"'° 0.54 X IO"7 0.74 X 10"'° 0.17X 10^ 0.14X IO"8 0.27 X IO"5

Tolerance = 0.1 X 10"' 2

0.14 X 10"'° 0.31 X 10"' ' 0.26 X 10"'° 0.17 X 10"* 0.10 X IO"9 0.1 IX IO"9 0.21 X IO"9 0.14 X IO"10 0.88 X 10"

Tolerance = 0.1 X 10""

0.90 X 10"'° 0.1 3 X 10"" 0.27 X 10"'° 0.22 X 10"" 0.55 X 10"' ' 0.26 X 10"'° 0.87 X 10--'° 0.20-X 10"8 0.68 X 10"'

High Relative Magnitude of Constraint Coefficients

40 Percent Dense Constraint MatrixTolerance = 0.1 X 10"*

0.61 X 10"3 0.22 X 10"' 0.2 IX 10"' O.SOX IO"4 0.78 X 10"' 0.32 X 10"' 0.34 X 10"' 0.11 0.16 X 10"2

Tolerance = 0.1 X 10"12

0.22 X 10~" 0.29 X 10"'° 0.20 X 10"'° 0.45 X 10"* 0.92 X IO"3 0.32 X IO"5 0.22 X IO"7 0.29 X IO"6 0.34 X IO"9

Tolerance = 0.1 X 10~18

0.25 X IO"9 0.16 X IO"9 0.35 X IO"2 0.75 X IO"9 0.19 X IO"4 0.21 X 10"'° 0.96 X 10"" 0.24 X IO"8 0.56 X Iff*

75 Percent Dense Constraint MatrixTolerance = 0.1 X 10"6

0.42 X Iff* 0.67 X IO"2 0.14 X 10"2 0.27 X IO"3 0.86 X 10"* 0.13 X 10"' 0.37 X 10"" 0.38 X IO"5 0.69 X Iff

Tolerance = 0.1 X 10"12

0.14X 10"' ° 0.26 X l<f 0.37 X 10^ 0.20 X 10^ 0.97 X 10"9 0.18X IO"3 0.75 X 10^ 0.31 X 10"6 0.38 X IO"2

Tolerance = 0. X IO"18

0.18X IO"9 0.23 X IO"9 0.62 X 10"'° 0.51 X 10^ 0.37 X 10"* 0.22 X 10"9 0.99 X 10"'° 0.85 X 10"9 0.21 X 10^

15

TABLE 8. RESULTS OF FACTORIAL EXPERIMENT

HypothesisNumber

1234567

Degrees ofFreedom

107222118

Computedx2

249.3315.8215.2619.704.17

124.4769.91

Criticalx2

133.265.995.995.993.843.84

15.51

Decision

RejectRejectRejectRejectRejectRejectReject

1. All five factors have a significant effect on round-off error accumulation.

2. There exists a significative interaction among the factors.

The remainder of this report is devoted to an analysis of the individual factor andinteraction effects. The results of this analysis should indicate which combination of thetwo round-off error minimization techniques produces the best results. The individualfactor effects will be discussed first.

The 648 observations of round-off error, on which the above analysis of variancewas based, can be divided in different ways and used to develop histograms for thedifferent levels of each factor. The observations were first divided into three groupsaccording to the number of problem variables. Figure 3 gives the histograms developedfrom these groups. Note that in all three histograms the median provided a much betterestimate of central tendency than did the mean. This is a common characteristic of datacollected in this experiment.

One would expect round-off error to increase with the number of problemvariables. Figure 3 indicates a significant increase in both central tendency and variationbetween 10 variable and 20 variable problems. There appears to be no noticable changebetween 20 and 30 variable problems. These results can be partially explained by notingthat round-off accumulation is more directly related to the size of the basic matrix thanto the number of variables. This is true because the entire simplex, tableau is generatedfrom the original data and the inverse of the basic matrix. Since all the test problems had10 original constraints, then the average size of the basic matrix for the 20 and 30variable problems was not significantly different.

Next, the error observations were divided according to density of the constraintmatrix and histograms were constructed. Figure 4 presents the results. Larger errorsappear to occur more frequently in the 40 percent density problems. Also, the mean andstandard deviation of the histogram for the 40 percent density problems are larger thanthe mean and standard deviation of the histogram for the 75 percent density problems.

16

o '

<-) 1—O CL.

2:•=t

CO cfCO !ECC LL._l J* O

>-O

LU 3=> _lCr coLU Z COcc: i—i cou_ CD et

LU _ict CO O

*

<-> oLU t—<

n; cog 2 t^ £ £

=£ _l— <-> co

C_)

LUZ3o-LUa:

T3(U

anc3

b -

9 6•O (D

S 3S o

o oCO ,_!

g

COef

Oi— X i—

fX O O

r- CO •—

ro • x• II n co\\ •z. •—

ct LU •

ct O Z IILU LU ct2: 2: ce D

\

Occ:cc:

LU

O

X'

•a-- i

oLO

Oro o oCM i—

a so 2+-» Ct/1 ^

B

60

A3N3n()3cJJ

17

CO t~^ COo oo to

X O • O CO.—i o • cr> rCC. • II CO _J1— II 0<: ii z o L_ .s: «a: LU • ]

Z t— i o p*| — <C Q Z IIz LU LU =t.— . s s: oi D

i V i— rs \ 1{_) 1

K

LU I ^»

Q 1

&« 1

£ L___

^ 1 1 I 1 1 1 1 1

fo

CMt

- ^~1

1

- co1

o1

CM

•"1"

1tor—

O O O O O O O O O 1

C O I ^ t O L O « ^ - C O C \ J t —

•Kcc.oo;LU

u_o1—LU

00.

LU

A-4—»

'5

QiOU_ 00

C3 U-LU OCQ i —

OO+

.CD OLUCD I/) •

I— iO "-I I ^ I-H I

i— i S O O 2: O

><

C3t-.

XH-(

CC

C5

X

CM «* OOO • O • CM

• II IX)II i—

II Z O«=C LU

Z •—' (J3•=t Q Z IILU LU <Cs: 2: oi D

- o

X 3 XOO t/) OOOO OO i — 00 OO i —< ec • oo <: •—I _J <C —I<_3 tJ Q _l U Q

Z O Z>- OO CC 00 =£

LU

2

zooI » IO LU CO Oo- i ^ _i i .—

LU Q_a: 3r x s: jc xu- i— < i—

i— i i — X >— i i —«=C 3 • LU 2 •

sOB

<t 1 1£ \2 \S \ 1

1 ^LU 1Q ' 1

O [

^ 1 1 1 1 1 1 1 1o o o o o o o o cc o r — V O L O ^ - C O C M I —

- CO1

. o

CM

1

1to

•> '

EXPO

NENT

OF

18

The two histograms associated with relative magnitude of the constraintcoefficients are presented by Figure 5. They clearly indicate that round-off error increaseswith the relative magnitude of the constraint coefficients.

Figure 6 presents the histograms associated with the procedure for improving theinverse of the basic matrix. Both central tendency and variation decrease as the procedureis applied more frequently. However, the range of these data was chosen to narrow toshow the importance of the procedure. The experience of' this writer indicates thatround-off error accumulates very fast when the procedure is not applied at all.

Finally, the observations were divided according to the tolerance factor applied.The histograms are presented by Figure 7. A tolerance value of 0.1 X 10~6 appears tobe too large. It apparently causes valid data to be lost, thereby adding to the round-offproblem. However, a review of Tables 2 through 5 reveals that it is an acceptabletolerance for problems which have low relative magnitude constraint coefficients. That is,only one of the 108 error observations for problems with low relative magnitudeconstraint coefficients was greater than 0.7 X 10"s.

A tolerance of 0.1 X10"18 creates a problem that is not revealed by Figure 7. Itallows very small round-off errors to remain in the tableau. When one of these smallvalues is selected as the pivot element, the problem completely degenerates. Thisphenomenon occurred in over half of the problems that had high relative magnitudeconstraint coefficients and 40 percent dense constraint matrices. A total of 73 randomproblems with high relative magnitude constraint coefficients and 40 percent denseconstraint matrices had to be generated to obtain 18 test problems that would not totallydegenerate before 30 cuts were applied when a tolerance of 0.1 X 10~18 was used. Thephenomenon occurred very infrequently in the other test problems when a toleranceof 0.1 X 10~18 was applied.

Figure 7 indicates that 0.1 X 10"12 is an acceptable tolerance value. It is smallenough to prevent valid data from being" lost, yet it is large enough to prevent thephenomenon discussed above.

The discussion will now turn to an analysis of the interactions among the factors.Wilson's Chi-square statistic can also be used to test first order interactions. Since thenumber of problem variables and the density of the constraint matrix were considered tobe nested factors, only the interaction among relative magnitude of constraintcoefficients, tolerance value, and the procedure for improving the inverse of the basicmatrix will be analyzed. Table 9 gives the Chi-square statistics assuming an a of 0.05.Each null hypothesis assumes that no interaction exists.

Having accepted the alternative hypothesis that all three interactions aresignificant, a detailed inspection of each interaction is in order. An interaction can bestbe inspected by dividing the data into subsamples according to factorial combinations ofthe levels of the factors involved. The interaction effect can then be analyzed bycomparing the statistical characteristics of the subsamples.

Table 10 presents the medians and ranges of the subsamples for the interaction oftolerance value and relative magnitude of the constraint coefficients. These data indicatethat a tolerance value of 0.1 X 10~12 is more desirable than the other two values

19

oIo

xUD

U3 LO IOr— CM OO • •—O • CO

• II CT>II O

II -Z. O<C UJ

LU UJ <C•SL s: a: o

LUO

—1 —LUo;

3C3_J

^ 1OO

h- — "—L

_ CM

1

. •*

1

1 1 1 1 •—O O 0 O O 1co ID r CM

A3N3nt)3cJd

LUZO

LUCO _JCO Q-

CO i—

i—< X

LUca

oCO

COCO

o

X

O COLU I— CO

" s <«t —I O

•S B+2 <U.2 '38£t« o

a §

9 §T3 OS Qi? M

O Su,(*-,

o O

S ^J

- 3Cd 40

feb '3O 60+J CTJ

£ sK 9J

g

60

20

O

IO

CJoccQ.

QLCSL

_0

oo xoo <:OO 1C i—<t u_ ._1 -^ O<_> I Q

oo z>- 3: i— ec<_) I— i—iZ -. 5U*LU 3 1-1 Ira _i oo-oo .—LiJ Z IX)or: i—i oo xu- in <:

LU _J i—et oa <_J •

*

oLO

oOJ

T3(L>o2

.s^j X.

'

.I

LUCD

<

CJ

LUOO

§

1CoLU

LU1—1 1

QLU

—1a.

LUecQLU

Oexa.^

o

LO000OO

II

zLU2:

-1—

|

1 1

io

X

i —CO i —CM CM' ° r

„ ' £i JII C\J . 1II O 1

•z. o 1 ,«t LU • JH-, CD 1 '0 Z IILU et2: ce oi 1

J

k r-T\ r1 \_ _^

11

- C\J

io

C\J1

1

1

CO1

. 0

CVJ

1

„ **J

1

K^£

•K

Oa:a:LjJ

•Li_o

i—LU

OQ.

LU

o o o o o o 'IO LO *3- CO CM i —

LU

Z

T

<->

LU

«a;CO

JZLO

3;<_3

LU

QLLUH-

<^

-QLU

1Q-Q.

LU ~ -OZ 1

QLUOOo^°-

0 0IO LO

^H'o f

x .oo LOVO CM CO ' p— '^ r- o0 • — LI0 • <3- J• ii o r1

II r— 1ii z o nz2S ' LI<: o z iiLU LU <£ 1s: s: cc D , — 1i r

k i — }\

I

i i i '

-CM

-o

-CMi

-^-i

-10

- coi

.0

i

. CVJ

i

Tto

0 O O O O '«a- ro CM i—

*ceOa:o:LU

u_O

I—

LU

Oa.xLU

**<D

^4-1

9•ac0^H

O

6CS1— <

2uo

av*o

s.2Pfc

o>c'«(~l

•*-*

c?*52exS

"~ 'tH

.2

21

OO X-oo =tOO 1C i—<t LL •_l O<_) I Q

oo z:>- 31 h- c£C_> I— 1-1

UJ 3 1-1 I

O-OO r—uj z: ooen —i oo xU. CO ct

LU _J i—c£ CO CJ •

8

<uN

-a Si-2 —.2 >Qo "211P E

U3IO

• 1CDUD

1^O00

IoCXI

CD.•a- z:

_ CXI ^

' Q.^a- xi— LU

CO cnPO CTl CDO LO r^o • oo • co

• n •*n o

n z: o«=c LU cxi <c

? S"O C/3

§^3

1 §^ o

z —i co Lg -=C C3 ZZ II |

UJ LU <C Ls: s: ct o |

' \ ^-T\ 1

z: |a: |

S l

t—

- ur>

- 00i

. 0

_ CXI

1

1UD

* 1 1 1 1 1 1 -70 0 O 0 0 0 0 'VO LO ^J- OO CXI r—

o:o

u.

LUz:oCL.XUJ

fa

O-(— »

S

<t>

E

22

TABLE 9. CHI-SQUARE VALUES FOR INTERACTIONS AMONG THE FACTORS

InteractionHypothesis3

R X TR X PTX P

Degrees ofFreedom

558

Computedx2

148.07140.0744.67

CriticalX2

11.0711.0715.51

Decision

RejectRejectReject

a. R means relative magnitude of constraint coefficients; T means tolerancevalue; and P means procedure for improving the inverse of the basic matrix.

TABLE 10. ROUND-OFF ERRORS ASSOCIATED WITHDIFFERENT COMBINATIONS OF TOLERANCE VALUES

AND CONSTRAINT COEFFICIENT RELATIVE MAGNITUDES

Relative Magnitude ofConstraint Coefficients

Low

High

Tolerance Values

1.0 X 1(T6

0.93 X lO'1*3

(0.14 X 10"3)

0.57 X 1Q-9

(0.1066)

0.1 X 1(T12

0.47 X 1(T12

(0.0709)

0.17 X 1(T10

(0.0038)

0.1 X 1(T18

0.20 X 1(T12

(0.1838)

0.97 X KT11

(0.0051)

a. Median (range) from sample of 108 observations of round-off error.

because it has the smallest range for high relative magnitude coefficients and the secondsmallest range for low relative magnitude coefficients. Also, its median is acceptable inboth cases. The ranges for the other two tolerances are not consistent between the twocoefficient cases. As noted previously, 0.1 X 10"6 is an acceptable tolerance to apply toproblems that have low relative magnitude constraint coefficients.

The interaction between the frequency at which the basic matrix "reinversion"procedure is applied and the relative magnitude of the constraint coefficients is indicatedby the data in Table 11. These data clearly indicate that decreasing the frequency atwhich the reinversion procedure is applied increases both the median and range of theround-off error.

Table 12 shows the interaction between tolerance value and the frequency atwhich the basic matrix reinversion procedure is applied. Once again, a toleranceof 0.1 X 10"12 is shown to be superior to the other two values. Also, applying thereinversion procedure after each base change holds the range of the round-off error wellwithin acceptable bounds. However, each application of this procedure increases theamount of computer time required to solve a problem. Some compromise between

23

TABLE 11. ROUND OFF ERRORS ASSOCIATED WITH DIFFERENTCOMBINATIONS OF CONSTRAINT COEFFICIENT RELATIVE

MAGNITUDES AND FREQUENCIES FOR APPLYING THEPROCEDURE WHICH IMPROVES THE COMPUTED INVERSE

OF THE BASIC MATRIX

Relative Magnitude ofConstraint Coefficients

Low

High

Reinversion Procedure Applied After

First BaseChange

0.15 X lO'12*(0.61 X 10r5)

0.99 X 1CT11

(0.0217)

Fifth BaseChange

0.65 X 10~12

(0.1035)

0.31 X 10"10

(0.0779)

Ninth BaseChange

0.13 X 1Q-11

(0.1838)

0.47 X 1(T10

(0.1066)

a. Median (range) from sample of 108 observations of round-off error.

TABLE 12. ROUND-OFF ERRORS ASSOCIATED WITH DIFFERENTCOMBINATIONS OF TOLERANCE VALUES AND FREQUENCIES

FOR APPLYING THE PROCEDURE WHICH IMPROVES THECOMPUTED INVERSE OF THE BASIC MATRIX

Tolerance Values

0.1 X 1Q-6

0.1 X 1CT12

0.1 X 1(T18

Reinversion Procedure Applied After

First BaseChange

0.21 X lO'10*(0.0217)

0.14 X 1CT11

(0.22 X 1(T8)

0.84 X 1CT12

(0.0035)

Fifth BaseChange

0.15 X IF10

(0.0779)

0.12X 10T10

(0.92 X 1(T3)

0.36 X IF11

(0.1035)

Ninth BaseChange

0.26 X la10

(0.1066)

0.18 X 10"10

(0.0709)

0.37 X lO"11

(0.1838)

a. Median (range) from sample of 72 observations of round-off error.

computer time and allowable range for the round-off error may be desirable. Table 12indicates that the reinversion procedure should be applied at least after each fifth basechange, because the round-off error in the table is only the amount which accumulatedduring the application of 30 cuts to each test problem. Several hundred cuts may berequired to solve difficult problems if they can be solved by cutting methods at all.

24

SUMMARY

The first part of this report shows how the revised simplex procedure can be usedin cutting algorithms. The second part defines and statistically analyzes two proceduresfor minimizing round-off error accumulation in a cutting plane code. The following fivefactors are shown to have a statistically significant effect on round-off error:

1. The number of problem variables.

2. The density (percent of non-zero elements) of the problem constraint matrix.

3. Relative magnitude of the coefficients in the problem constraint matrix.

4. The tolerance value used to round small computed values to zero.

5. The frequency at which a matrix procedure is applied to remove round-offfrom the computed inverse of the basic matrix.

Round-off error accumulation was shown to increase with ( l ) an increase in the numberof problem variables, (2) a decrease in the density of the constraint matrix, (3) anincrease in the relative magnitude of the constraint coefficients, (4) a tolerance valueof 0.1 X 10~5 or greater, and (5) a decrease in the frequency at which the basic matrixreinversion procedure is applied. Round-off error can be minimized by applying thematrix procedure to improve the computed inverse after each base change and selectingan appropriate tolerance which is related to the number of significant digits carried foreach variable. When all calculations are done in double precision (16 to 18 digits plus anexponent) a tolerance value of 0.1 X 10~12 is an acceptable value. The selection of asignificantly larger tolerance tends to add to the round-off problem. Selection of asignificantly smaller tolerance reduces the effectiveness of the tolerance by allowingdivision by very small insignificant values.

25

REFERENCES

1. Taha, Hamdy A.: Operations Research An Introduction. The Macmillan Company,New York, 1971, pp. 675-676.

2. Gass, Saul I.: Linear Programming. McGraw-Hill Book Company, New York,1964, pp. 110-113.

3. Llewellyn, Robert W.: Linear Programming. Holt, Rinehart and Winston, NewYork, 1964, pp. 172-178.

4. Householder, Alston S.: The Theory of Matrices in Numerical Analysis. BlaisdellPublishing Company, New York, 1965.

5. Muller-Merbach, H.: On Round-off Errors In Linear Programming. Springer-Verlag,1970.

6. Wilson, Kellogg V.: A Distribution-Free Test of Analysis of Variance Hypotheses.Psychological Bulletin, vol. 53, no. 1, 1956.

NASA-Langley, 1973 19

NATIONAL AERONAUTICS AND SPACE ADMINISTRATION

WASHINGTON. D.C. 2O546

OFFICIAL BUSINESS

PENALTY FOR PRIVATE USE $3OO SPECIAL FOURTH-CLASS RATEBOOK

POSTAGE AND FEES PAIDNATIONAL AERONAUTICS AND

SPACE ADMINISTRATION451

POSTMASTER : If Undeliverable (Section 158Postal Manual) Do Not Return

"The aeronautical and space activities of the United States shall beconducted so as to contribute . . . to the expansion of human knowl-edge of phenomena in the atmosphere and space. The Administrationshall provide for the widest practicable and appropriate disseminationof information concerning its activities and the results thereof."

—NATIONAL AERONAUTICS AND SPACE ACT OF 1958

NASA SCIENTIFIC AND TECHNICAL PUBLICATIONSTECHNICAL REPORTS: Scientific andtechnical information considered important,complete, and a lasting contribution to existingknowledge. • t

TECHNICAL NOTES: Information less broadin scope but nevertheless of importance as acontribution to existing knowledge.

TECHNICAL MEMORANDUMS:Information receiving limited distributionbecause of preliminary data, security classifica-tion, or other reasons. Also includes conferenceproceedings with either limited or unlimiteddistribution.

CONTRACTOR REPORTS: Scientific andtechnical information generated under a NASAcontract or grant and considered an importantcontribution to existing knowledge.

TECHNICAL TRANSLATIONS: Informationpublished in a foreign language consideredto merit NASA distribution in English.

SPECIAL PUBLICATIONS: Informationderived from or of value to NASA activities.Publications include final reports of majorprojects, monographs, data compilations,handbooks, sourcebooks, and specialbibliographies.

TECHNOLOGY UTILIZATIONPUBLICATIONS: Information on technologyused by NASA that may be of particularinterest in commercial and other non-aerospaceapplications. Publications include Tech Briefs,Technology Utilization Reports andTechnology Surveys.

Details on the availability of these publications may be obtained from:

SCIENTIFIC AND TECHNICAL INFORMATION OFFICE

N A T I O N A L A E R O N A U T I C S A N D S P A C E A D M I N I S T R A T I O N

Washington, D.C. 20546