iDynTree::optimization::IpoptInterface class

Base classes

class Optimizer

Constructors, destructors, conversion operators

IpoptInterface()
IpoptInterface(const IpoptInterface& other) deleted
~IpoptInterface() override

Public functions

auto isAvailable() const -> bool override
auto setProblem(std::shared_ptr<OptimizationProblem> problem) -> bool override
auto solve() -> bool override
auto getPrimalVariables(VectorDynSize& primalVariables) -> bool override
auto getDualVariables(VectorDynSize& constraintsMultipliers, VectorDynSize& lowerBoundsMultipliers, VectorDynSize& upperBoundsMultipliers) -> bool override
auto getOptimalCost(double& optimalCost) -> bool override
auto getOptimalConstraintsValues(VectorDynSize& constraintsValues) -> bool override
auto minusInfinity() -> double override
auto plusInfinity() -> double override
void useApproximatedHessians(bool useApproximatedHessian = true)
auto setIpoptOption(const std::string& tag, const std::string& value) -> bool
auto setIpoptOption(const std::string& tag, double value) -> bool
auto setIpoptOption(const std::string& tag, int value) -> bool
auto getIpoptOption(const std::string& tag, std::string& value) -> bool
auto getIpoptOption(const std::string& tag, double& value) -> bool
auto getIpoptOption(const std::string& tag, int& value) -> bool