do not allocate xtol_abs unless needed (#268)
* do not allocate xtol_abs unless needed As discussed in #183, it is beneficial to avoid allocating potentially huge buffers of size `n` unless `x`-tolerance criteria are used. * bobyqa: handle xtol_abs == NULL * cdirect: handle xtol_abs == NULL * cdirect/hybrid: handle xtol_abs == NULL * cobyla: handle xtol_abs == NULL * sbplx: handle xtol_abs == NULL * newuoa: handle xtol_abs == NULL * praxis: handle xtol_abs == NULL * optimize.c: handle xtol_abs == NULL
Showing
想要评论请 注册 或 登录