chiark / gitweb /
another missing file
authorstevenj <stevenj@alum.mit.edu>
Mon, 18 Aug 2008 22:39:13 +0000 (18:39 -0400)
committerstevenj <stevenj@alum.mit.edu>
Mon, 18 Aug 2008 22:39:13 +0000 (18:39 -0400)
darcs-hash:20080818223913-c8de0-2d8611743aa92c3866db7a23166444f87dab7b0f.gz

crs/crs.h [new file with mode: 0644]

diff --git a/crs/crs.h b/crs/crs.h
new file mode 100644 (file)
index 0000000..b4c5ae9
--- /dev/null
+++ b/crs/crs.h
@@ -0,0 +1,24 @@
+#ifndef CRS_H
+#define CRS_H
+
+#include "nlopt.h"
+#include "nlopt-util.h"
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif /* __cplusplus */
+
+nlopt_result crs_minimize(int n, nlopt_func f, void *f_data,
+                         const double *lb, const double *ub, /* bounds */
+                         double *x, /* in: initial guess, out: minimizer */
+                         double *minf,
+                         nlopt_stopping *stop,
+                         int random); /* random or low-discrepancy seq. */
+
+#ifdef __cplusplus
+}  /* extern "C" */
+#endif /* __cplusplus */
+
+#endif
+