25 #ifndef PAGMO_PROBLEM_SNOPT_TOYPROB_H
26 #define PAGMO_PROBLEM_SNOPT_TOYPROB_H
30 #include "../config.h"
31 #include "../serialization.h"
35 namespace pagmo {
namespace problem {
62 std::string get_name()
const;
66 void set_sparsity(
int &, std::vector<int>&, std::vector<int>&)
const;
68 friend class boost::serialization::access;
69 template <
class Archive>
70 void serialize(Archive &ar,
const unsigned int)
72 ar & boost::serialization::base_object<base>(*this);
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base problem.
std::vector< double > decision_vector
Decision vector type.
std::vector< double > fitness_vector
Fitness vector type.
std::vector< double > constraint_vector
Constraint vector type.