Share via


NonlinearModel.SparseMatrix.GetActiveVariables Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the active variables in a row.

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

Syntax

'Declaration
Public Function GetActiveVariables ( _
    rowVid As Integer _
) As IEnumerable(Of Integer)
public IEnumerable<int> GetActiveVariables(
    int rowVid
)
public:
IEnumerable<int>^ GetActiveVariables(
    int rowVid
)
member GetActiveVariables : 
        rowVid:int -> IEnumerable<int> 
public function GetActiveVariables(
    rowVid : int
) : IEnumerable<int>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<Int32>
An enumeration of the active variables in rowVid.

Exceptions

Exception Condition
ArgumentException

rowVid is not a valid row index.

.NET Framework Security

See Also

Reference

NonlinearModel.SparseMatrix Class

Microsoft.SolverFoundation.Services Namespace