30 namespace pagmo {
namespace problem {
51 pagmo_assert(f.size() == 1 && vx.size() == 2);
52 const double x = vx[0], y = vx[1];
53 f[0] = 100 * sqrt(fabs(y - 0.01 * x * x)) + 0.01*fabs(x+10);
void objfun_impl(fitness_vector &, const decision_vector &) const
Implementation of the objective function.
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base problem.
std::vector< double > decision_vector
Decision vector type.
std::string get_name() const
Get problem's name.
void set_lb(const decision_vector &)
Set lower bounds from pagmo::decision_vector.
base_ptr clone() const
Clone method.
void set_ub(const decision_vector &)
Set upper bounds from pagmo::decision_vector.
std::vector< double > fitness_vector
Fitness vector type.
bukin()
Default constructor.