MCPcopy Create free account
hub / github.com/dartsim/dart / solve

Method solve

python/dartpy/optimizer/Solver.cpp:139–167  ·  view source on GitHub ↗

Trampoline for virtual function

Source from the content-addressed store, hash-verified

137
138 // Trampoline for virtual function
139 bool solve() override
140 {
141 PYBIND11_OVERLOAD_PURE(
142 bool, // Return type
143 Solver, // Parent class
144 solve, // Name of function in C++ (must match Python name)
145 );
146 }
147
148 // Trampoline for virtual function
149 std::string getType() const override
150 {
151 PYBIND11_OVERLOAD_PURE(
152 std::string, // Return type
153 Solver, // Parent class
154 getType, // Name of function in C++ (must match Python name)
155 );
156 }
157
158 // Trampoline for virtual function
159 std::shared_ptr<Solver> clone() const override
160 {
161 PYBIND11_OVERLOAD_PURE(
162 std::shared_ptr<Solver>, // Return type
163 Solver, // Parent class
164 clone, // Name of function in C++ (must match Python name)
165 );
166 }
167 };
168
169 ::py::class_<
170 dart::optimizer::Solver,

Callers 7

PySolverClass · 0.95
BoxedLcpSolverFunction · 0.45
PgsBoxedLcpSolverFunction · 0.45
DantzigBoxedLcpSolverFunction · 0.45
ConstraintSolverFunction · 0.45
GradientDescentSolverFunction · 0.45
NloptSolverFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected