42#include "Reoptimizer.h"
45#include "DataServer.h"
87 virtual void put(
struct nlopt_work *, Bool_t,
const double *) = 0;
88 virtual int get(
long &) = 0;
91 void solver(
struct nlopt_work *,
int,
double*,
92 vector<URANIE::DataServer::UEntry*>&,
93 vector<URANIE::DataServer::UEntry*>&,
94 vector<URANIE::DataServer::UEntry*>&
96 void calcul(
struct nlopt_work *, Bool_t,
const double *);
98 void fill(
struct nlopt_work *, URANIE::DataServer::TDataServer *tds,
int id);
105 TNloptShare(URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TRun *
run,
107 TNloptShare(URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TEval *fun,
120 virtual int critere(
struct nlopt_work*,
const double *ini,
double *out,
122 virtual int inequality(
struct nlopt_work*,
const double *in,
double *out,
124 virtual int equality(
struct nlopt_work*,
const double *in,
double *out,
126 void run(
struct nlopt_work *);
146double nlopt_crit(
unsigned,
const double*,
double*,
void *);
147void nlopt_inequal(
unsigned,
double *,
unsigned,
const double*,
double*,
void*);
148void nlopt_equal(
unsigned,
double *,
unsigned,
const double*,
double*,
void*);
recuperation de sortie transformées
struct nlopt_opt_s * nlopt_opt
Definition TNloptShare.h:52
objectifs et contraintes standards
methodes communes aux algo d optimisation
Definition TFitGetter.h:51
Definition TNloptShare.h:102
Definition TNloptShare.h:71
void fillOptimum(struct nlopt_work *)
Definition TNloptShare.cxx:410
std::vector< std::vector< URANIE::DataServer::UEntry * > > _codi
Definition TNloptShare.h:81
int _id
Definition TNloptShare.h:80
virtual void put(struct nlopt_work *, Bool_t, const double *)=0
void setMaximumEval(int max)
Definition TNloptShare.h:114
void solver(struct nlopt_work *, int, double *, vector< URANIE::DataServer::UEntry * > &, vector< URANIE::DataServer::UEntry * > &, vector< URANIE::DataServer::UEntry * > &)
Definition TNloptShare.cxx:241
virtual void build()
Definition TNloptShare.cxx:110
std::vector< std::vector< URANIE::DataServer::UEntry * > > _codg
Definition TNloptShare.h:81
void calcul(struct nlopt_work *, Bool_t, const double *)
Definition TNloptShare.cxx:188
std::vector< std::vector< URANIE::DataServer::UEntry * > > _codo
Definition TNloptShare.h:81
TObjArray _equal
Definition TNloptShare.h:77
void setStartingPoint(double *pt)
Definition TNloptShare.cxx:119
virtual int equality(struct nlopt_work *, const double *in, double *out, double *grad)=0
void run(struct nlopt_work *)
Definition TNloptShare.cxx:310
virtual void cleanSolver(struct nlopt_work *)=0
virtual int critere(struct nlopt_work *, const double *ini, double *out, double *grad)=0
virtual void solverLoop()
Definition TNloptShare.cxx:342
int _retOptim
Definition TNloptShare.h:128
void create()
Definition TNloptShare.cxx:99
virtual void buildSolver(int siz, struct nlopt_work *)=0
std::vector< double * > _guess
Definition TNloptShare.h:79
virtual int inequality(struct nlopt_work *, const double *in, double *out, double *grad)=0
TFitGetter * _crit
Definition TNloptShare.h:76
void fill(struct nlopt_work *, URANIE::DataServer::TDataServer *tds, int id)
Definition TNloptShare.cxx:417
TNloptSolver * _solv
Definition TNloptShare.h:78
virtual ~TNloptShare()
Definition TNloptShare.cxx:82
int getReturnOptim()
Definition TNloptShare.h:129
int getNStartingPoint()
Definition TNloptShare.h:134
virtual int get(long &)=0
int _max
Definition TNloptShare.h:80
Definition TNloptShare.h:62
virtual ~TNloptSolver()
Definition TNloptShare.h:64
virtual nlopt_opt build(int, int, int, double, nlopt_opt *)=0
Definition TOptimShare.h:53
void nlopt_inequal(unsigned, double *, unsigned, const double *, double *, void *)
Definition TNloptShare.cxx:169
double nlopt_crit(unsigned, const double *, double *, void *)
Definition TNloptShare.cxx:159
void nlopt_equal(unsigned, double *, unsigned, const double *, double *, void *)
Definition TNloptShare.cxx:178