Error Messages/40257

< Error Messages
Revision as of 19:40, 24 March 2016 by Bbecane (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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.

See Also

Comments


You are not allowed to post comments.