Generated when the value of the MonomialOrder option is not a valid weight matrix.
A weight matrix used as the value of the MonomialOrder option is expected to be a square rational (or integer) matrix of full rank with positive values in the first nonzero entries of each column.
Off[message] switches off the message; On[message] switches it on. For example: Off[GroebnerBasis::wgtmat1].
Examples
Basic Examples(1)
An error occurs in this example because the weight matrix includes elements that are not integers or rational numbers.
This shows a valid weight matrix as the value of the MonomialOrder option.