366. THE MATRIX IS NOT POSITIVE DEFINITE.

Some of LINGO's matrix operations require that the matrix be positive definite (e.g., @CHOLESKY).  You will receive this error message if this requirement is not met.  You may wish to investigate the use of LINGO's @POSD function to force a matrix to be positive definite.