cpp_robotics::SQP
SQP(逐次二次計画法)
#include <sqp.hpp>
Public Classes
Name | |
---|---|
struct | Problem |
struct | Result |
Public Types
Name | |
---|---|
using std::function< double(Eigen::VectorXd)> | func_type |
using std::function< Eigen::VectorXd(Eigen::VectorXd)> | grad_func_type |
Public Functions
Name | |
---|---|
Result | solve(Problem prob, const Eigen::VectorXd & x0, std::optional< std::function< void(Eigen::VectorXd)>> callback =std::nullopt) |
Public Types Documentation
using func_type
using cpp_robotics::SQP::func_type = std::function<double(Eigen::VectorXd)>;
using grad_func_type
using cpp_robotics::SQP::grad_func_type = std::function<Eigen::VectorXd(Eigen::VectorXd)>;
Public Functions Documentation
function solve
inline Result solve(
Problem prob,
const Eigen::VectorXd & x0,
std::optional< std::function< void(Eigen::VectorXd)>> callback =std::nullopt
)
Updated on 2024-05-28 at 06:55:39 +0000