/* clang-format off to disable clang-format-includes */ #include "drake/solvers/osqp_solver.h" /* clang-format on */ #include namespace drake { namespace solvers { bool OsqpSolver::is_available() { return false; } void OsqpSolver::DoSolve(const MathematicalProgram&, const Eigen::VectorXd&, const SolverOptions&, MathematicalProgramResult*) const { throw std::runtime_error( "The OSQP bindings were not compiled. You'll need to use a different " "solver."); } } // namespace solvers } // namespace drake