SoPlex Documentation
Loading...
Searching...
No Matches
Validation< R > Class Template Reference

#include <validation.h>

Public Member Functions

 Validation ()
 default constructor
 
 ~Validation ()
 default destructor
 
bool updateExternalSolution (const std::string &solution)
 updates the external solution used for validation
 
bool updateValidationTolerance (const std::string &tolerance)
 updates the tolerance used for validation
 
void validateSolveReal (SoPlexBase< R > &soplex)
 validates the soplex solution using the external solution
 

Public Attributes

bool validate
 should the soplex solution be validated?
 
std::string validatesolution
 external solution used for validation
 
validatetolerance
 tolerance used for validation
 

Detailed Description

template<class R>
class soplex::Validation< R >

Definition at line 38 of file validation.h.

Constructor & Destructor Documentation

◆ Validation()

template<class R >
Validation ( )

default constructor

Definition at line 52 of file validation.h.

References Validation< R >::validate, and Validation< R >::validatetolerance.

◆ ~Validation()

template<class R >
~Validation ( )

default destructor

Definition at line 59 of file validation.h.

Referenced by runSoPlex().

Member Function Documentation

◆ updateExternalSolution()

template<class R >
bool updateExternalSolution ( const std::string & solution)

updates the external solution used for validation

Referenced by runSoPlex().

◆ updateValidationTolerance()

template<class R >
bool updateValidationTolerance ( const std::string & tolerance)

updates the tolerance used for validation

Referenced by runSoPlex().

◆ validateSolveReal()

template<class R >
void validateSolveReal ( SoPlexBase< R > & soplex)

validates the soplex solution using the external solution

Referenced by runSoPlex().

Member Data Documentation

◆ validate

template<class R >
bool validate

should the soplex solution be validated?

Definition at line 43 of file validation.h.

Referenced by runSoPlex(), and Validation< R >::Validation().

◆ validatesolution

template<class R >
std::string validatesolution

external solution used for validation

Definition at line 46 of file validation.h.

◆ validatetolerance

template<class R >
R validatetolerance

tolerance used for validation

Definition at line 49 of file validation.h.

Referenced by Validation< R >::Validation().