#include <validation.h>
Public Member Functions | |
Validation () | |
default constructor More... | |
~Validation () | |
default destructor More... | |
bool | updateExternalSolution (char *solution) |
updates the external solution used for validation More... | |
bool | updateValidationTolerance (char *tolerance) |
updates the tolerance used for validation More... | |
void | validateSolveReal (SoPlex &soplex) |
validates the soplex solution using the external solution More... | |
Public Attributes | |
bool | validate |
should the soplex solution be validated? More... | |
char * | validatesolution |
external solution used for validation More... | |
double | validatetolerance |
tolerance used for validation More... | |
Definition at line 28 of file validation.h.
Validation | ( | ) |
default constructor
Definition at line 42 of file validation.h.
~Validation | ( | ) |
default destructor
Definition at line 50 of file validation.h.
References Validation::updateExternalSolution(), Validation::updateValidationTolerance(), and Validation::validateSolveReal().
Referenced by main().
bool updateExternalSolution | ( | char * | solution | ) |
updates the external solution used for validation
Definition at line 26 of file validation.cpp.
References Validation::validate, and Validation::validatesolution.
Referenced by main(), and Validation::~Validation().
bool updateValidationTolerance | ( | char * | tolerance | ) |
updates the tolerance used for validation
Definition at line 53 of file validation.cpp.
References Validation::validatetolerance.
Referenced by main(), and Validation::~Validation().
void validateSolveReal | ( | SoPlex & | soplex | ) |
validates the soplex solution using the external solution
Definition at line 70 of file validation.cpp.
References soplex::EQ(), SoPlex::getBoundViolationReal(), SoPlex::getDualViolationReal(), SoPlex::getRedCostViolationReal(), SoPlex::getRowViolationReal(), SPxOut::getStream(), SPxOut::INFO1, SPxSolver::INForUNBD, SoPlex::INFTY, soplex::LE(), SoPlex::objValueReal(), SPxSolver::OPTIMAL, SoPlex::realParam(), soplex::spxAbs(), SoPlex::spxout, SoPlex::status(), Validation::validatesolution, and Validation::validatetolerance.
Referenced by main(), and Validation::~Validation().
bool validate |
should the soplex solution be validated?
Definition at line 33 of file validation.h.
Referenced by main(), and Validation::updateExternalSolution().
char* validatesolution |
external solution used for validation
Definition at line 36 of file validation.h.
Referenced by Validation::updateExternalSolution(), and Validation::validateSolveReal().
double validatetolerance |
tolerance used for validation
Definition at line 39 of file validation.h.
Referenced by Validation::updateValidationTolerance(), and Validation::validateSolveReal().