UnconstrainedNonlinearModel.INonlinearModel.GetActiveVariables Method
[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)
Syntax
'Declaration
Private Function GetActiveVariables ( _
rowVid As Integer _
) As IEnumerable(Of Integer) Implements INonlinearModel.GetActiveVariables
IEnumerable<int> INonlinearModel.GetActiveVariables(
int rowVid
)
private:
virtual IEnumerable<int>^ GetActiveVariables(
int rowVid
) sealed = INonlinearModel::GetActiveVariables
private abstract GetActiveVariables :
rowVid:int -> IEnumerable<int>
private override GetActiveVariables :
rowVid:int -> IEnumerable<int>
JScript does not support explicit interface implementations.
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)
Exceptions
Exception | Condition |
---|---|
ArgumentException | rowVid is not a legal row index |
NotSupportedException | Not supported by unconstrained solvers |
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.