33 #ifndef DART_OPTIMIZER_MULTIOBJECTIVEPROBLEM_HPP_
34 #define DART_OPTIMIZER_MULTIOBJECTIVEPROBLEM_HPP_
39 #include <Eigen/Dense>
75 std::size_t dim, std::size_t integerDim = 0u);
128 const Eigen::VectorXd& x)
const = 0;
135 const Eigen::VectorXd& x)
const;
147 virtual std::ostream&
print(std::ostream& os)
const;
Definition: MultiObjectiveProblem.hpp:47
virtual Eigen::VectorXd evaluateEqConstraints(const Eigen::VectorXd &x) const
Evaluates equality constraints.
Definition: MultiObjectiveProblem.cpp:144
const Eigen::VectorXd & getUpperBounds() const
Returns upper bounds for optimization parameters.
Definition: MultiObjectiveProblem.cpp:126
virtual Eigen::VectorXd evaluateObjectives(const Eigen::VectorXd &x) const =0
Evaluates objectives.
void setLowerBounds(const Eigen::VectorXd &lb)
Sets lower bounds for optimization parameters.
Definition: MultiObjectiveProblem.cpp:106
std::size_t getDoubleDimension() const
Returns dimension of the floating-point part of the solution.
Definition: MultiObjectiveProblem.cpp:88
virtual ~MultiObjectiveProblem()=default
Destructor.
MultiObjectiveProblem(std::size_t dim, std::size_t integerDim=0u)
Constructor.
Definition: MultiObjectiveProblem.cpp:58
virtual std::ostream & print(std::ostream &os) const
Prints information of this class to a stream.
Definition: MultiObjectiveProblem.cpp:186
virtual std::size_t getEqConstraintDimension() const
Returns the total dimension of equality constraints.
Definition: MultiObjectiveProblem.cpp:132
virtual std::size_t getObjectiveDimension() const =0
Returns the total dimension of objective functions.
void setUpperBounds(const Eigen::VectorXd &ub)
Sets upper bounds for optimization parameters.
Definition: MultiObjectiveProblem.cpp:119
virtual std::size_t getIntegerDimension() const
Returns dimension of the integers in the decision vector.
Definition: MultiObjectiveProblem.cpp:100
virtual std::size_t getIneqConstraintDimension() const
Returns the total dimension of inequality constraints.
Definition: MultiObjectiveProblem.cpp:138
virtual void setIntegerDimension(std::size_t dim)
Sets dimension of the integers in the decision vector.
Definition: MultiObjectiveProblem.cpp:94
Eigen::VectorXd mUpperBounds
Upper bounds for optimization parameters.
Definition: MultiObjectiveProblem.hpp:161
std::size_t mDimension
Dimension of the decision vector (or optimization parameters)
Definition: MultiObjectiveProblem.hpp:151
virtual Eigen::VectorXd evaluateIneqConstraints(const Eigen::VectorXd &x) const
Evaluates inequality constraints.
Definition: MultiObjectiveProblem.cpp:151
std::size_t mIntegerDimension
Dimension of integer in the decision vector.
Definition: MultiObjectiveProblem.hpp:155
std::size_t getFitnessDimension() const
Return dimension of fitness.
Definition: MultiObjectiveProblem.cpp:158
Eigen::VectorXd mLowerBounds
Lower bounds for optimization parameters.
Definition: MultiObjectiveProblem.hpp:158
Eigen::VectorXd evaluateFitness(const Eigen::VectorXd &x) const
Evaluates fitness, which is [objectives, equality constraints, inequality constraints].
Definition: MultiObjectiveProblem.cpp:168
const Eigen::VectorXd & getLowerBounds() const
Returns lower bounds for optimization parameters.
Definition: MultiObjectiveProblem.cpp:113
virtual void setSolutionDimension(std::size_t dim, std::size_t integerDim=0u)
Sets the dimension of the solution.
Definition: MultiObjectiveProblem.cpp:65
virtual std::size_t getSolutionDimension() const
Returns dimension of the solution.
Definition: MultiObjectiveProblem.cpp:82
Definition: BulletCollisionDetector.cpp:65