Error message examples
Number of constraints in the file passed to LpRead is not the same as the length of constraintIndex.
The number of constraints defined in the file passed to LpRead and the length of the index passed as the optional «constraints» parameter are not equal.
If the number of constraints in the problem isn't very large, you can determine the number of constraints by opening the file being passed in a text editor and then correcting the index passed.
«Constraints» is an optional parameter to the LpRead function and can also be omitted.