Var.Get()
Get information value of the variable. Support informations of “Value”, “RedCost”, “LB”, “UB”, and “Obj”.
Synopsis
double Get(string info)
Arguments
info
: information name.Return
information value.
Var.GetBasis()
Get basis status of the variable.
Synopsis
int GetBasis()
Return
Basis status.
Var.GetIdx()
Get index of the variable.
Synopsis
int GetIdx()
Return
variable index.
Var.GetLowerIIS()
Get IIS status for lower bound of the variable.
Synopsis
int GetLowerIIS()
Return
IIS status.
Var.GetName()
Get name of the variable.
Synopsis
string GetName()
Return
variable name.
Var.GetType()
Get type of the variable.
Synopsis
char GetType()
Return
variable type.
Var.GetUpperIIS()
Get IIS status for upper bound of the variable.
Synopsis
int GetUpperIIS()
Return
IIS status.
Var.Remove()
Remove variable from model.
Synopsis
void Remove()
Var.Set()
Set information value of the variable. Support informations of “LB”, “UB” and “Obj”.
Synopsis
void Set(string info, double val)
Arguments
info
: information name.
val
: new information value.
Var.SetName()
Set name of the variable.
Synopsis
void SetName(string name)
Arguments
name
: variable name.
Var.SetType()
Set type of the variable.
Synopsis
void SetType(char vtype)
Arguments
vtype
: variable type.