1 |
|
|
// |
2 |
|
|
// Copyright (c) 2018 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 |
|
|
#include "tsid/bindings/python/solvers/expose-solvers.hpp" |
19 |
|
|
#include "tsid/bindings/python/solvers/solver-HQP-eiquadprog.hpp" |
20 |
|
|
|
21 |
|
|
namespace tsid { |
22 |
|
|
namespace python { |
23 |
|
7 |
void exposeSolverHQuadProg() { |
24 |
✓✗✓✗
|
7 |
SolverHQuadProgPythonVisitor<tsid::solvers::SolverHQuadProg>::expose( |
25 |
|
|
"SolverHQuadProg"); |
26 |
✓✗✓✗
|
7 |
SolverHQuadProgPythonVisitor<tsid::solvers::SolverHQuadProgFast>::expose( |
27 |
|
|
"SolverHQuadProgFast"); |
28 |
|
7 |
} |
29 |
|
|
|
30 |
|
7 |
void exposeSolverProxQP() { |
31 |
|
|
#ifdef TSID_WITH_PROXSUITE |
32 |
|
|
SolverProxQPPythonVisitor<tsid::solvers::SolverProxQP>::expose( |
33 |
|
|
"SolverProxQP"); |
34 |
|
|
#endif |
35 |
|
7 |
} |
36 |
|
|
|
37 |
|
7 |
void exposeSolverOSQP() { |
38 |
|
|
#ifdef TSID_WITH_OSQP |
39 |
|
|
SolverOSQPPythonVisitor<tsid::solvers::SolverOSQP>::expose("SolverOSQP"); |
40 |
|
|
#endif |
41 |
|
7 |
} |
42 |
|
|
} // namespace python |
43 |
|
|
} // namespace tsid |