chiark / gitweb /
another missing file
[nlopt.git] / crs / crs.h
1 #ifndef CRS_H
2 #define CRS_H
3
4 #include "nlopt.h"
5 #include "nlopt-util.h"
6
7 #ifdef __cplusplus
8 extern "C"
9 {
10 #endif /* __cplusplus */
11
12 nlopt_result crs_minimize(int n, nlopt_func f, void *f_data,
13                           const double *lb, const double *ub, /* bounds */
14                           double *x, /* in: initial guess, out: minimizer */
15                           double *minf,
16                           nlopt_stopping *stop,
17                           int random); /* random or low-discrepancy seq. */
18
19 #ifdef __cplusplus
20 }  /* extern "C" */
21 #endif /* __cplusplus */
22
23 #endif
24