Install this package:
emerge -a sci-libs/nlopt
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask sci-libs/nlopt
Or alternatively:
emerge --autounmask-write -a sci-libs/nlopt
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.7.1-r100 | 8 | amd64 ~arm64 ~ppc ppc64 ~riscv ~x86 | 0 |
| 2.10.0-r1 | 8 | amd64 ~arm64 ~ppc ppc64 ~riscv ~x86 | 0 |
<pkgmetadata>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<longdescription lang="en">
NLopt is a 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. Its features include:
* Callable from variety of languages (C, C++, Fortran, Python, Octave)
* A common interface for many different algorithms—try a different
algorithm just by changing one parameter.
* Both global and local optimization algorithms.
* Both derivative-free and gradient-based optimization algorithms.
* Algorithms for unconstrained optimization, bound-constrained
optimization, and general nonlinear inequality constraints.
</longdescription>
<use>
<flag name="octave">Add plugin for <pkg>sci-mathematics/octave</pkg></flag>
</use>
<upstream>
<remote-id type="github">stevengj/nlopt</remote-id>
</upstream>
</pkgmetadata>
Manage flags for this package:
euse -i <flag> -p sci-libs/nlopt |
euse -E <flag> -p sci-libs/nlopt |
euse -D <flag> -p sci-libs/nlopt
| Flag | Description | 2.7.1-r100 | 2.10.0-r1 |
|---|---|---|---|
| cxx | Build support for C++ (bindings, extra libraries, code generation, ...) | ✓ | ✗ |
| guile | Add support for the guile Scheme interpreter | ✓ | ✓ |
| octave | Add plugin for <pkg>sci-mathematics/octave</pkg> | ✓ | ✓ |
| python | Add optional support/bindings for the Python language | ✓ | ✓ |
| test | Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) | ✓ | ✓ |
| Type | File | Size | Versions |
|---|
| Type | File | Size |
|---|---|---|
| DIST | nlopt-2.10.0.tar.gz | 2065021 bytes |
| DIST | nlopt-2.7.1.tar.gz | 2044180 bytes |