LinearModel.GetIntegrality Method
Returns a value that indicates whether a variable is an integer variable.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Overridable Function GetIntegrality ( _
vid As Integer _
) As Boolean
public virtual bool GetIntegrality(
int vid
)
public:
virtual bool GetIntegrality(
int vid
)
abstract GetIntegrality :
vid:int -> bool
override GetIntegrality :
vid:int -> bool
public function GetIntegrality(
vid : int
) : boolean
Parameters
- vid
Type: System.Int32
A variable index.
Return Value
Type: System.Boolean
true if the variable is an integer variable; otherwise, false.
Implements
ILinearModel.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.
See Also
Reference
LinearModel Members