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