Skip to content

exanauts/Hiop.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hiop.jl

tests

This is a Julia MOI interface to the HiOp HPC nonlinear solver.

Install dependencies

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

Run tests

pkg> test Hiop

Using dense or sparse algebra in HiOp

# Dense algebra
model = Model(optimizer_with_attributes(Hiop.Optimizer, "algebra" => :Dense))
# Sparse algebra
model = Model(optimizer_with_attributes(Hiop.Optimizer, "algebra" => :Sparse))