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

SCIL::var_obj Class Reference

Variable Objects : The base class to derive variable-schema.

#include <var_obj.h>

Inheritance diagram for SCIL::var_obj:
Inheritance graph
[legend]
Collaboration diagram for SCIL::var_obj:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Definition at line 17 of file var_obj.h.


Constructor & Destructor Documentation

SCIL::var_obj::var_obj ( double  obj,
double  lBound,
double  uBound,
Vartype  vt_ 
) [inline]

creates a new instance of a variable-generator and instantiates the fields of the primitive variable.

Definition at line 42 of file var_obj.h.

References lBound_, obj_, uBound_, and vt.


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