SimpleCut Class Reference

#include <cuts.h>

Inheritance diagram for SimpleCut:

Inheritance graph
[legend]
Collaboration diagram for SimpleCut:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SimpleCut ()
 SimpleCut (const Pointer< UserVector< double > > &coeff_, double constant_)
bool feasible (const dvector &x, double tol) const
void scale (double max_coeff=100.)
 Scales the coefficients (and constant) of the generates cut such that the inf norm of the coefficients does not exceed max_coeff.

Public Attributes

Pointer< UserVector< double > > coeff
double constant

Friends

ostream & operator<< (ostream &out, const SimpleCut &cut)

Detailed Description

Definition at line 56 of file cuts.h.


Constructor & Destructor Documentation

SimpleCut::SimpleCut (  )  [inline]

Definition at line 62 of file cuts.h.

SimpleCut::SimpleCut ( const Pointer< UserVector< double > > &  coeff_,
double  constant_ 
) [inline]

Definition at line 66 of file cuts.h.


Member Function Documentation

bool SimpleCut::feasible ( const dvector x,
double  tol 
) const [inline]

Definition at line 70 of file cuts.h.

References coeff, and constant.

void SimpleCut::scale ( double  max_coeff = 100.  ) 

Scales the coefficients (and constant) of the generates cut such that the inf norm of the coefficients does not exceed max_coeff.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
const SimpleCut cut 
) [friend]


Member Data Documentation

Pointer<UserVector<double> > SimpleCut::coeff

Definition at line 59 of file cuts.h.

Referenced by feasible().

double SimpleCut::constant

Definition at line 60 of file cuts.h.

Referenced by feasible().


The documentation for this class was generated from the following file:
Generated on Mon Oct 20 03:12:49 2008 for LaGO by  doxygen 1.4.7