Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PluginSolutionMapping.GetIndexes Method (Constraint)

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 the indexes of a constraint.

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

public override IEnumerable<Object[]> GetIndexes(
	Constraint constraint
)

Parameters

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

Return Value

Type: System.Collections.Generic.IEnumerable<Object[]>
A collection of indexes related to the constraint.

ExceptionCondition
ArgumentNullException

The constraint parameter is null.

NotSupportedException

The model is stochastic. Mapping of stochastic models is not supported.

The first call for a constraint to TryGetVid, GetIndexes, or GetComponents is resource-intensive.

Show:
© 2015 Microsoft