UnconstrainedNonlinearModel.IRowVariableModel.GetIntegrality Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Checks if a variable is an integer variable
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Private Function GetIntegrality ( _
vid As Integer _
) As Boolean Implements IRowVariableModel.GetIntegrality
bool IRowVariableModel.GetIntegrality(
int vid
)
private:
virtual bool GetIntegrality(
int vid
) sealed = IRowVariableModel::GetIntegrality
private abstract GetIntegrality :
vid:int -> bool
private override GetIntegrality :
vid:int -> bool
JScript does not support explicit interface implementations.
Parameters
- vid
Type: System.Int32
a variable index
Return Value
Type: System.Boolean
true if this variable is an integer variable. Otherwise false.
Implements
IRowVariableModel.GetIntegrality(Int32)
.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.