LinearReport.GetShadowPrices Method

Solver Foundation 3.0

[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)

public virtual IEnumerable<KeyValuePair<string, Rational>> GetShadowPrices(
	Constraint constraint


Type: Microsoft.SolverFoundation.Services.Constraint
A constraint.

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.