Share via


ILinearModel.SetBasic Method

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

Sets the basic status for a variable.

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

Syntax

'Declaration
Sub SetBasic ( _
    vid As Integer, _
    fBasic As Boolean _
)
void SetBasic(
    int vid,
    bool fBasic
)
void SetBasic(
    int vid, 
    bool fBasic
)
abstract SetBasic : 
        vid:int * 
        fBasic:bool -> unit 
function SetBasic(
    vid : int, 
    fBasic : boolean
)

Parameters

  • fBasic
    Type: System.Boolean
    true to set the variable to a basic variable; otherwise, false. The default is false.

Remarks

The simplex solver class updates the basic status after attempting to solve a problem.

.NET Framework Security

See Also

Reference

ILinearModel Interface

Microsoft.SolverFoundation.Services Namespace