chiark / gitweb /
support equality constraints in COBYLA (internally, just a pair of inequality constra...
[nlopt.git] / api / optimize.c
index 2c169b173fc6c9278d179e506bd00309674929e8..fe2164fdfc65bc1afad29b8c9dfc988add9e1978 100644 (file)
@@ -423,6 +423,7 @@ static nlopt_result nlopt_optimize_(nlopt_opt opt, double *x, double *minf)
                   return NLOPT_OUT_OF_MEMORY;
              return cobyla_minimize(ni, f, f_data, 
                                     opt->m, opt->fc,
+                                    opt->p, opt->h,
                                     lb, ub, x, minf, &stop,
                                     step);
         }