28 #include "../AstroToolbox/mga_dsm.h"
29 #include "../AstroToolbox/misc4Tandem.h"
31 namespace pagmo {
namespace problem {
33 const int rosetta::sequence[6] = {3, 3, 4, 3, 3, 10};
41 problem.asteroid.keplerian[0] = 3.50294972836275;
42 problem.asteroid.keplerian[1] = 0.6319356;
43 problem.asteroid.keplerian[2] = 7.12723;
44 problem.asteroid.keplerian[3] = 50.92302;
45 problem.asteroid.keplerian[4] = 11.36788;
46 problem.asteroid.keplerian[5] = 0.0;
47 problem.asteroid.epoch = 52504.23754000012;
48 problem.asteroid.mu = 0.0;
50 const double lb[22] = {1460, 3, 0, 0, 300, 150, 150, 300, 700 , 0.01, 0.01, 0.01, 0.01, 0.01, 1.05, 1.05, 1.05, 1.05, -M_PI, -M_PI, -M_PI, -M_PI};
51 const double ub[22] = {1825, 5, 1, 1, 500, 800, 800, 800, 1850, 0.9, 0.9 , 0.9 , 0.9 , 0.9 , 9 , 9 , 9 , 9 , M_PI , M_PI , M_PI , M_PI};
64 MGA_DSM(x, problem,f[0]);
77 for (
int i = 0; i<lenG; ++i)
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.
base_ptr clone() const
Clone method.
void set_sparsity(int &, std::vector< int > &, std::vector< int > &) const
Implementation of the sparsity structure.
std::vector< double > fitness_vector
Fitness vector type.
std::string get_name() const
Get problem's name.
void set_bounds(const decision_vector &, const decision_vector &)
Bounds setter from pagmo::decision_vector.