humoto
Public Member Functions | Protected Member Functions | List of all members
humoto::SolverGuessActiveSetMixin< t_Solver > Class Template Referenceabstract

Detailed Description

template<class t_Solver>
class humoto::SolverGuessActiveSetMixin< t_Solver >

Mixin solver interface (active set guessing)

Template Parameters
t_Solverbase solver class

Definition at line 250 of file solver.h.

#include <solver.h>

Inheritance diagram for humoto::SolverGuessActiveSetMixin< t_Solver >:
Inheritance graph

Public Member Functions

void solve (Solution &solution, ActiveSet &active_set, const humoto::OptimizationProblem &hierarchy, const ActiveSet &active_set_guess)
 Solve an optimization problem (using previously specified parameters) More...
 
void solve (Solution &solution, const humoto::OptimizationProblem &hierarchy, const ActiveSet &active_set_guess)
 Solve an optimization problem (using previously specified parameters) More...
 
void solve (humoto::Solution &solution, humoto::ActiveSet &active_set, const humoto::OptimizationProblem &hierarchy)
 Solve an optimization problem (using previously specified parameters) More...
 

Protected Member Functions

 SolverGuessActiveSetMixin ()
 
 ~SolverGuessActiveSetMixin ()
 Protected destructor: prevent destruction of the child classes through a base pointer. More...
 
virtual void getActiveSet (humoto::ActiveSet &active_set, const humoto::OptimizationProblem &hierarchy)=0
 Get active set. More...
 
virtual void setActiveSet (const humoto::ActiveSet &active_set, const humoto::OptimizationProblem &hierarchy)=0
 Set active set guess. More...
 

Constructor & Destructor Documentation

◆ ~SolverGuessActiveSetMixin()

template<class t_Solver>
humoto::SolverGuessActiveSetMixin< t_Solver >::~SolverGuessActiveSetMixin ( )
inlineprotected

Protected destructor: prevent destruction of the child classes through a base pointer.

Definition at line 262 of file solver.h.

◆ SolverGuessActiveSetMixin()

template<class t_Solver>
humoto::SolverGuessActiveSetMixin< t_Solver >::SolverGuessActiveSetMixin ( )
inlineprotected

Definition at line 263 of file solver.h.

Member Function Documentation

◆ getActiveSet()

template<class t_Solver>
virtual void humoto::SolverGuessActiveSetMixin< t_Solver >::getActiveSet ( humoto::ActiveSet active_set,
const humoto::OptimizationProblem hierarchy 
)
protectedpure virtual

Get active set.

Parameters
[out]active_set
[in]hierarchy

Implemented in humoto::qpoases::Solver.

◆ setActiveSet()

template<class t_Solver>
virtual void humoto::SolverGuessActiveSetMixin< t_Solver >::setActiveSet ( const humoto::ActiveSet active_set,
const humoto::OptimizationProblem hierarchy 
)
protectedpure virtual

Set active set guess.

Parameters
[in]hierarchy
[in]active_set

Implemented in humoto::qpoases::Solver.

◆ solve() [1/3]

template<class t_Solver>
void humoto::SolverGuessActiveSetMixin< t_Solver >::solve ( Solution solution,
ActiveSet active_set,
const humoto::OptimizationProblem hierarchy,
const ActiveSet active_set_guess 
)
inline

Solve an optimization problem (using previously specified parameters)

Parameters
[out]solution
[out]active_set
[in]hierarchy
[in]active_set_guess

Definition at line 297 of file solver.h.

◆ solve() [2/3]

template<class t_Solver>
void humoto::SolverGuessActiveSetMixin< t_Solver >::solve ( Solution solution,
const humoto::OptimizationProblem hierarchy,
const ActiveSet active_set_guess 
)
inline

Solve an optimization problem (using previously specified parameters)

Parameters
[out]solution
[in]hierarchy
[in]active_set_guess

Definition at line 319 of file solver.h.

◆ solve() [3/3]

template<class t_Solver>
void humoto::SolverGuessActiveSetMixin< t_Solver >::solve ( humoto::Solution solution,
humoto::ActiveSet active_set,
const humoto::OptimizationProblem hierarchy 
)
inline

Solve an optimization problem (using previously specified parameters)

Parameters
[out]solution
[out]active_set
[in]hierarchy

Definition at line 339 of file solver.h.


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