I can't see HSL functions after install #170
-
Hi, I was following the install instructions and the package doesn't seem to have any functions defined. I'm probably just missing something as I'm still getting started in Julia. What I did:
Now when I try to use it I just get:
Does anyone know what I'm doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Hi Andrew! We would like to use the COIN-HSL library in the future but we need to have |
Beta Was this translation helpful? Give feedback.
-
With the help of |
Beta Was this translation helpful? Give feedback.
-
It looks like you have successfully installed the HSL package and its dependencies, but you may need to explicitly load the HSL subpackage that contains the function you are trying to use. In this case, Ma97 is a function in the HSL_MA97 subpackage, so you can try loading that subpackage explicitly like this: using HSL.HSL_MA97 Then you should be able to use the Ma97 function as expected. |
Beta Was this translation helpful? Give feedback.
-
For information, we don't have submodules for the HSL packages. |
Beta Was this translation helpful? Give feedback.
Hi Andrew!
The functions of the HSL packages are only defined if the related packages are installed.
If you want to use Ma97 or the other solvers, you need the archives of the following files:
https://github.com/JuliaSmoothOptimizers/HSL.jl/blob/main/deps/versions.jl
We would like to use the COIN-HSL library in the future but we need to have
c
andz
versions of the solvers.