Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ipopt_jll with LBT #327

Merged
merged 18 commits into from
Oct 19, 2022
5 changes: 4 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ version = "1.0.4"

[deps]
Ipopt_jll = "9cc047cb-c261-5740-88fc-0cf96f7bdcc7"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"
OpenBLAS32_jll = "656ef2d0-ae68-5445-9ca0-591084a874a2"
odow marked this conversation as resolved.
Show resolved Hide resolved

[compat]
Ipopt_jll = "=3.13.2, =3.13.4, =300.1400.400"
Ipopt_jll = "=3.13.2, =3.13.4, =300.1400.400, =300.1400.401"
MathOptInterface = "1"
OpenBLAS32_jll = "=0.3.10"
odow marked this conversation as resolved.
Show resolved Hide resolved
julia = "1.6"

[extras]
Expand Down
5 changes: 5 additions & 0 deletions src/Ipopt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@
module Ipopt

import Ipopt_jll
import OpenBLAS32_jll
import MathOptInterface
import LinearAlgebra

const MOI = MathOptInterface

function __init__()
if VERSION >= v"1.8"
odow marked this conversation as resolved.
Show resolved Hide resolved
LinearAlgebra.BLAS.lbt_forward(OpenBLAS32_jll.libopenblas_path)
odow marked this conversation as resolved.
Show resolved Hide resolved
end
global libipopt = Ipopt_jll.libipopt
return
end
Expand Down