Scippy

SoPlex

Sequential object-oriented simPlex

Validation Class Reference

#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...
 

Detailed Description

Definition at line 28 of file validation.h.

Constructor & Destructor Documentation

◆ Validation()

default constructor

Definition at line 42 of file validation.h.

◆ ~Validation()

~Validation ( )

default destructor

Definition at line 50 of file validation.h.

References Validation::updateExternalSolution(), Validation::updateValidationTolerance(), and Validation::validateSolveReal().

Referenced by main().

Member Function Documentation

◆ updateExternalSolution()

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().

◆ updateValidationTolerance()

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().

◆ validateSolveReal()

Member Data Documentation

◆ validate

bool validate

should the soplex solution be validated?

Definition at line 33 of file validation.h.

Referenced by main(), and Validation::updateExternalSolution().

◆ validatesolution

char* validatesolution

external solution used for validation

Definition at line 36 of file validation.h.

Referenced by Validation::updateExternalSolution(), and Validation::validateSolveReal().

◆ validatetolerance

double validatetolerance

tolerance used for validation

Definition at line 39 of file validation.h.

Referenced by Validation::updateValidationTolerance(), and Validation::validateSolveReal().