Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,30 @@ export OMP_CANCELLATION=TRUE
export OMP_PROC_BIND=TRUE
```

### smf

If you use Ipopt.jl with Julia ≥ v1.11, you can use the open-source sparse
direct solver [smf](https://github.com/danlil240/smf-solver) via `smf_jll`,
which ships a drop-in library for Ipopt's `ma97` interface.

Install `smf_jll` from the General registry:
```julia
import Pkg
Pkg.add("smf_jll")
```

Then point `hsllib` at `smf_jll.libsmf_ma97_path` and set `linear_solver` to `"ma97"`:
```julia
using JuMP, Ipopt
import smf_jll
model = Model(Ipopt.Optimizer)
set_attribute(model, "hsllib", smf_jll.libsmf_ma97_path)
set_attribute(model, "linear_solver", "ma97")
```

Note that `smf_jll` links `OpenBLAS32_jll` directly rather than `libblastrampoline`.
The thread count can be controlled via `SMF_NUM_THREADS` or `OMP_NUM_THREADS`.

## BLAS and LAPACK

With Julia v1.9 or later, Ipopt and the linear solvers [MUMPS](https://mumps-solver.org/index.php)
Expand Down
Loading