28 #include "../AstroToolbox/mga_dsm.h"
30 namespace pagmo {
namespace problem {
32 const int sagas::sequence[3] = {3, 3, 5};
40 problem.AUdist = 50.0;
41 problem.DVtotal = 6.782;
42 problem.DVonboard = 1.782;
44 const double lb[12] = {7000, 0, 0, 0, 50, 300, 0.01, 0.01, 1.05, 8, -M_PI, -M_PI};
45 const double ub[12] = {9100, 7, 1, 1, 2000, 2000, 0.9, 0.9 ,7 ,500 ,M_PI,M_PI};
58 MGA_DSM(x, problem,f[0]);
71 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.
void objfun_impl(fitness_vector &, const decision_vector &) const
Implementation of the objective function.
void set_sparsity(int &, std::vector< int > &, std::vector< int > &) const
Implementation of the sparsity structure.
base_ptr clone() const
Clone method.
std::vector< double > fitness_vector
Fitness vector type.
void set_bounds(const decision_vector &, const decision_vector &)
Bounds setter from pagmo::decision_vector.
std::string get_name() const
Get problem's name.