LinearModel.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
Public Overridable Sub SetBasic ( _
    vid As Integer, _
    fBasic As Boolean _
)
public virtual void SetBasic(
    int vid,
    bool fBasic
)
public:
virtual void SetBasic(
    int vid, 
    bool fBasic
)
abstract SetBasic : 
        vid:int * 
        fBasic:bool -> unit 
override SetBasic : 
        vid:int * 
        fBasic:bool -> unit 
public 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.

Implements

ILinearModel.SetBasic(Int32, Boolean)

Remarks

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

.NET Framework Security

See Also

Reference

LinearModel Class

Microsoft.SolverFoundation.Services Namespace