23 #ifndef __OPTIMIZER_H__
24 #define __OPTIMIZER_H__
39 typedef std::vector< std::pair<double, double> >
bounds_t;
51 virtual bool onMessage(MPI_Status status,
size_t length) = 0;
virtual void postPoll()=0
executed after handling (if any) new request
virtual void setupPoll()=0
executed before starting polling loop
std::vector< std::pair< double, double > > bounds_t
type of bounds for design variables
virtual void prePoll()=0
executed before checking for new request
virtual void onStop()=0
enable implementation to react to STOP tag
virtual bool onMessage(MPI_Status status, size_t length)=0
virtual void initialize()=0
entry point for optimizer