Go to the documentation of this file.
30 #ifndef IFOPT_INCLUDE_IFOPT_CONSTRAINT_SET_H_
31 #define IFOPT_INCLUDE_IFOPT_CONSTRAINT_SET_H_
51 class ConstraintSet :
public Component {
53 using Ptr = std::shared_ptr<ConstraintSet>;
void SetVariables(const VectorXd &) final
Sets the optimization variables from an Eigen vector.
const VariablesPtr GetVariables() const
Read access to the value of the optimization variables.
Composite::Ptr VariablesPtr
virtual void FillJacobianBlock(std::string var_set, Jacobian &jac_block) const =0
Set individual Jacobians corresponding to each decision variable set.
void LinkWithVariables(const VariablesPtr &x)
Connects the constraint with the optimization variables.
Jacobian GetJacobian() const final
The matrix of derivatives for these constraints and variables.
std::shared_ptr< Composite > Ptr
virtual void InitVariableDependedQuantities(const VariablesPtr &)
Initialize quantities that depend on the optimization variables.
ConstraintSet(int n_constraints, const std::string &name)
Creates constraints on the variables x.
common namespace for all elements in this library.
Declares the classes Composite and Component used as variables, costs and constraints.
virtual ~ConstraintSet()=default
std::shared_ptr< ConstraintSet > Ptr
Eigen::SparseMatrix< double, Eigen::RowMajor > Jacobian
ifopt
Author(s): Alexander W. Winkler
autogenerated on Mon Sep 18 2023 02:14:38