NLopt is a free/open-source library for nonlinear optimization,
providing a common interface for a number of different free
optimization routines available online as well as original
implementations of various other algorithms.
Provides
Requires
License
LGPL-2.1-or-later
Changelog
* Wed Jun 10 2026 Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.11.0:
* New CCSA and MMA parameters inner_gradients and always_improve
(gh#stevengj/nlopt#623).
* Various minor bugfixes (gh#stevengj/nlopt#637,
gh#stevengj/nlopt#640).
* Wed Feb 18 2026 Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.10.1:
* Fixed octave 10.x build [gh#stevengj/nlopt#616].
* Fixed slsqp constraints count [gh#stevengj/nlopt#598].
* Fixed build with libstdc++ debug iterators
[gh#stevengj/nlopt#627].
* Fixed PRAXIS evaluations count [gh#stevengj/nlopt#606].
- Drop nlopt-dont-force-cxx-standard.patch: upstreamed.
* Thu May 22 2025 Atri Bhattacharya <badshah400@gmail.com>
- Add nlopt-dont-force-cxx-standard.patch: Don't force c++11 std
for builds to allow building octave bindings against octave 10+
[gh#stevengj/nlopt#616]; patch taken from upstream commit
[gh#stevengj/nlopt#597] and rebased for current version.
- For default flavour, build non-python bindings only for default
python3 version. This reduces build times.
- Do not force -D_FORTIFY_SOURCE=2 any more (fixed since version
2.9.1, see gh#stevengj/nlopt#563).
* Sun Feb 09 2025 Bernhard Wiedemann <bwiedemann@suse.com>
- Use strip-nondeterminism to normalize jar mtimes for reproducible builds
* Thu Feb 06 2025 Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.10.0:
* New Java bindings (gh#stevengj/nlopt#578).
* Allow disabling exceptions with set_exceptions_enabled
(gh#stevengj/nlopt#580).
* Configurable tolg tolerance parameter for Luksan gradient
stopping condition (gh#stevengj/nlopt#585).
* Restored LD_LBFGS_NOCEDAL enum value (dropped in 2.9) to ease
backwards compatibility for wrappers in other languages
(though this algorithm is currently unimplemented)
(gh#stevengj/nlopt#587).
- Build and install java bindings as part of a newly split
nlopt-java package.
- Bump shlib name in keeping with upstream so version update.
* Fri Dec 20 2024 Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.9.1:
* Fixed PRAXIS box constraints (gh#stevengj/nlopt#528).
* Sun Nov 17 2024 Atri Bhattacharya <badshah400@gmail.com>
- Fix %requires_eq usage for "pkgconfig(octave)".
* Thu Nov 14 2024 Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.9.0:
* New NLOPT_LUKSAN cmake option to build without Luksan LGPL
code (gh#stevengj/nlopt#568).
* Dropped unused LD_LBFGS_NOCEDAL enum value.
* Python 3.13 support (gh#stevengj/nlopt#565).
* Fixed COBYLA not returning the optimum (gh#stevengj/nlopt#57)
* Fixed SLSQP returning infeasible optimum
(gh#stevengj/nlopt#368)
* Fixed STOGO not registering new optimum
(gh#stevengj/nlopt#504)
* Various minor bugfixes (gh#stevengj/nlopt#570,
gh#stevengj/nlopt#563, gh#stevengj/nlopt#379,
gh#stevengj/nlopt#511)
- Update License to LGPL-2.1-or-later in keeping with upstream.
* Sat Aug 10 2024 Atri Bhattacharya &l