Error Messages/40257

Error message examples

 The first parameter to function OptWrite, «lp», must be of type LPTYPE.

 The first parameter to function WorksheetCell, «Workbook», must be of type


You passed a parameter of a different type than the one expected.

Optimizer functions that only work with linear programs (LPs) will issue this message when passed a quadratic or non-linear program.


Correct the parameter passed to the function to the type expected by the function.

For an optimization problem, you will either need to remove the non-linearities in your model, or you probably don't have the option to use the function.

See Also


You are not allowed to post comments.