UnconstrainedNonlinearModel.INonlinearModel.IsActiveVariable Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Determines whether a variable is active in a specific row
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Private Function IsActiveVariable ( _
rowVid As Integer, _
varVid As Integer _
) As Boolean Implements INonlinearModel.IsActiveVariable
bool INonlinearModel.IsActiveVariable(
int rowVid,
int varVid
)
private:
virtual bool IsActiveVariable(
int rowVid,
int varVid
) sealed = INonlinearModel::IsActiveVariable
private abstract IsActiveVariable :
rowVid:int *
varVid:int -> bool
private override IsActiveVariable :
rowVid:int *
varVid:int -> bool
JScript does not support explicit interface implementations.
Parameters
- rowVid
Type: System.Int32
the row index
- varVid
Type: System.Int32
the variable index
Return Value
Type: System.Boolean
true if variable is active, otherwise false
Implements
INonlinearModel.IsActiveVariable(Int32, Int32)
Exceptions
Exception | Condition |
---|---|
ArgumentException | rowVid is not a legal row index, or varVid is not a legal variable index |
NotSupportedException | Not supported by unconstrained solvers |
Remarks
Not supported by unconstrained solvers
.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.