Quadratic program solver. More...
#include <shark/Algorithms/QP/QpSolver.h>
Public Member Functions | |
QpSolver (Problem &problem) | |
void | solve (QpStoppingCondition &stop, QpSolutionProperties *prop=NULL) |
Solve the quadratic program. More... | |
Protected Attributes | |
Problem & | m_problem |
Quadratic program solver.
todo: new documentation
Definition at line 403 of file QpSolver.h.
|
inline |
Definition at line 406 of file QpSolver.h.
|
inline |
Solve the quadratic program.
The function iteratively refines the solution by applying the SMO (subset descent) algorithm until one of the stopping criteria is fulfilled.
Definition at line 415 of file QpSolver.h.
References shark::QpStoppingCondition::maxIterations, shark::QpStoppingCondition::maxSeconds, shark::QpStoppingCondition::minAccuracy, shark::Timer::now(), shark::QpAccuracyReached, shark::QpMaxIterationsReached, and shark::QpTimeout.
Referenced by shark::RadiusMarginQuotient< InputType, CacheType >::computeRadiusMargin(), shark::CSvmTrainer< InputType, CacheType >::get_db_dParams(), shark::MissingFeatureSvmTrainer< InputType, CacheType >::setMaxIterations(), shark::BiasSolver< Matrix >::solve(), shark::BiasSolverSimplex< Matrix >::solve(), shark::EpsilonSvmTrainer< InputType, CacheType >::train(), shark::RankingSvmTrainer< InputType, CacheType >::train(), and shark::SquaredHingeCSvmTrainer< InputType, CacheType >::train().
|
protected |
Definition at line 481 of file QpSolver.h.