2018-01-07 14:03:53 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.2 2018/01/07 13:04:23 rillig Exp $
|
Import nlopt-2.4.2 as math/nlopt.
NLopt is a free/open-source library for nonlinear optimization,
providing a common interface for a number of different free optimization
outines available online as well as original implementations of various
other algorithms.
Its features include:
- Callable from C, C++, Fortran, Matlab or GNU Octave, Python,
GNU Guile, Julia, GNU R, Lua, and OCaml.
- A common interface for many different algorithms -- try a different
algorithm just by changing one parameter.
- Support for large-scale optimization (some algorithms scalable to
millions of parameters and thousands of constraints).
- Both global and local optimization algorithms.
- Algorithms using function values only (derivative-free) and also
algorithms exploiting user-supplied gradients.
- Algorithms for unconstrained optimization, bound-constrained
optimization, and general nonlinear inequality/equality constraints.
Reviewed by: wiz@
2015-11-28 08:33:38 +01:00
|
|
|
|
|
|
|
BUILDLINK_TREE+= nlopt
|
|
|
|
|
|
|
|
.if !defined(NLOPT_BUILDLINK3_MK)
|
|
|
|
NLOPT_BUILDLINK3_MK:=
|
|
|
|
|
|
|
|
BUILDLINK_API_DEPENDS.nlopt+= nlopt>=2.4.2
|
|
|
|
BUILDLINK_ABI_DEPENDS.nlopt+= nlopt>=2.4.2
|
2018-01-07 14:03:53 +01:00
|
|
|
BUILDLINK_PKGSRCDIR.nlopt?= ../../math/nlopt
|
Import nlopt-2.4.2 as math/nlopt.
NLopt is a free/open-source library for nonlinear optimization,
providing a common interface for a number of different free optimization
outines available online as well as original implementations of various
other algorithms.
Its features include:
- Callable from C, C++, Fortran, Matlab or GNU Octave, Python,
GNU Guile, Julia, GNU R, Lua, and OCaml.
- A common interface for many different algorithms -- try a different
algorithm just by changing one parameter.
- Support for large-scale optimization (some algorithms scalable to
millions of parameters and thousands of constraints).
- Both global and local optimization algorithms.
- Algorithms using function values only (derivative-free) and also
algorithms exploiting user-supplied gradients.
- Algorithms for unconstrained optimization, bound-constrained
optimization, and general nonlinear inequality/equality constraints.
Reviewed by: wiz@
2015-11-28 08:33:38 +01:00
|
|
|
.endif # NLOPT_BUILDLINK3_MK
|
|
|
|
|
|
|
|
BUILDLINK_TREE+= -nlopt
|