52 bool QpWithOsqp(
const std::vector<std::pair<double, double>>& raw_point2d,
53 const std::vector<double>& bounds, std::vector<double>* opt_x,
54 std::vector<double>* opt_y);
56 bool NlpWithIpopt(
const std::vector<std::pair<double, double>>& raw_point2d,
57 const std::vector<double>& bounds,
58 std::vector<double>* opt_x, std::vector<double>* opt_y);
60 bool SqpWithOsqp(
const std::vector<std::pair<double, double>>& raw_point2d,
61 const std::vector<double>& bounds,
62 std::vector<double>* opt_x, std::vector<double>* opt_y);
69 bool Solve(
const std::vector<std::pair<double, double>>& raw_point2d,
70 const std::vector<double>& bounds, std::vector<double>* opt_x,
71 std::vector<double>* opt_y,
72 std::vector<std::vector<common::math::Vec2d>> point_box = {});
74 bool SqpWithOsqp(
const std::vector<std::pair<double, double>>& raw_point2d,
75 const std::vector<double>& bounds,
76 std::vector<double>* opt_x, std::vector<double>* opt_y,
77 std::vector<std::vector<common::math::Vec2d>> point_box);
bool Solve(const std::vector< std::pair< double, double > > &raw_point2d, const std::vector< double > &bounds, std::vector< double > *opt_x, std::vector< double > *opt_y, std::vector< std::vector< common::math::Vec2d > > point_box={})