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.

GlobalCutOff::~GlobalCutOff (  ) 

Definition at line 38 of file CouenneGlobalCutOff.cpp.


Member Function Documentation

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

Definition at line 42 of file CouenneGlobalCutOff.cpp.

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

Definition at line 38 of file CouenneGlobalCutOff.hpp.

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

Definition at line 39 of file CouenneGlobalCutOff.hpp.


Member Data Documentation

Value of the best solution.

Definition at line 25 of file CouenneGlobalCutOff.hpp.

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

Best solution.

Definition at line 26 of file CouenneGlobalCutOff.hpp.

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

Definition at line 27 of file CouenneGlobalCutOff.hpp.

Stored solution corresponds to cutoff.

Definition at line 28 of file CouenneGlobalCutOff.hpp.


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

Generated on 16 Feb 2012 by  doxygen 1.6.1