solver-HQP-factory.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2017 CNRS
3 //
4 // This file is part of tsid
5 // tsid is free software: you can redistribute it
6 // and/or modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation, either version
8 // 3 of the License, or (at your option) any later version.
9 // tsid is distributed in the hope that it will be
10 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty
11 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // General Lesser Public License for more details. You should have
13 // received a copy of the GNU Lesser General Public License along with
14 // tsid If not, see
15 // <http://www.gnu.org/licenses/>.
16 //
17 
18 #ifndef __invdyn_solvers_hqp_factory_hpp__
19 #define __invdyn_solvers_hqp_factory_hpp__
20 
23 
24 #include <pinocchio/macros.hpp> // for input argument checking and exceptions
25 
26 namespace tsid {
27 namespace solvers {
28 
38  static SolverHQPBase* createNewSolver(const SolverHQP solverType,
39  const std::string& name);
40 
49  template <int nVars, int nEqCon, int nIneqCon>
50  static SolverHQPBase* createNewSolver(const SolverHQP solverType,
51  const std::string& name);
52 };
53 
54 } // namespace solvers
55 } // namespace tsid
56 
57 #endif // ifndef __invdyn_solvers_hqp_factory_hpp__
tsid::solvers::SolverHQPBase
Abstract interface for a Quadratic Program (HQP) solver.
Definition: solver-HQP-base.hpp:34
setup.name
name
Definition: setup.in.py:179
solver-HQP-base.hpp
tsid
Definition: bindings/python/constraint/constraint-bound.cpp:21
solver-HQP-eiquadprog-rt.hpp
tsid::solvers::SolverHQPFactory
Definition: solver-HQP-factory.hpp:29
tsid::solvers::SolverHQPFactory::createNewSolver
static SolverHQPBase * createNewSolver(const SolverHQP solverType, const std::string &name)
Create a new HQP solver of the specified type.
Definition: solver-HQP-factory.cpp:41


tsid
Author(s): Andrea Del Prete, Justin Carpentier
autogenerated on Thu Apr 3 2025 02:47:16