25 #ifndef PAGMO_PROBLEM_INVENTORY_H
26 #define PAGMO_PROBLEM_INVENTORY_H
32 #include "../config.h"
33 #include "../population.h"
35 #include "../serialization.h"
37 #include "base_stochastic.h"
81 inventory(
int weeks = 4,
int sample_size = 10,
unsigned int seed = 0);
82 std::string get_name()
const;
85 std::string human_readable_extra()
const;
88 friend class boost::serialization::access;
89 template <
class Archive>
90 void serialize(Archive &ar,
const unsigned int)
92 ar & boost::serialization::base_object<base_stochastic>(*this);
98 std::size_t m_sample_size;
107 #endif //PAGMO_PROBLEM_INVENTORY_H
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base problem.
std::vector< double > decision_vector
Decision vector type.
Stochastic Programming Test Problem: Inventory Model.
std::vector< double > fitness_vector
Fitness vector type.
Base Stochastic Optimization Problem.