Class VPolyOracleCost

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

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

Template Parameters:
  • VT – Vector Type

  • MT – Matrix Type

Public Functions

inline VPolyOracleCost(int m_)
inline NT GetCost() const override
inline void FillJacobianBlock(std::string var_set, Jacobian &jac) const override

Public Members

int m