#include <CouenneRecordBestSol.hpp>
Public Member Functions | |
CouenneRecordBestSol () | |
Constructor. | |
CouenneRecordBestSol (const CouenneRecordBestSol &other) | |
Copy constructor. | |
~CouenneRecordBestSol () | |
Destructor. | |
int | getCardInitDom () const |
bool * | getInitIsInt () const |
std::vector< int > | getListInt () const |
void | setInitIsInt (const bool *givenIsInt, const int givenCard) |
CouNumber * | getInitDomLb () const |
void | setInitDomLb (const CouNumber *givenLb, const int givenCard) |
CouNumber * | getInitDomUb () const |
void | setInitDomUb (const CouNumber *givenUb, const int givenCard) |
void | setHasSol (const bool givenHasSol) |
bool | getHasSol () const |
void | setSol (const double *givenSol, const int givenCard, const double givenMaxViol) |
int | getCardSol () const |
void | setCardSol (const int givenCard) |
double * | getSol () const |
double | getMaxViol () const |
void | setVal (const double givenVal) |
double | getVal () |
void | update (const double *givenSol, const int givenCard, const double givenVal, const double givenMaxViol) |
void | update () |
int | compareAndSave (const double *solA, const double solAVal, const double solAMaxViol, const bool solAIsFeas, const double *solB, const double solBVal, const double solBMaxViol, const bool solBIsFeas, const int cardSol, const double precision) |
int | getCardModSol () const |
double * | getModSol (const int expectedCard) |
double | getModSolVal () const |
double | getModSolMaxViol () const |
void | setModSol (const double *givenModSol, const int givenModCard, const double givenModVal, const double givenModMaxViol) |
void | printSol (FILE *fsol) const |
Public Attributes | |
int | cardInitDom |
bool * | initIsInt |
std::vector< int > | listInt |
CouNumber * | initDomLb |
CouNumber * | initDomUb |
bool | hasSol |
int | cardSol |
double * | sol |
double | val |
double | maxViol |
int | cardModSol |
double * | modSol |
double | modSolVal |
double | modSolMaxViol |
Definition at line 21 of file CouenneRecordBestSol.hpp.
Couenne::CouenneRecordBestSol::CouenneRecordBestSol | ( | ) |
Constructor.
Couenne::CouenneRecordBestSol::CouenneRecordBestSol | ( | const CouenneRecordBestSol & | other | ) |
Copy constructor.
Couenne::CouenneRecordBestSol::~CouenneRecordBestSol | ( | ) |
Destructor.
int Couenne::CouenneRecordBestSol::getCardInitDom | ( | ) | const [inline] |
bool* Couenne::CouenneRecordBestSol::getInitIsInt | ( | ) | const [inline] |
std::vector<int> Couenne::CouenneRecordBestSol::getListInt | ( | ) | const [inline] |
void Couenne::CouenneRecordBestSol::setInitIsInt | ( | const bool * | givenIsInt, | |
const int | givenCard | |||
) |
CouNumber* Couenne::CouenneRecordBestSol::getInitDomLb | ( | ) | const [inline] |
void Couenne::CouenneRecordBestSol::setInitDomLb | ( | const CouNumber * | givenLb, | |
const int | givenCard | |||
) |
CouNumber* Couenne::CouenneRecordBestSol::getInitDomUb | ( | ) | const [inline] |
void Couenne::CouenneRecordBestSol::setInitDomUb | ( | const CouNumber * | givenUb, | |
const int | givenCard | |||
) |
void Couenne::CouenneRecordBestSol::setHasSol | ( | const bool | givenHasSol | ) |
bool Couenne::CouenneRecordBestSol::getHasSol | ( | ) | const [inline] |
void Couenne::CouenneRecordBestSol::setSol | ( | const double * | givenSol, | |
const int | givenCard, | |||
const double | givenMaxViol | |||
) |
int Couenne::CouenneRecordBestSol::getCardSol | ( | ) | const [inline] |
void Couenne::CouenneRecordBestSol::setCardSol | ( | const int | givenCard | ) |
double* Couenne::CouenneRecordBestSol::getSol | ( | ) | const [inline] |
double Couenne::CouenneRecordBestSol::getMaxViol | ( | ) | const [inline] |
void Couenne::CouenneRecordBestSol::setVal | ( | const double | givenVal | ) |
double Couenne::CouenneRecordBestSol::getVal | ( | ) | [inline] |
void Couenne::CouenneRecordBestSol::update | ( | const double * | givenSol, | |
const int | givenCard, | |||
const double | givenVal, | |||
const double | givenMaxViol | |||
) |
void Couenne::CouenneRecordBestSol::update | ( | ) |
int Couenne::CouenneRecordBestSol::compareAndSave | ( | const double * | solA, | |
const double | solAVal, | |||
const double | solAMaxViol, | |||
const bool | solAIsFeas, | |||
const double * | solB, | |||
const double | solBVal, | |||
const double | solBMaxViol, | |||
const bool | solBIsFeas, | |||
const int | cardSol, | |||
const double | precision | |||
) |
int Couenne::CouenneRecordBestSol::getCardModSol | ( | ) | const [inline] |
double* Couenne::CouenneRecordBestSol::getModSol | ( | const int | expectedCard | ) |
double Couenne::CouenneRecordBestSol::getModSolVal | ( | ) | const [inline] |
double Couenne::CouenneRecordBestSol::getModSolMaxViol | ( | ) | const [inline] |
void Couenne::CouenneRecordBestSol::setModSol | ( | const double * | givenModSol, | |
const int | givenModCard, | |||
const double | givenModVal, | |||
const double | givenModMaxViol | |||
) |
void Couenne::CouenneRecordBestSol::printSol | ( | FILE * | fsol | ) | const |
std::vector<int> Couenne::CouenneRecordBestSol::listInt |
Definition at line 49 of file CouenneRecordBestSol.hpp.