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
- vid
Type: System.Int32
The index of the variable.
- 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
- 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.