Error Messages/40257

< Error Messages
Revision as of 15:48, 21 September 2010 by Lchrisman (talk | contribs)

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
EXCELWORKBOOKTYPE.

Cause

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.

Remedies

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.



You are not allowed to post comments.

Comments
<comments />