Difference between revisions of "Error Messages/40561"

(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…')
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
= Error Text =
+
[[Category: Error messages]]
  
The second parameter, «lp», was not specified to [[SolverInfo]], but is required when Item:"lhs" is specified.
+
== Error text ==
  
= Cause =
+
:<code>''The second parameter, «lp», was not specified to SolverInfo, but is required when Item: "lhs" is specified.''</code>
 +
 
 +
== 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:
 
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)
+
:<code>SolverInfo("lhs", myNlp)</code>
  
 
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.
 
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 =  
+
==Remedies==
 +
Change the function call by providing the missing «lp» (optimization problem) parameter.
  
 +
== See Also ==
 +
* [[Function calls and parameters]]
 +
* [[Function parameter qualifiers]]
 +
* [[Using a Solver Add-on Engine]]
 
* [[SolverInfo]]
 
* [[SolverInfo]]
 +
* [[OptEngineInfo]]

Latest revision as of 21:16, 29 March 2016


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.

Remedies

Change the function call by providing the missing «lp» (optimization problem) parameter.

See Also

Comments


You are not allowed to post comments.