chiark / gitweb /
added CCSAQ algorithm; internal support for preconditioners (untested) not yet export...
[nlopt.git] / mma / mma.h
index 68d8059bc38e6a7aea53efc9a055e16a43916b05..a08b043bd3954a4906c3934c3cc002f288091340 100644 (file)
--- a/mma/mma.h
+++ b/mma/mma.h
@@ -41,6 +41,19 @@ nlopt_result mma_minimize(unsigned n, nlopt_func f, void *f_data,
                          nlopt_stopping *stop,
                          nlopt_opt dual_opt);
 
+nlopt_result ccsa_quadratic_minimize(
+     unsigned n, nlopt_func f, void *f_data,
+     unsigned m, nlopt_constraint *fc,
+
+     nlopt_precond pre, void *pre_data, /* for f */
+     nlopt_precond *prec, void **prec_data, /* length = # constraints */
+
+     const double *lb, const double *ub, /* bounds */
+     double *x, /* in: initial guess, out: minimizer */
+     double *minf,
+     nlopt_stopping *stop,
+     nlopt_opt dual_opt);
+
 #ifdef __cplusplus
 }  /* extern "C" */
 #endif /* __cplusplus */