This is a Julia MOI interface to the HiOp HPC nonlinear solver.
First, ensure that Hiop's shared library is in LD_LIBRARY_PATH
, or
the environment variable JULIA_HIOP_LIBRARY_PATH
is set.
Then, open a Julia REPL and instantiate the environment:
pkg> dev https://github.com/exanauts/Hiop.jl
It remains to build Hiop with:
pkg> build Hiop
You are now able to load Hiop in Julia:
julia> using Hiop
pkg> test Hiop
# Dense algebra
model = Model(optimizer_with_attributes(Hiop.Optimizer, "algebra" => :Dense))
# Sparse algebra
model = Model(optimizer_with_attributes(Hiop.Optimizer, "algebra" => :Sparse))