APPENDIX E EXPANDING PROBLEM DIMENSIONS LCRAND and RANDQP have an upper limit on the size of problem matrix they can handle. There are FORTRAN arrays defined in the XBLANK COMMON block which establish this and several other dimension specifications for the program. The standard versions of LCRAND and RANDQP have this limit set to 500 rows. The figure of 500 rows refers to the dimension of the M matrix in an LCP problem. This is actually the sum of the number of rows and columns in the A matrix. There also is a limit of approximately 6000 non-zero elements that can be stored for the matrix tableau. This figure, however, refers to the number of non-zero elements in Q and A. The -AT section is not included in this figure. It is also necessary to be aware of the fact that the inverse of the matrix must be stored. This can be a problem when the inverse becomes too large for the amount of storage available. If an error message occurs to this effect, it may be necessary to expand the region requested or job size specification on the JOB card. This will generally be sufficient to handle the problem. If the user desires to expand the maximum dimensions of LCRAND or RANDQP it is necessary to change lines 2 and 3 of the XBLANK COMMON in the main program and the BEGIN subroutine. Also, the DATA statement specifying MINDM1, MINDM2, and MINDM3 should be changed. A formula for setting the dimensions is described below.