chiark / gitweb /
improve C++ header exceptions, rename NLOPT_FORCE_STOP to NLOPT_FORCED_STOP
[nlopt.git] / bobyqa / bobyqa.h
1 #ifndef BOBYQA_H
2 #define BOBYQA_H 1
3
4 #include "nlopt-util.h"
5 #include "nlopt.h"
6
7 typedef double (*bobyqa_func)(int n, const double *x, void *func_data);
8
9 extern nlopt_result bobyqa(int n, int npt, double *x, 
10                            const double *lb, const double *ub,
11                            double rhobeg, nlopt_stopping *stop, double *minf,
12                            bobyqa_func calfun, void *calfun_data);
13
14 #endif /* BOBYQA_H */