Function OpenSoT::solvers::BackEndFactory

Function Documentation

BackEnd::Ptr OpenSoT::solvers::BackEndFactory(const solver_back_ends be_solver, const int number_of_variables, const int number_of_constraints, OpenSoT::HessianType hessian_type, const double eps_regularisation)

BackEndFactory creates an instance of an OpenSoT BackEnd.

Parameters
  • be_solver – the type of solver

  • number_of_variables – of the problem

  • number_of_constraints – of the problem

  • hessian_type – of the problem

  • eps_regularisation – of the problem

Returns

a BackEnd pointer