DotNet Reference

DotNet Reference

Variable

Detailed Description

Definition at line 13 of file Variable.cs.

Public Member Functions

void Dispose ()
 
string Name ()
 
void SetInteger (bool integer)
 
double SolutionValue ()
 
double Lb ()
 
double Ub ()
 
void SetLb (double lb)
 
void SetUb (double ub)
 
void SetBounds (double lb, double ub)
 
double ReducedCost ()
 
Solver.BasisStatus BasisStatus ()
 

Static Public Member Functions

static LinearExpr operator+ (Variable a, double v)
 
static LinearExpr operator+ (double v, Variable a)
 
static LinearExpr operator+ (Variable a, LinearExpr b)
 
static LinearExpr operator+ (Variable a, Variable b)
 
static LinearExpr operator+ (LinearExpr a, Variable b)
 
static LinearExpr operator- (Variable a, double v)
 
static LinearExpr operator- (double v, Variable a)
 
static LinearExpr operator- (Variable a, LinearExpr b)
 
static LinearExpr operator- (LinearExpr a, Variable b)
 
static LinearExpr operator- (Variable a, Variable b)
 
static LinearExpr operator- (Variable a)
 
static LinearExpr operator* (Variable a, double v)
 
static LinearExpr operator/ (Variable a, double v)
 
static LinearExpr operator* (double v, Variable a)
 
static RangeConstraint operator== (Variable a, double v)
 
static RangeConstraint operator== (double v, Variable a)
 
static RangeConstraint operator!= (Variable a, double v)
 
static RangeConstraint operator!= (double v, Variable a)
 
static Equality operator== (Variable a, LinearExpr b)
 
static Equality operator== (LinearExpr a, Variable b)
 
static VarEquality operator== (Variable a, Variable b)
 
static Equality operator!= (Variable a, LinearExpr b)
 
static Equality operator!= (LinearExpr a, Variable b)
 
static VarEquality operator!= (Variable a, Variable b)
 
static RangeConstraint operator<= (Variable a, double v)
 
static RangeConstraint operator>= (Variable a, double v)
 
static RangeConstraint operator<= (double v, Variable a)
 
static RangeConstraint operator>= (double v, Variable a)
 
static RangeConstraint operator<= (Variable a, LinearExpr b)
 
static RangeConstraint operator>= (Variable a, LinearExpr b)
 
static RangeConstraint operator<= (Variable a, Variable b)
 
static RangeConstraint operator>= (Variable a, Variable b)
 
static RangeConstraint operator<= (LinearExpr a, Variable b)
 
static RangeConstraint operator>= (LinearExpr a, Variable b)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Member Function Documentation

◆ BasisStatus()

Solver.BasisStatus BasisStatus ( )
inline

Definition at line 88 of file Variable.cs.

◆ Dispose() [1/2]

void Dispose ( )
inline

Definition at line 30 of file Variable.cs.

◆ Dispose() [2/2]

virtual void Dispose ( bool  disposing)
inlineprotectedvirtual

Definition at line 35 of file Variable.cs.

◆ Lb()

double Lb ( )
inline

Definition at line 61 of file Variable.cs.

◆ Name()

string Name ( )
inline

Definition at line 47 of file Variable.cs.

◆ operator!=() [1/5]

static RangeConstraint operator!= ( double  v,
Variable  a 
)
inlinestatic

Definition at line 105 of file VariableHelper.cs.

◆ operator!=() [2/5]

static Equality operator!= ( LinearExpr  a,
Variable  b 
)
inlinestatic

Definition at line 130 of file VariableHelper.cs.

◆ operator!=() [3/5]

static RangeConstraint operator!= ( Variable  a,
double  v 
)
inlinestatic

Definition at line 100 of file VariableHelper.cs.

◆ operator!=() [4/5]

static Equality operator!= ( Variable  a,
LinearExpr  b 
)
inlinestatic

Definition at line 125 of file VariableHelper.cs.

◆ operator!=() [5/5]

static VarEquality operator!= ( Variable  a,
Variable  b 
)
inlinestatic

Definition at line 135 of file VariableHelper.cs.

◆ operator*() [1/2]

static LinearExpr operator* ( double  v,
Variable  a 
)
inlinestatic

Definition at line 85 of file VariableHelper.cs.

◆ operator*() [2/2]

static LinearExpr operator* ( Variable  a,
double  v 
)
inlinestatic

Definition at line 75 of file VariableHelper.cs.

◆ operator+() [1/5]

static LinearExpr operator+ ( double  v,
Variable  a 
)
inlinestatic

Definition at line 25 of file VariableHelper.cs.

◆ operator+() [2/5]

static LinearExpr operator+ ( LinearExpr  a,
Variable  b 
)
inlinestatic

Definition at line 40 of file VariableHelper.cs.

◆ operator+() [3/5]

static LinearExpr operator+ ( Variable  a,
double  v 
)
inlinestatic

Definition at line 20 of file VariableHelper.cs.

◆ operator+() [4/5]

static LinearExpr operator+ ( Variable  a,
LinearExpr  b 
)
inlinestatic

Definition at line 30 of file VariableHelper.cs.

◆ operator+() [5/5]

static LinearExpr operator+ ( Variable  a,
Variable  b 
)
inlinestatic

Definition at line 35 of file VariableHelper.cs.

◆ operator-() [1/6]

static LinearExpr operator- ( double  v,
Variable  a 
)
inlinestatic

Definition at line 50 of file VariableHelper.cs.

◆ operator-() [2/6]

static LinearExpr operator- ( LinearExpr  a,
Variable  b 
)
inlinestatic

Definition at line 60 of file VariableHelper.cs.

◆ operator-() [3/6]

static LinearExpr operator- ( Variable  a)
inlinestatic

Definition at line 70 of file VariableHelper.cs.

◆ operator-() [4/6]

static LinearExpr operator- ( Variable  a,
double  v 
)
inlinestatic

Definition at line 45 of file VariableHelper.cs.

◆ operator-() [5/6]

static LinearExpr operator- ( Variable  a,
LinearExpr  b 
)
inlinestatic

Definition at line 55 of file VariableHelper.cs.

◆ operator-() [6/6]

static LinearExpr operator- ( Variable  a,
Variable  b 
)
inlinestatic

Definition at line 65 of file VariableHelper.cs.

◆ operator/()

static LinearExpr operator/ ( Variable  a,
double  v 
)
inlinestatic

Definition at line 80 of file VariableHelper.cs.

◆ operator<=() [1/5]

static RangeConstraint operator<= ( double  v,
Variable  a 
)
inlinestatic

Definition at line 150 of file VariableHelper.cs.

◆ operator<=() [2/5]

static RangeConstraint operator<= ( LinearExpr  a,
Variable  b 
)
inlinestatic

Definition at line 180 of file VariableHelper.cs.

◆ operator<=() [3/5]

static RangeConstraint operator<= ( Variable  a,
double  v 
)
inlinestatic

Definition at line 140 of file VariableHelper.cs.

◆ operator<=() [4/5]

static RangeConstraint operator<= ( Variable  a,
LinearExpr  b 
)
inlinestatic

Definition at line 160 of file VariableHelper.cs.

◆ operator<=() [5/5]

static RangeConstraint operator<= ( Variable  a,
Variable  b 
)
inlinestatic

Definition at line 170 of file VariableHelper.cs.

◆ operator==() [1/5]

static RangeConstraint operator== ( double  v,
Variable  a 
)
inlinestatic

Definition at line 95 of file VariableHelper.cs.

◆ operator==() [2/5]

static Equality operator== ( LinearExpr  a,
Variable  b 
)
inlinestatic

Definition at line 115 of file VariableHelper.cs.

◆ operator==() [3/5]

static RangeConstraint operator== ( Variable  a,
double  v 
)
inlinestatic

Definition at line 90 of file VariableHelper.cs.

◆ operator==() [4/5]

static Equality operator== ( Variable  a,
LinearExpr  b 
)
inlinestatic

Definition at line 110 of file VariableHelper.cs.

◆ operator==() [5/5]

static VarEquality operator== ( Variable  a,
Variable  b 
)
inlinestatic

Definition at line 120 of file VariableHelper.cs.

◆ operator>=() [1/5]

static RangeConstraint operator>= ( double  v,
Variable  a 
)
inlinestatic

Definition at line 155 of file VariableHelper.cs.

◆ operator>=() [2/5]

static RangeConstraint operator>= ( LinearExpr  a,
Variable  b 
)
inlinestatic

Definition at line 185 of file VariableHelper.cs.

◆ operator>=() [3/5]

static RangeConstraint operator>= ( Variable  a,
double  v 
)
inlinestatic

Definition at line 145 of file VariableHelper.cs.

◆ operator>=() [4/5]

static RangeConstraint operator>= ( Variable  a,
LinearExpr  b 
)
inlinestatic

Definition at line 165 of file VariableHelper.cs.

◆ operator>=() [5/5]

static RangeConstraint operator>= ( Variable  a,
Variable  b 
)
inlinestatic

Definition at line 175 of file VariableHelper.cs.

◆ ReducedCost()

double ReducedCost ( )
inline

Definition at line 83 of file Variable.cs.

◆ SetBounds()

void SetBounds ( double  lb,
double  ub 
)
inline

Definition at line 79 of file Variable.cs.

◆ SetInteger()

void SetInteger ( bool  integer)
inline

Definition at line 52 of file Variable.cs.

◆ SetLb()

void SetLb ( double  lb)
inline

Definition at line 71 of file Variable.cs.

◆ SetUb()

void SetUb ( double  ub)
inline

Definition at line 75 of file Variable.cs.

◆ SolutionValue()

double SolutionValue ( )
inline

Definition at line 56 of file Variable.cs.

◆ Ub()

double Ub ( )
inline

Definition at line 66 of file Variable.cs.

Member Data Documentation

◆ swigCMemOwn

bool swigCMemOwn
protected

Definition at line 15 of file Variable.cs.


The documentation for this class was generated from the following files: