Julia's CUTEst Interface
CUTEst.jl:This is work in progress to create an interface to CUTEst based on NLP.jl.
Installing
To install CUTEst, we suggest using the Homebrew CUTEst tap, which will build a shared library.
julia> Pkg.clone("https://github.com/optimizers/NLP.jl.git")
julia> Pkg.clone("https://github.com/optimizers/CUTEst.jl.git")
Example
using CUTEst
nlp = CUTEstModel("BYRDSPHR.SIF");
print(nlp);
(f, c) = objcons(nlp, nlp.meta.x0);
(f, g) = objgrad(nlp, nlp.meta.x0, true);
nlp.meta.ncon > 0 && (c, J) = cons(nlp, nlp.meta.x0, true);
H = hess(nlp, nlp.meta.x0));
Related Packages
ampl.jl provides an interface to AMPL models based on NLP.jl.