RowVariableModel.SetIntegrality Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Specifies whether a variable is an integer variable.

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

Syntax

'Declaration
Public Overridable Sub SetIntegrality ( _
    vid As Integer, _
    integer As Boolean _
)
public virtual void SetIntegrality(
    int vid,
    bool integer
)
public:
virtual void SetIntegrality(
    int vid, 
    bool integer
)
abstract SetIntegrality : 
        vid:int * 
        integer:bool -> unit 
override SetIntegrality : 
        vid:int * 
        integer:bool -> unit 
public function SetIntegrality(
    vid : int, 
    integer : boolean
)

Parameters

  • integer
    Type: System.Boolean
    true to specify that the variable is an integer variable; otherwise, false.

Implements

IRowVariableModel.SetIntegrality(Int32, Boolean)

.NET Framework Security

See Also

Reference

RowVariableModel Class

Microsoft.SolverFoundation.Services Namespace