LinearReport.GetShadowPrices Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns a collection of shadow prices for a constraint.

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

Syntax

'Declaration
Public Overridable Function GetShadowPrices ( _
    constraint As Constraint _
) As IEnumerable(Of KeyValuePair(Of String, Rational))
public virtual IEnumerable<KeyValuePair<string, Rational>> GetShadowPrices(
    Constraint constraint
)
public:
virtual IEnumerable<KeyValuePair<String^, Rational>>^ GetShadowPrices(
    Constraint^ constraint
)
abstract GetShadowPrices : 
        constraint:Constraint -> IEnumerable<KeyValuePair<string, Rational>> 
override GetShadowPrices : 
        constraint:Constraint -> IEnumerable<KeyValuePair<string, Rational>> 
public function GetShadowPrices(
    constraint : Constraint
) : IEnumerable<KeyValuePair<String, Rational>>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, Rational>>
A collection of shadow prices for the constraint. If sensitivity is not supported in the solver or is not specified in the directive, an empty collection is returned.

.NET Framework Security

See Also

Reference

LinearReport Class

Microsoft.SolverFoundation.Services Namespace