Class HPolyOracleCost

template<typename VT, typename NT>
class HPolyOracleCost : public CostTerm

Define the cost function f(t) = t (ipopt takes minimization so it is -t)

Template Parameters:
  • VT – Vector Type

  • NT – Numeric Type

Public Functions

inline HPolyOracleCost(std::string method_)
inline NT GetCost() const override
inline void FillJacobianBlock(std::string var_set, Jacobian &jac) const override

Public Members

std::string method