Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
Pi
Type: | double |
---|---|
Modifiable: | No |
The constraint dual value in the current solution (also known as the shadow price).
Given a linear programming problem
and a corresponding dual problem
the Pi
attribute returns .
Of course, not all models fit this canonical form. In general, dual values have the following properties:
- Dual values for constraints are .
- Dual values for constraints are .
- Dual values for constraints are unconstrained.
Only available for continuous models.
For examples of how to query or modify attributes, refer to our Attribute Examples.