Py-bobyqa

Latest version: v1.5.0

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.5.0

---------------------------
* Added support for general convex constraints

1.4.1

---------------------------
* Migrate package setup to pyproject.toml (required for Python version 3.12)
* Drop support for Python 2.7 and <=3.7 due to new setup process

1.4

-------------------------
* Return diagnostic information as dictionary if Pandas not available (removes Pandas dependency)
* Handle Nan/Inf values in model gradient and Hessian by gracefully exiting trust-region subproblem
* Bugfix: automatically make model Hessian symmetric before trust-region subproblem with warning, instead of returning an error
* Bugfix: reset slow iteration counter when doing soft restarts

1.3

-------------------------
* Remove NumPy deprecation warnings from use of np.int and np.float

1.2

-------------------------
* Use deterministic initialisation by default (so it is no longer necessary to set a random seed for reproducibility of Py-BOBYQA results).
* Full model Hessian stored rather than just upper triangular part - this improves the runtime of Hessian-based operations.
* Faster trust-region and geometry subproblem solutions in Fortran using the `trustregion <https://github.com/lindonroberts/trust-region>`_ package.
* Don’t adjust starting point if it is close to the bounds (as long as it is feasible).
* Option to stop default logging behavior and/or enable per-iteration printing.
* Bugfix: correctly handle 1-sided bounds as inputs, avoid divide-by-zero warnings when auto-detecting restarts.

1.1.1

--------------------------
* Link code to Zenodo, to create DOI - no changes to the Py-BOBYQA algorithm.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.