Variable Objects : The base class to derive variable-schema.
#include <var_obj.h>
Public Member Functions | |
var_obj (double obj, double lBound, double uBound, Vartype vt_) | |
virtual | ~var_obj () |
destructor. | |
var_item | index () |
returns the index of the variable. | |
void | init (subproblem &S, int nr, Activation a) |
void | init (ILP_Problem &IP, int nr, Activation a) |
virtual double | upper_bound () |
returns the upper bound of the variable. | |
virtual double | lower_bound () |
returns the lower bound of the variable. | |
virtual double | coeff (cons_obj *) |
returns the coefficient for an basic constraint. | |
virtual double | obj () |
returns the objective function value. | |
virtual Vartype | type () |
returns the type of the variable. | |
void | set (cons_obj *i, double d) |
ABA_Variable * | AVar () |
virtual double | coeff (ABA_CONSTRAINT *i) |
virtual void | non_zero_entries (column &col) |
returns the non-zero entires of the variable. | |
virtual int | genColumn (Active_Inequalities *ai, Column &col) |
computes the column col of the variable associated with *ai . | |
Public Attributes | |
int | vi |
index of the variable. | |
double | obj_ |
the objective function coefficient of the variable. | |
double | uBound_ |
the upper bound of the variable. | |
double | lBound_ |
the lower bound of the variable. | |
Vartype | vt |
the type of the variable. | |
Friends | |
class | ILP_Problem |
class | subproblem |
Definition at line 17 of file var_obj.h.
SCIL::var_obj::var_obj | ( | double | obj, | |
double | lBound, | |||
double | uBound, | |||
Vartype | vt_ | |||
) | [inline] |