LinearSolutionMapping.GetIndexes Method (Constraint)

Gets a collection of indexes of a constraint.

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

Syntax

'Declaration
Public Overrides Function GetIndexes ( _
    constraint As Constraint _
) As IEnumerable(Of Object())
public override IEnumerable<Object[]> GetIndexes(
    Constraint constraint
)
public:
virtual IEnumerable<array<Object^>^>^ GetIndexes(
    Constraint^ constraint
) override
abstract GetIndexes : 
        constraint:Constraint -> IEnumerable<Object[]> 
override GetIndexes : 
        constraint:Constraint -> IEnumerable<Object[]> 
public override function GetIndexes(
    constraint : Constraint
) : IEnumerable<Object[]>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<array<Object[]>
A collection of indexes that are related to a constraint.

Exceptions

Exception Condition
ArgumentNullException

constraint is a null reference (Nothing in Visual Basic).

NotSupportedException

Cannot map a stochastic model.

.NET Framework Security

See Also

Reference

LinearSolutionMapping Class

LinearSolutionMapping Members

GetIndexes Overload

Microsoft.SolverFoundation.Services Namespace