The format for each data card type is the standard one discussed in the RANDQP manuals [4,2]. MPSRAND will not, however, produce an input deck suitable for the RANDQP even if the Q matrix is symmetric. NPSRAND assumes that all Q-matrix coefficients are specified explicitly in the input problem. The output file has all the coefficients in the matrix section arranged by column. Since the standard QP problem in the Takayama modeling approach is a maximization problem, and the original RANDQP assumes minimization problem the Q-matrix and linear OBJ coeffi- cients are reversed in sign by the MPSRAND program. In the more general LCP problem, this manipulation is justifiable in terms of the economic equilibrium conditions for the model. The source listing for MPSRAND is presented in Figure 12. 4LCRAND and RANDQP restrict the number of characters in row and column names to 6. The QMATGEN allows 7 characters. Therefore, only QMATGEN type decks that have names with < 6 characters can be success- fully converted by the MPSRAND program.