chiark
/
gitweb
/
~ianmdlvl
/
nlopt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support equality constraints in COBYLA (internally, just a pair of inequality constra...
[nlopt.git]
/
api
/
optimize.c
diff --git
a/api/optimize.c
b/api/optimize.c
index 2c169b173fc6c9278d179e506bd00309674929e8..fe2164fdfc65bc1afad29b8c9dfc988add9e1978 100644
(file)
--- a/
api/optimize.c
+++ b/
api/optimize.c
@@
-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);
}