#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.
CouenneRecordBestSol::CouenneRecordBestSol | ( | ) |
CouenneRecordBestSol::CouenneRecordBestSol | ( | const CouenneRecordBestSol & | other | ) |
Copy constructor.
Definition at line 44 of file CouenneRecordBestSol.cpp.
CouenneRecordBestSol::~CouenneRecordBestSol | ( | ) |
Destructor.
Definition at line 93 of file CouenneRecordBestSol.cpp.
int Couenne::CouenneRecordBestSol::getCardInitDom | ( | ) | const [inline] |
Definition at line 63 of file CouenneRecordBestSol.hpp.
bool* Couenne::CouenneRecordBestSol::getInitIsInt | ( | ) | const [inline] |
Definition at line 64 of file CouenneRecordBestSol.hpp.
std::vector<int> Couenne::CouenneRecordBestSol::getListInt | ( | ) | const [inline] |
Definition at line 65 of file CouenneRecordBestSol.hpp.
void CouenneRecordBestSol::setInitIsInt | ( | const bool * | givenIsInt, | |
const int | givenCard | |||
) |
Definition at line 111 of file CouenneRecordBestSol.cpp.
CouNumber* Couenne::CouenneRecordBestSol::getInitDomLb | ( | ) | const [inline] |
Definition at line 68 of file CouenneRecordBestSol.hpp.
void CouenneRecordBestSol::setInitDomLb | ( | const CouNumber * | givenLb, | |
const int | givenCard | |||
) |
Definition at line 141 of file CouenneRecordBestSol.cpp.
CouNumber* Couenne::CouenneRecordBestSol::getInitDomUb | ( | ) | const [inline] |
Definition at line 70 of file CouenneRecordBestSol.hpp.
void CouenneRecordBestSol::setInitDomUb | ( | const CouNumber * | givenUb, | |
const int | givenCard | |||
) |
Definition at line 163 of file CouenneRecordBestSol.cpp.
void CouenneRecordBestSol::setHasSol | ( | const bool | givenHasSol | ) |
Definition at line 185 of file CouenneRecordBestSol.cpp.
bool Couenne::CouenneRecordBestSol::getHasSol | ( | ) | const [inline] |
Definition at line 74 of file CouenneRecordBestSol.hpp.
void CouenneRecordBestSol::setSol | ( | const double * | givenSol, | |
const int | givenCard, | |||
const double | givenMaxViol | |||
) |
Definition at line 195 of file CouenneRecordBestSol.cpp.
int Couenne::CouenneRecordBestSol::getCardSol | ( | ) | const [inline] |
Definition at line 77 of file CouenneRecordBestSol.hpp.
void CouenneRecordBestSol::setCardSol | ( | const int | givenCard | ) |
Definition at line 190 of file CouenneRecordBestSol.cpp.
double* Couenne::CouenneRecordBestSol::getSol | ( | ) | const [inline] |
Definition at line 79 of file CouenneRecordBestSol.hpp.
double Couenne::CouenneRecordBestSol::getMaxViol | ( | ) | const [inline] |
Definition at line 80 of file CouenneRecordBestSol.hpp.
void CouenneRecordBestSol::setVal | ( | const double | givenVal | ) |
Definition at line 220 of file CouenneRecordBestSol.cpp.
double Couenne::CouenneRecordBestSol::getVal | ( | ) | [inline] |
Definition at line 82 of file CouenneRecordBestSol.hpp.
void CouenneRecordBestSol::update | ( | const double * | givenSol, | |
const int | givenCard, | |||
const double | givenVal, | |||
const double | givenMaxViol | |||
) |
Definition at line 231 of file CouenneRecordBestSol.cpp.
void CouenneRecordBestSol::update | ( | ) |
Definition at line 240 of file CouenneRecordBestSol.cpp.
int 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 | |||
) |
Definition at line 249 of file CouenneRecordBestSol.cpp.
int Couenne::CouenneRecordBestSol::getCardModSol | ( | ) | const [inline] |
Definition at line 105 of file CouenneRecordBestSol.hpp.
double * CouenneRecordBestSol::getModSol | ( | const int | expectedCard | ) |
Definition at line 312 of file CouenneRecordBestSol.cpp.
double Couenne::CouenneRecordBestSol::getModSolVal | ( | ) | const [inline] |
Definition at line 107 of file CouenneRecordBestSol.hpp.
double Couenne::CouenneRecordBestSol::getModSolMaxViol | ( | ) | const [inline] |
Definition at line 108 of file CouenneRecordBestSol.hpp.
void CouenneRecordBestSol::setModSol | ( | const double * | givenModSol, | |
const int | givenModCard, | |||
const double | givenModVal, | |||
const double | givenModMaxViol | |||
) |
Definition at line 327 of file CouenneRecordBestSol.cpp.
void CouenneRecordBestSol::printSol | ( | FILE * | fsol | ) | const |
Definition at line 350 of file CouenneRecordBestSol.cpp.
Definition at line 26 of file CouenneRecordBestSol.hpp.
Definition at line 28 of file CouenneRecordBestSol.hpp.
std::vector<int> Couenne::CouenneRecordBestSol::listInt |
Definition at line 30 of file CouenneRecordBestSol.hpp.
Definition at line 32 of file CouenneRecordBestSol.hpp.
Definition at line 34 of file CouenneRecordBestSol.hpp.
Definition at line 37 of file CouenneRecordBestSol.hpp.
Definition at line 39 of file CouenneRecordBestSol.hpp.
Definition at line 41 of file CouenneRecordBestSol.hpp.
Definition at line 43 of file CouenneRecordBestSol.hpp.
Definition at line 45 of file CouenneRecordBestSol.hpp.
Definition at line 48 of file CouenneRecordBestSol.hpp.
Definition at line 49 of file CouenneRecordBestSol.hpp.
Definition at line 50 of file CouenneRecordBestSol.hpp.
Definition at line 51 of file CouenneRecordBestSol.hpp.