shark::QpSolutionProperties Struct Reference

properties of the solution of a quadratic program More...

#include <shark/Algorithms/QP/QuadraticProgram.h>

Public Member Functions

 QpSolutionProperties ()
 

Public Attributes

double accuracy
 typically the maximal KKT violation More...
 
unsigned long long iterations
 number of decomposition iterations More...
 
double value
 value of the objective function More...
 
double seconds
 training time More...
 

Detailed Description

properties of the solution of a quadratic program

The QpSolutionProperties structure collects statistics about the approximate solutions found in a solver run. It reports the reason for the iterative solver to stop, which was set according to the QpStoppingCondition structure. Furthermore it reports the solution accuracy, the number of iterations, time elapsed, and the value of the objective function in the reported solution.

Definition at line 133 of file QuadraticProgram.h.

Constructor & Destructor Documentation

◆ QpSolutionProperties()

shark::QpSolutionProperties::QpSolutionProperties ( )
inline

Definition at line 135 of file QuadraticProgram.h.

References shark::QpNone.

Member Data Documentation

◆ accuracy

double shark::QpSolutionProperties::accuracy

typically the maximal KKT violation

Definition at line 145 of file QuadraticProgram.h.

◆ iterations

unsigned long long shark::QpSolutionProperties::iterations

number of decomposition iterations

Definition at line 146 of file QuadraticProgram.h.

Referenced by main(), shark::BiasSolver< Matrix >::solve(), and shark::BiasSolverSimplex< Matrix >::solve().

◆ seconds

double shark::QpSolutionProperties::seconds

training time

Definition at line 148 of file QuadraticProgram.h.

Referenced by main().

◆ value

double shark::QpSolutionProperties::value

value of the objective function

Definition at line 147 of file QuadraticProgram.h.

Referenced by shark::RadiusMarginQuotient< InputType, CacheType >::computeRadiusMargin(), and main().


The documentation for this struct was generated from the following file: