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.

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

Definition at line 59 of file cuts.h.

Definition at line 60 of file cuts.h.


The documentation for this class was generated from the following file:

Generated on 10 Mar 2013 for LaGO by  doxygen 1.6.1