iDynTree::optimization::OptimizationProblem class

Constructors, destructors, conversion operators

OptimizationProblem()
~OptimizationProblem() virtual

Public functions

auto prepare() -> bool virtual
void reset() virtual
auto numberOfVariables() -> unsigned int pure virtual
auto numberOfConstraints() -> unsigned int pure virtual
auto getConstraintsBounds(VectorDynSize& constraintsLowerBounds, VectorDynSize& constraintsUpperBounds) -> bool virtual
auto getVariablesUpperBound(VectorDynSize& variablesUpperBound) -> bool virtual
auto getVariablesLowerBound(VectorDynSize& variablesLowerBound) -> bool virtual
auto getConstraintsJacobianInfo(std::vector<size_t>& nonZeroElementRows, std::vector<size_t>& nonZeroElementColumns) -> bool virtual
auto getHessianInfo(std::vector<size_t>& nonZeroElementRows, std::vector<size_t>& nonZeroElementColumns) -> bool virtual
auto getGuess(VectorDynSize& guess) -> bool virtual
auto setVariables(const VectorDynSize& variables) -> bool virtual
auto evaluateCostFunction(double& costValue) -> bool virtual
auto evaluateCostGradient(VectorDynSize& gradient) -> bool virtual
auto evaluateCostHessian(MatrixDynSize& hessian) -> bool virtual
auto evaluateConstraints(VectorDynSize& constraints) -> bool virtual
auto evaluateConstraintsJacobian(MatrixDynSize& jacobian) -> bool virtual
auto evaluateConstraintsHessian(const VectorDynSize& constraintsMultipliers, MatrixDynSize& hessian) -> bool virtual
auto info() const -> const OptimizationProblemInfo&

Protected variables

std::shared_ptr<OptimizationProblemInfoData> m_infoData
OptimizationProblemInfo m_info