27 #include "messenger.h"
28 #include "../AstroToolbox/mga_dsm.h"
29 #include "../AstroToolbox/misc4Tandem.h"
31 namespace pagmo {
namespace problem {
33 const int messenger::sequence[5] = {3,3,2,2,1};
41 const double lb[18] = {1000, 1, 0, 0, 200, 30, 30, 30, 0.01, 0.01, 0.01, 0.01, 1.1, 1.1, 1.1, -M_PI, -M_PI, -M_PI};
42 const double ub[18] = {4000, 5, 1, 1, 400, 400, 400, 400, 0.99, 0.99, 0.99, 0.99, 6, 6, 6, M_PI, M_PI, M_PI};
55 MGA_DSM(x, problem,f[0]);
68 for (
int i = 0; i<lenG; ++i)
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_sparsity(int &, std::vector< int > &, std::vector< int > &) const
Implementation of the sparsity structure.
std::vector< double > fitness_vector
Fitness vector type.
void objfun_impl(fitness_vector &, const decision_vector &) const
Implementation of the objective function.
Messenger MGA-DSM Problem (reduced version)
void set_bounds(const decision_vector &, const decision_vector &)
Bounds setter from pagmo::decision_vector.
base_ptr clone() const
Clone method.