From: stevenj Date: Mon, 18 Aug 2008 22:39:13 +0000 (-0400) Subject: another missing file X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=1efe6dcc119f23bc47b5ca220ce4da47d9679cf5;p=nlopt.git another missing file darcs-hash:20080818223913-c8de0-2d8611743aa92c3866db7a23166444f87dab7b0f.gz --- diff --git a/crs/crs.h b/crs/crs.h new file mode 100644 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 +