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