提交 f0586925 编写于 作者: S stevenj

lower tolerance for dual optimization in MMA/CCSAQ; thanks to Christophe...

lower tolerance for dual optimization in MMA/CCSAQ; thanks to Christophe Leruste for the problem report

Ignore-this: b8b4e324f9626f48a8e71d15dcb04c0e

darcs-hash:20111126195413-c8de0-7d5070a069d030f85c5dc42fe643af015290ae9e.gz
上级 a96849e9
......@@ -651,7 +651,7 @@ static nlopt_result nlopt_optimize_(nlopt_opt opt, double *x, double *minf)
nlopt_count_constraints(opt->m,
opt->fc));
if (!dual_opt) return NLOPT_FAILURE;
nlopt_set_ftol_rel(dual_opt, LO(ftol_rel, 1e-12));
nlopt_set_ftol_rel(dual_opt, LO(ftol_rel, 1e-14));
nlopt_set_ftol_abs(dual_opt, LO(ftol_abs, 0.0));
nlopt_set_maxeval(dual_opt, LO(maxeval, 100000));
#undef LO
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册