class forms the virtual base class for all possible variables given in pool format.
#include <aba_variable.h>
Public Member Functions | |
ABA_Variable (subproblem &S_, var_obj *, Activation, Validity, double obj, double lBound, double uBound, Vartype) | |
The constructor. | |
ABA_Variable (ILP_Problem &IP_, var_obj *, Activation, Validity, double obj, double lBound, double uBound, Vartype) | |
The constructor. | |
virtual int | genColumn (Active_Inequalities *ai, Column &col) |
virtual double | coeff (ABA_CONSTRAINT *c) |
var_obj * | SVar () |
Friends | |
class | ILP_Problem |
class | subproblem |
Definition at line 12 of file aba_variable.h.
double ABA_Variable::coeff | ( | ABA_CONSTRAINT * | c | ) | [virtual] |
Computes the coefficient of the variable in the constraint c. Per default the coefficient of a variable is computed indirectly via the coefficient of a constraint. Problem specific redefinitions might be required.
c | The constraint of which the coefficient should be computed. |
Definition at line 42 of file aba_variable.cc.
References SCIL::var_obj::coeff().
int ABA_Variable::genColumn | ( | Active_Inequalities * | ai, | |
Column & | col | |||
) | [virtual] |
Computes the column col of the variable associated with the active constraints *ai.
ai | The constraints for which the column of the variable should be computed. | |
col | Stores the column when the function terminates. |
Definition at line 51 of file aba_variable.cc.
References SCIL::var_obj::genColumn().