Go to the documentation of this file.
30 #ifndef IFOPT_INCLUDE_IFOPT_COST_TERM_H_
31 #define IFOPT_INCLUDE_IFOPT_COST_TERM_H_
46 class CostTerm :
public ConstraintSet {
55 virtual double GetCost()
const = 0;
71 void Print(
double tol,
int& index) const final;
std::vector< Bounds > VecBound
VecBound GetBounds() const final
Returns infinite bounds (e.g. no bounds).
void Print(double tol, int &index) const final
common namespace for all elements in this library.
VectorXd GetValues() const final
Wrapper function that converts double to Eigen::VectorXd.
CostTerm(const std::string &name)
virtual ~CostTerm()=default
virtual double GetCost() const =0
Returns the scalar cost term calculated from the variables.
ifopt
Author(s): Alexander W. Winkler
autogenerated on Sat Jan 18 2025 03:15:14