OpenSim Moco  0.4.0
Public Member Functions | List of all members
CasOC::EndpointConstraint Class Reference

Description

This invokes CasOC::Problem::calcEndpointConstraint().

Inheritance diagram for CasOC::EndpointConstraint:
CasOC::Endpoint CasOC::Function

#include <Moco/Moco/MocoCasADiSolver/CasOCFunction.h>

Public Member Functions

VectorDM eval (const VectorDM &args) const override
 
- Public Member Functions inherited from CasOC::Endpoint
void constructFunction (const Problem *casProblem, const std::string &name, int index, int numEquations, const std::string &finiteDiffScheme, std::shared_ptr< const std::vector< VariablesDM >> pointsForSparsityDetection)
 
casadi_int get_n_in () override
 
std::string get_name_in (casadi_int i) override final
 
casadi::Sparsity get_sparsity_in (casadi_int i) override
 
casadi_int get_n_out () override final
 
std::string get_name_out (casadi_int i) override final
 
casadi::Sparsity get_sparsity_out (casadi_int i) override final
 
casadi::DM getSubsetPoint (const VariablesDM &fullPoint) const override
 The endpoint input is not simply a subset of the NLP variables; the endpoint function also depends on an integral, computed from an integrand function and using a transcription's quadrature scheme. More...
 
- Public Member Functions inherited from CasOC::Function
void constructFunction (const Problem *casProblem, const std::string &name, const std::string &finiteDiffScheme, std::shared_ptr< const std::vector< VariablesDM >> pointsForSparsityDetection)
 
void setCommonOptions (casadi::Dict &opts)
 
std::string getFiniteDifferenceScheme ()
 
casadi_int get_n_in () override
 
std::string get_name_in (casadi_int i) override
 
casadi::Sparsity get_sparsity_in (casadi_int i) override
 
bool has_jacobian_sparsity () const override
 
casadi::Sparsity get_jacobian_sparsity () const override
 

Additional Inherited Members

- Protected Attributes inherited from CasOC::Endpoint
int m_index = -1
 
int m_numEquations = -1
 
- Protected Attributes inherited from CasOC::Function
const Problemm_casProblem
 

The documentation for this class was generated from the following file: