#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. | |
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. |
Definition at line 19 of file CouenneGlobalCutOff.hpp.
Couenne::GlobalCutOff::GlobalCutOff | ( | const GlobalCutOff & | ) | [private] |
Couenne::GlobalCutOff::GlobalCutOff | ( | ) |
Couenne::GlobalCutOff::GlobalCutOff | ( | double | c, | |
const double * | s = NULL , |
|||
int | n = 0 | |||
) |
Couenne::GlobalCutOff::~GlobalCutOff | ( | ) |
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_.
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] |
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.