UnconstrainedNonlinearModel.INonlinearModel.GetActiveVariables 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.]

Specifies variables that participate in the row.

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

IEnumerable<int> INonlinearModel.GetActiveVariables(
	int rowVid
)

Parameters

rowVid
Type: System.Int32
the row index

Return Value

Type: System.Collections.Generic.IEnumerable<Int32>
Enumeration of active varibles on rowVid

Implements

INonlinearModel.GetActiveVariables(Int32)

ExceptionCondition
ArgumentException

rowVid is not a legal row index

NotSupportedException

Not supported by unconstrained solvers

In the case of a model which has explicit linear terms (implements ILinearModel), there is no need to specify the linear terms by calling this method.

Show: