chiark / gitweb /
recommend building in a subdir
[nlopt.git] / src / algs / slsqp / slsqp.h
1 #ifndef SLSQP_H
2 #define SLSQP_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 nlopt_slsqp(unsigned n, nlopt_func f, void *f_data,
13                          unsigned m, nlopt_constraint *fc,
14                          unsigned p, nlopt_constraint *h,
15                          const double *lb, const double *ub,
16                          double *x, double *minf,
17                          nlopt_stopping *stop);
18 #ifdef __cplusplus
19 }  /* extern "C" */
20 #endif /* __cplusplus */
21
22 #endif