Error Messages/40561
< Error Messages
Revision as of 20:44, 21 January 2010 by Lchrisman (talk | contribs) (Created page with '= Error Text = The second parameter, «lp», was not specified to SolverInfo, but is required when Item:"lhs" is specified. = Cause = You've probably only supplied a sing…')
Error Text
The second parameter, «lp», was not specified to SolverInfo, but is required when Item:"lhs" is specified.
Cause
You've probably only supplied a single parameter SolverInfo -- the «Item» parameter. SolverInfo also needs to know which optimization formulation you are requesting information on, which you pass to it using the second parameter, «lp», such as in this example usage:
SolverInfo("lhs",myNlp)
The possible item values of "objcoef", "Q", "lhs", "lhsQ", "rhs", "constraintUb", "constraintLb", "sense", "lb", "ub", "ctype", "group", "maximize", "engine", "setting", "type", "vars" and "constraints" all require the second «lp» parameter. See SolverInfo for more info.
See Also
Comments
Enable comment auto-refresher