IRowVariableModel.SetIntegrality Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Specifies that a variable is an integer variable.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Sub SetIntegrality ( _
vid As Integer, _
integer As Boolean _
)
void SetIntegrality(
int vid,
bool integer
)
void SetIntegrality(
int vid,
bool integer
)
abstract SetIntegrality :
vid:int *
integer:bool -> unit
function SetIntegrality(
vid : int,
integer : boolean
)
Parameters
- vid
Type: System.Int32
The variable index.
- integer
Type: System.Boolean
true to specify that the variable is an integer variable; otherwise, false.
.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.