chiark / gitweb /
Use trusty
[nlopt.git] / isres / isres.h
index bd506fa2af238ba4a0c6f636b491a1d108516a67..7ef7f4136137e826dd10a7cf07d5487b7dea5840 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2008 Massachusetts Institute of Technology
+/* Copyright (c) 2007-2014 Massachusetts Institute of Technology
  *
  * Permission is hereby granted, free of charge, to any person obtaining
  * a copy of this software and associated documentation files (the
@@ -32,10 +32,8 @@ extern "C"
 #endif /* __cplusplus */
 
 nlopt_result isres_minimize(int n, nlopt_func f, void *f_data,
-                           int m, nlopt_func fc, /* fc <= 0 constraints */
-                           void *fc_data_, ptrdiff_t fc_datum_size,
-                           int p, nlopt_func h, /* h == 0 constraints */
-                           void *h_data_, ptrdiff_t h_datum_size,
+                           int m, nlopt_constraint *fc, /* fc <= 0  */
+                           int p, nlopt_constraint *h, /* h == 0 */
                            const double *lb, const double *ub, /* bounds */
                            double *x, /* in: initial guess, out: minimizer */
                            double *minf,