LinearModel.SetIntegrality Method

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
Public Overridable Sub SetIntegrality ( _
    vid As Integer, _
    fInteger As Boolean _
)
public virtual void SetIntegrality(
    int vid,
    bool fInteger
)
public:
virtual void SetIntegrality(
    int vid, 
    bool fInteger
)
abstract SetIntegrality : 
        vid:int * 
        fInteger:bool -> unit 
override SetIntegrality : 
        vid:int * 
        fInteger:bool -> unit 
public function SetIntegrality(
    vid : int, 
    fInteger : boolean
)

Parameters

  • fInteger
    Type: System.Boolean
    true to mark a variable as an integer variable; otherwise, false. The default is false.

Implements

ILinearModel.SetIntegrality(Int32, Boolean)

.NET Framework Security

See Also

Reference

LinearModel Class

LinearModel Members

Microsoft.SolverFoundation.Services Namespace