Couenne::GlobalCutOff Class Reference

#include <CouenneGlobalCutOff.hpp>

List of all members.

Public Member Functions

 GlobalCutOff ()
 GlobalCutOff (double c, const double *s=NULL, int n=0)
 ~GlobalCutOff ()
void setCutOff (const CouenneProblem *p, double cutoff, const double *s=NULL)
double getCutOff () const
double * getCutOffSol () const

Private Member Functions

 GlobalCutOff (const GlobalCutOff &)

Private Attributes

double cutoff_
 Value of the best solution.
double * sol_
 Best solution.
int size_
 Size of the vector stored in sol (should be var of reformulation).
bool valid_
 Stored solution corresponds to cutoff.


Detailed Description

Definition at line 19 of file CouenneGlobalCutOff.hpp.


Constructor & Destructor Documentation

Couenne::GlobalCutOff::GlobalCutOff ( const GlobalCutOff  )  [private]

Couenne::GlobalCutOff::GlobalCutOff (  ) 

Couenne::GlobalCutOff::GlobalCutOff ( double  c,
const double *  s = NULL,
int  n = 0 
)

Couenne::GlobalCutOff::~GlobalCutOff (  ) 


Member Function Documentation

void Couenne::GlobalCutOff::setCutOff ( const CouenneProblem p,
double  cutoff,
const double *  s = NULL 
)

double Couenne::GlobalCutOff::getCutOff (  )  const [inline]

Definition at line 38 of file CouenneGlobalCutOff.hpp.

References cutoff_.

double* Couenne::GlobalCutOff::getCutOffSol (  )  const [inline]

Definition at line 39 of file CouenneGlobalCutOff.hpp.

References sol_.


Member Data Documentation

double Couenne::GlobalCutOff::cutoff_ [private]

Value of the best solution.

Definition at line 25 of file CouenneGlobalCutOff.hpp.

Referenced by getCutOff().

double* Couenne::GlobalCutOff::sol_ [private]

Best solution.

Definition at line 26 of file CouenneGlobalCutOff.hpp.

Referenced by getCutOffSol().

int Couenne::GlobalCutOff::size_ [private]

Size of the vector stored in sol (should be var of reformulation).

Definition at line 27 of file CouenneGlobalCutOff.hpp.

bool Couenne::GlobalCutOff::valid_ [private]

Stored solution corresponds to cutoff.

Definition at line 28 of file CouenneGlobalCutOff.hpp.


The documentation for this class was generated from the following file:
Generated on Mon Aug 8 03:07:02 2011 for Couenne by  doxygen 1.4.7