Couenne  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Couenne::GlobalCutOff Class Reference

#include <CouenneGlobalCutOff.hpp>

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. More...
 
double * sol_
 Best solution. More...
 
int size_
 Size of the vector stored in sol (should be #var of reformulation) More...
 
bool valid_
 Stored solution corresponds to cutoff. More...
 

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: