A library for nonlinear optimization

Edit Package nlopt

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.

Refresh
Refresh
Source Files
Filename Size Changed
nlopt-cmake-3.13.patch 0000001608 1.57 KB
nlopt-octave-5.0.patch 0000003539 3.46 KB
nlopt.changes 0000005116 5 KB
nlopt.spec 0000004296 4.2 KB
v2.5.0.tar.gz 0002403609 2.29 MB
Latest Revision
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 691771 from Atri Bhattacharya's avatar Atri Bhattacharya (badshah400) (revision 11)
- Update to version 2.5.0:
  * New AGS global solver (gh#stevengj/nlopt#194).
  * New `nlopt_get_numevals` function providing a built-in
    evaluation counter (gh#stevengj/nlopt#160).
  * New `nlopt_get_errmsg` function for more descriptive error
    messages.
  * Build system is converted to `cmake` (gh#stevengj/nlopt#49).
  * Plugins updated for recent Octave and Guile versions.
  * Various other build fixes and minor bug fixes.
- Drop patches already incorporated upstream or otherwise fixed:
  * nlopt-2.3-pkgconfig.patch
  * pythondir.patch
  * nlopt-octave-4.0.patch
  * nlopt-octave4.4-prefixdir.patch
  * nlopt-octave4.4-do_multi_index_op.patch
- New patches:
  * nlopt-octave-5.0.patch: Fix compilation and running against
    octave >= 5.0; patch taken from upstream git commit.
  * nlopt-cmake-3.13.patch: Fix building python module when using
    cmake 3.13+; patch taken from upstream git commit and rebased
    to apply cleanly.
- Switch to building python3 modules instead of python2.
- Switch to cmake build system in keeping with upstream; introduce
  BuildRequires: cmake and drop libtool.
- New BuildRequires: swig needed to build python module.
- Use %%autosetup to setup build directory and apply patches.
- Add patches to fix compilation against octave 4.4:
  * nlopt-octave4.4-prefixdir.patch: Fix how to find octave's
    prefix dir in configure.ac: octave-config no longer supports
    the keyword PREFIX and uses OCTAVE_HOME in its stead; patch
    being sent upstream. Add BuildRequires: libtool and regenerate
    build files (autoreconf -fvi) before configuring build.
  * nlopt-octave4.4-do_multi_index_op.patch: Replace
    do_multi_index_op by feval; the former is dropped from octave
    4.4; patch being sent upstream.
- Package python modules installed to sitelib as well.
- Use %requires_eq octave-cli instead of Requires, octave installs
  its files to versioned dirs, so it is important for nlopt to
  be rebuilt for every version update of octave. Making the
  Requires version dependent achieves this.
- Fix compatibility with Octave 4.0
  * nlopt-octave-4.0.patch
- Disable Octave module due to incompatibility with Octave 4.0
- Update to version 2.4.2
  * Bugfix release, see included NEWS file for details.
- Update package descriptionts.
- Update to version 2.4.1
  - No Linux relevant changes from version 2.4.0 
- Changes from version 2.4.0:
  + New genetic algorithm ESCH
  + Fix swig dir for VPATH builds
  + Use python-config program in the configure script to find the
    include directories for Python, if possible (may be overridden
    by PYTHON_CONFIG environment variable)
  + Bugfix in copy constructor for C++ and Python interfaces
  + Bugfix in return value for setting min/max objective
  + Handle negative rescalings in COBYLA and BOBYQA
  + Plugin installation honors the configure --prefix, if any
  + Various compilation fixes for compatibility with recent
    software
- Packaging changes:
  + Minor rebase of pythondir.patch
  + Drop nlopt-2.3-no-return-in-nonvoid-function.patch: corrected
    upstream.
- install python parts to sitearch (pythondir.patch)
- Add fix for .pc file so we can use this library even
  with other projects.
  * nlopt-2.3-pkgconfig.patch
- remove %%clean section
- add minimal single-line comment in spec file for patch0
- add files on %%doc section
- spec file cleanup
- add python(abi) requirements recent recent products
- update source url
- again fix build on x86_64 
- fix build on x86_64
- fix package group names 
- first package 
Comments 0
openSUSE Build Service is sponsored by