Definition at line 33 of file solver.h.
#include <solver.h>
|
ReturnStatus | solve (QPVector &primal, QPMatrix &H, const QPVector &h, const QPMatrix &A, const QPVector &Alb, const QPVector &Aub) |
|
ReturnStatus | solve (QPVector &primal, QPMatrix &H, const QPVector &h, const QPVector &lb, const QPVector &ub, const QPMatrix &A, const QPVector &Alb, const QPVector &Aub) |
|
ReturnStatus | solve (QPVector &primal, QPMatrix &H, const QPVector &h, const QPVector &lb, const QPVector &ub) |
|
ReturnStatus | solve (QPVector &primal, QPMatrix &H, const QPVector &h, const QPVector &lb, const QPVector &ub, const QPMatrix &A, const QPVector &Alb, const QPVector &Aub, const SolverParameters ¶m) |
|
|
template<class t_MatrixType , class t_VectorType > |
void | parseObjective (const t_MatrixType &H, const t_VectorType &h) |
|
template<class t_VectorTypelb , class t_VectorTypeub > |
void | parseSimpleBounds (const t_VectorTypelb &lb, const t_VectorTypeub &ub) |
|
template<class t_MatrixTypeA , class t_VectorTypelb , class t_VectorTypeub > |
void | parseGeneralConstraints (const t_MatrixTypeA &A, const t_VectorTypelb &lb, const t_VectorTypeub &ub) |
|
|
template<class t_MatrixType > |
void | initializeMachineryLazy (const t_MatrixType &H) |
|
void | chooseConstraint (const QPVector &primal, const QPVector &lb, const QPVector &ub, const QPMatrix &A, const QPVector &Alb, const QPVector &Aub, const double tolerance) |
|
void | checkConstraintViolation (const MatrixIndex i, const double lb_i, const double ub_i, const double ctr_i_dot_primal) |
|
template<class t_VectorType , class t_MatrixType > |
double | getConstraintDotPrimalStepDirection (const t_VectorType &primal_step_direction, const t_MatrixType &A) const |
|
◆ ReturnStatus
Enumerator |
---|
OK | |
INCONSISTENT | |
INFEASIBLE_EQUALITY | |
INFEASIBLE_INEQUALITY | |
MAXIMAL_NUMBER_OF_ITERATIONS | |
Definition at line 36 of file solver.h.
◆ checkConstraintViolation()
void qpmad::Solver::checkConstraintViolation |
( |
const MatrixIndex |
i, |
|
|
const double |
lb_i, |
|
|
const double |
ub_i, |
|
|
const double |
ctr_i_dot_primal |
|
) |
| |
|
inlineprivate |
◆ chooseConstraint()
◆ getConstraintDotPrimalStepDirection()
template<class t_VectorType , class t_MatrixType >
double qpmad::Solver::getConstraintDotPrimalStepDirection |
( |
const t_VectorType & |
primal_step_direction, |
|
|
const t_MatrixType & |
A |
|
) |
| const |
|
inlineprivate |
◆ initializeMachineryLazy()
template<class t_MatrixType >
void qpmad::Solver::initializeMachineryLazy |
( |
const t_MatrixType & |
H | ) |
|
|
inlineprivate |
◆ parseGeneralConstraints()
template<class t_MatrixTypeA , class t_VectorTypelb , class t_VectorTypeub >
void qpmad::InputParser::parseGeneralConstraints |
( |
const t_MatrixTypeA & |
A, |
|
|
const t_VectorTypelb & |
lb, |
|
|
const t_VectorTypeub & |
ub |
|
) |
| |
|
inlineprotectedinherited |
◆ parseObjective()
template<class t_MatrixType , class t_VectorType >
void qpmad::InputParser::parseObjective |
( |
const t_MatrixType & |
H, |
|
|
const t_VectorType & |
h |
|
) |
| |
|
inlineprotectedinherited |
◆ parseSimpleBounds()
template<class t_VectorTypelb , class t_VectorTypeub >
void qpmad::InputParser::parseSimpleBounds |
( |
const t_VectorTypelb & |
lb, |
|
|
const t_VectorTypeub & |
ub |
|
) |
| |
|
inlineprotectedinherited |
◆ solve() [1/4]
◆ solve() [2/4]
◆ solve() [3/4]
◆ solve() [4/4]
◆ active_set_
◆ chosen_ctr_
◆ constraints_status_
◆ dual_
◆ dual_step_direction_
QPVector qpmad::Solver::dual_step_direction_ |
|
private |
◆ factorization_data_
◆ general_ctr_dot_primal_
QPVector qpmad::Solver::general_ctr_dot_primal_ |
|
private |
◆ h_size_
◆ machinery_initialized_
bool qpmad::Solver::machinery_initialized_ |
|
private |
◆ num_constraints_
◆ num_general_constraints_
MatrixIndex qpmad::InputParser::num_general_constraints_ |
|
protectedinherited |
◆ num_simple_bounds_
◆ primal_size_
◆ primal_step_direction_
QPVector qpmad::Solver::primal_step_direction_ |
|
private |
The documentation for this class was generated from the following file:
- /usr/home/aleks/git/asherikov/qpmad/include/qpmad/solver.h