#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 27 of file validation.h.
| Validation | ( | ) |
default constructor
Definition at line 41 of file validation.h.
| ~Validation | ( | ) |
default destructor
Definition at line 49 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 25 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 49 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 63 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 32 of file validation.h.
Referenced by main(), and Validation::updateExternalSolution().
| char* validatesolution |
external solution used for validation
Definition at line 35 of file validation.h.
Referenced by Validation::updateExternalSolution(), and Validation::validateSolveReal().
| double validatetolerance |
tolerance used for validation
Definition at line 38 of file validation.h.
Referenced by Validation::updateValidationTolerance(), and Validation::validateSolveReal().