Difference between revisions of "Error Messages/40698"

 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
= Error Message =
+
[[Category: Error messages]]
  
:The reduced cost (dual value) is not available in a non-linear optimization problem.  Use [[LpReducedCost]] on linear programs.
+
== Error message ==
  
= Cause =
+
:<code>''The reduced cost (dual value) is not available in a non-linear optimization problem.  Use LpReducedCost on linear programs.''</code>
 +
 
 +
== Cause ==
  
 
You've passed the function [[LpReducedCost]] an optimization problem that was defined with something other than [[LpDefine]] -- perhaps [[QpDefine]] or [[NlpDefine]].  The function [[LpReducedCost]] can only be applied to linear programs (LPs).
 
You've passed the function [[LpReducedCost]] an optimization problem that was defined with something other than [[LpDefine]] -- perhaps [[QpDefine]] or [[NlpDefine]].  The function [[LpReducedCost]] can only be applied to linear programs (LPs).
Line 9: Line 11:
 
This error can also occur when the problem is an LP, but the LP cannot be solved.  For example, if the LP has an unbounded objective function or no feasible solution.  To check for this, examine the result of [[LpStatusText]].
 
This error can also occur when the problem is an LP, but the LP cannot be solved.  For example, if the LP has an unbounded objective function or no feasible solution.  To check for this, examine the result of [[LpStatusText]].
  
= See Also =
+
== See Also ==
 
 
 
* [[LpReducedCost]]
 
* [[LpReducedCost]]
 +
* [[OptReducedCost]]
 +
* [[QpDefine]]
 +
* [[NlpDefine]]
 +
* [[DefineOptimization]]
 +
* [[Optimization_Characteristics#Parts_of_a_Linear_Program_.28LP.29|Parts of a Linear Program]]

Latest revision as of 19:41, 4 April 2016


Error message

The reduced cost (dual value) is not available in a non-linear optimization problem. Use LpReducedCost on linear programs.

Cause

You've passed the function LpReducedCost an optimization problem that was defined with something other than LpDefine -- perhaps QpDefine or NlpDefine. The function LpReducedCost can only be applied to linear programs (LPs).

This error can also occur when the problem is an LP, but the LP cannot be solved. For example, if the LP has an unbounded objective function or no feasible solution. To check for this, examine the result of LpStatusText.

See Also

Comments


You are not allowed to post comments.