WPILibC++ 2025.1.1
|
#include <span>
#include <Eigen/Core>
#include "sleipnir/autodiff/Variable.hpp"
#include "sleipnir/optimization/SolverConfig.hpp"
#include "sleipnir/optimization/SolverIterationInfo.hpp"
#include "sleipnir/optimization/SolverStatus.hpp"
#include "sleipnir/util/FunctionRef.hpp"
#include "sleipnir/util/SymbolExports.hpp"
Go to the source code of this file.
Namespaces | |
namespace | sleipnir |
Functions | |
SLEIPNIR_DLLEXPORT void | sleipnir::SQP (std::span< Variable > decisionVariables, std::span< Variable > equalityConstraints, Variable &f, function_ref< bool(const SolverIterationInfo &info)> callback, const SolverConfig &config, Eigen::VectorXd &x, SolverStatus *status) |
Finds the optimal solution to a nonlinear program using Sequential Quadratic Programming (SQP). | |