Export (0) Print
Expand All

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

Attempts to get the variable index based on the specified key

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

public bool TryGetIndexFromKey(
	Object key,
	out int vid
)

Parameters

key
Type: System.Object
the key value
vid
Type: System.Int32%
the variable index

Return Value

Type: System.Boolean
true if the variable exists, otherwise false

Implements

IRowVariableModel.TryGetIndexFromKey(Object, Int32)

Show:
© 2015 Microsoft