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

SCIL::cons_obj Class Reference

#include <cons_obj.h>

List of all members.

Public Methods

 cons_obj (cons_sense s, double rhs)
 cons_obj ()
bool violated (subproblem &S)
virtual void non_zero_entries (row &r)


Detailed Description

Basic Constraints : Base Class to define constraint-schema

Definition at line 19 of file cons_obj.h.


Constructor & Destructor Documentation

SCIL::cons_obj::cons_obj cons_sense    s,
double    rhs
 

creates a new instance of a varible-schema and instanciates the the basic fields of the basic constraint.

Definition at line 10 of file core-abacus/cons_obj.cc.

SCIL::cons_obj::cons_obj  
 

creates a new instance of a varible-schema and instanciates the the basic fields with the default values.

Definition at line 17 of file core-abacus/cons_obj.cc.


Member Function Documentation

virtual void SCIL::cons_obj::non_zero_entries row   r [inline, virtual]
 

returns the non-zero entries of the basic constraint. the default implementation returns no non-zeros. A user defined constraint-schema should redefine this function.

Definition at line 76 of file cons_obj.h.

Referenced by violated().

bool cons_obj::violated subproblem   S
 

returns true if if the basic constraint is violated for the LP-solution of the subproblem s.

Definition at line 79 of file core-abacus/cons_obj.cc.

References non_zero_entries(), and SCIL::subproblem::value().


The documentation for this class was generated from the following files:
Generated on Tue Nov 16 15:18:26 2004 for SCIL by doxygen1.2.16