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]

GlobalCutOff::GlobalCutOff (  ) 

Definition at line 19 of file CouenneGlobalCutOff.cpp.

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

Definition at line 25 of file CouenneGlobalCutOff.cpp.

References size_, sol_, and valid_.

GlobalCutOff::~GlobalCutOff (  ) 

Definition at line 38 of file CouenneGlobalCutOff.cpp.

References sol_.


Member Function Documentation

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

Definition at line 42 of file CouenneGlobalCutOff.cpp.

References cutoff_, size_, sol_, and valid_.

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(), and setCutOff().

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

Best solution.

Definition at line 26 of file CouenneGlobalCutOff.hpp.

Referenced by getCutOffSol(), GlobalCutOff(), setCutOff(), and ~GlobalCutOff().

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.

Referenced by GlobalCutOff(), and setCutOff().

bool Couenne::GlobalCutOff::valid_ [private]

Stored solution corresponds to cutoff.

Definition at line 28 of file CouenneGlobalCutOff.hpp.

Referenced by GlobalCutOff(), and setCutOff().


The documentation for this class was generated from the following files:
Generated on Wed Nov 30 03:13:29 2011 by  doxygen 1.4.7