Export (0) Print
Expand All

UnconstrainedNonlinearModel.GetIndexFromKey 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.]

Maps the variable index from the key. If not found, KeyNotFoundException will be thrown

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

public int GetIndexFromKey(
	Object key
)

Parameters

key
Type: System.Object
The key to map to the variable index.

Return Value

Type: System.Int32
The variable index

Implements

IRowVariableModel.GetIndexFromKey(Object)

Show:
© 2014 Microsoft