Main Page   Class Hierarchy   Compound List   File List   Contact   Download   Symbolic Constraints   Examples  

SCIL::ABA_Variable Class Reference

class forms the virtual base class for all possible variables given in pool format.

#include <aba_variable.h>

Collaboration diagram for SCIL::ABA_Variable:
Collaboration graph
[legend]

List of all members.

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_objSVar ()

Friends

class ILP_Problem
class subproblem

Detailed Description

Definition at line 12 of file aba_variable.h.


Member Function Documentation

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.

Returns:
The coefficient of the variable in the constraint c.
Parameters:
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.

Note:
The upper and lower bound of the column are initialized with the global upper and lower bound of the variable. Therefore, an adaption with the local bounds might be required.
Returns:
The number of nonzero entries in col.
Parameters:
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().


The documentation for this class was generated from the following files:
Generated on Mon Mar 28 22:03:53 2011 for SCIL by  doxygen 1.6.3