11#include "tpcclibConfig.h"
42 double (*
_fun)(int,
double*,
void*);
91extern int nloptMeanP(
NLOPT *nlo,
unsigned int nr,
double *meanp,
double *sdp);
104 double *p,
double *mean,
double *sd,
double *low,
double *up,
unsigned int n,
MERTWI *mt
111 unsigned int n,
double *pLower,
double *pUpper,
double *p,
112 double *pAccept,
double *penalty
114extern unsigned int nloptForceLimits(
unsigned int n,
double *pLower,
double *pUpper,
double *p);
137 NLOPT *nlo,
unsigned int maxIter,
unsigned int nSwarms,
unsigned int nParticles,
double wInertia,
138 double wParticle,
double wSwarm,
double wGlobal,
double pDeath,
double pImmigration,
146 NLOPT *nlo,
const int doLocal,
unsigned int tgoNr,
unsigned int sampleNr,
150 NLOPT *nlo,
const int doLocal,
unsigned int tgoNr,
unsigned int sampleNr,
153extern int nloptIATGO(
NLOPT *nlo,
const int doLocal,
unsigned int maxIterNr,
double(* _fun)(int, double *, void *)
Header file for library libtpcextensions.
int nloptSimplexMS(NLOPT *nlo, unsigned int maxIter, TPCSTATUS *status)
int nloptRandomPoint(double *p, double *low, double *up, unsigned int n, MERTWI *mt)
unsigned int nloptForceLimits(unsigned int n, double *pLower, double *pUpper, double *p)
Enforce the model parameters within given limits.
int nloptPowellBrent(NLOPT *nlo, unsigned int ktm, TPCSTATUS *)
Powell-Brent (Praxis) non-linear unconstrained optimization.
void nloptInit(NLOPT *nlo)
unsigned int nloptCheckParameters(unsigned int n, double *pLower, double *pUpper, double *p, double *pAccept, double *penalty)
Check that model parameters are within given limits.
int nloptAllocate(NLOPT *nlo, unsigned int parNr)
int nloptIATGO(NLOPT *nlo, const int doLocal, unsigned int maxIterNr, double neighFract, TPCSTATUS *status)
int nloptITGO1(NLOPT *nlo, const int doLocal, unsigned int tgoNr, unsigned int sampleNr, unsigned int neighNr, TPCSTATUS *status)
unsigned int nloptLimitFixedNr(NLOPT *d)
int nloptMeanP(NLOPT *nlo, unsigned int nr, double *meanp, double *sdp)
int nlopt1D(NLOPT *nlo, unsigned int maxIter, TPCSTATUS *)
unsigned int nloptFixedNr(NLOPT *d)
int nloptMPSO(NLOPT *nlo, unsigned int maxIter, unsigned int nSwarms, unsigned int nParticles, double wInertia, double wParticle, double wSwarm, double wGlobal, double pDeath, double pImmigration, const int doLocal, TPCSTATUS *)
void nloptRemoveEmpties(NLOPT *d)
void nloptPrintP(NLOPT *nlo, unsigned int nr, FILE *fp)
void nloptFree(NLOPT *nlo)
int nloptGaussianPoint(double *p, double *mean, double *sd, double *low, double *up, unsigned int n, MERTWI *mt)
int nloptAddP(NLOPT *nlo, double *p, double funval)
void nloptdataInit(NLOPT_DATA *d)
int nloptITGO2(NLOPT *nlo, const int doLocal, unsigned int tgoNr, unsigned int sampleNr, unsigned int neighNr, TPCSTATUS *status)
int nloptSimplex(NLOPT *nlo, unsigned int maxIter, TPCSTATUS *)
int nloptSimplexARRS(NLOPT *nlo, unsigned int maxIter, TPCSTATUS *status)
int nloptDuplicate(NLOPT *nlo1, NLOPT *nlo2)
void nloptWrite(NLOPT *d, FILE *fp)
int nloptSortP(NLOPT *nlo)
Header file for libtpcrand.