template<typename FT>
class CGAL::OSQP_quadratic_program_traits< FT >
wraps the external OSQP solver.
This class provides an interface for formulating and solving constrained or unconstrained quadratic programs using the OSQP library, which must be available on the system.
- Template Parameters
-
- Note
- The FT type is provided for convenience. Internally, this FT type is converted to OSQPFloat type that can be set either to float or double. By default, the double type is used. After the optimization is complete, the OSQPFloat type is converted back to FT. See more about OSQPFloat here.
- Is model of
QuadraticProgramTraits
- Examples
- Solver_interface/osqp_quadratic_program.cpp.