Chapter Contents Previous Next
 The NETFLOW Procedure

## The Working Basis Matrix

Let T be the basis matrix of NPSC. The following partitioning is done:
where
• n is the number of nodes
• k is the number of side constraints
• A (n x n) is the network component of the basis. Most of the columns of this matrix are columns of the problem's node-arc incidence matrix. The arcs associated with columns of A , called key basic variables or key arcs, form a spanning tree. The data structures of the spanning tree of this submatrix of the basis T enable the computations involving T and the manner in that T is updated to be very efficient, especially those dealing with A (or A-1).
• C (k x n) are the key arcs' side constraint coefficient columns.
• B (n x k) are the node-arc incidence matrix columns of the nontree arcs. The columns of B having nonzero elements are associated with basic nonspanning tree arcs.
• D (k x k) are the constraint coefficient columns of nonkey basic variables. Nonkey basic variables not only include nontree basic arcs but also basic slack, surplus, artificial, or nonarc variables.

It is more convenient to factor T by block triangular matrices P and M , such that P = T M . The matrices P and M are used instead of T because they are less burdensome to work with. You can perform block substitution when solving the Simplex iteration linear systems of equations.

where Dw = D - CA-1B and is called the working basis matrix.

To perform block substitution, you need the tree data structure of the A matrix, also the C , B , and Dw matrices. Because the C matrix consists of columns of the constraint coefficient matrix, the maintenance of C from iteration to iteration simply entails changing information specifying which columns of the constraint coefficient matrix compose C .

The A-1B matrix is usually very sparse. Fortunately, the information in A-1B can be initialized easily using the tree structures. In most iterations, only one column is replaced by a new one. The values of the elements of the new column may already be known from preceding steps of the Simplex iteration.

The working basis matrix is the submatrix that presents the most computational complexity. However, PROC NETFLOW usually can use classical Simplex pivot techniques. In many iterations, only one column of Dw changes. Sometimes it is not necessary to update Dw or its inverse at all.

If INVD_2D is specified in the PROC NETFLOW statement, only one row and one column may need to be changed in the Dw-1 before the next Simplex iteration can begin. The new contents of the changed column are already known. The new elements of the row that changes are influenced by the contents of a row of A-1B that is very sparse.

If INVD_2D is not specified in the PROC NETFLOW statement, the Bartels-Golub update can be used to update the LU factors of Dw . The choice must be made whether to perform a series of updates (how many depends on the number of nonzeros in a row of A-1B), or refactorization.

 Chapter Contents Previous Next Top