NLopt.jl is licensed under the MIT License.
NLopt.jl using the Julia package manager:
import Pkg Pkg.add("NLopt")
In addition to installing the
NLopt.jl package, this will also download and install the NLopt binaries. You do not need to install NLopt separately.
You can use NLopt with JuMP as follows:
using JuMP, NLopt model = Model(NLopt.Optimizer) set_attribute(model, "algorithm", :LD_MMA)
algorithm attribute is required. The value must be one of the supported NLopt algorithms.