Export (0) Print
Expand All

NonlinearModel.SparseMatrix.IsActiveVariable 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 value that indicates whether a variable is active in the specified row.

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

public bool IsActiveVariable(
	int rowVid,
	int varVid
)

Parameters

rowVid
Type: System.Int32
The row index.
varVid
Type: System.Int32
The variable index.

Return Value

Type: System.Boolean
true if the variable is active; otherwise, false.

ExceptionCondition
ArgumentException

rowVid is not a valid row index, or varVid is not a valid variable index.

Show:
© 2014 Microsoft