Skip to content

Unable to load HSL solvers for IPOPT on M1 Mac #1494

@mollydougher

Description

@mollydougher

I am trying to get IPOPT with the HSL solvers on my Mac (M1 chip), but the library for the HSL solvers is missing. If I try to specify an HSL solver like ma27, I get the following:

Exception of type: OPTION_INVALID in file "IpAlgBuilder.cpp" at line 268:
 Exception message: Selected linear solver MA27 not available.
Tried to obtain MA27 from shared library "libhsl.dylib", but the following error occured:
dlopen(libhsl.dylib, 0x0002): tried: 'libhsl.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibhsl.dylib' (no such file), '/Users/mollydougher/.idaes/bin/libhsl.dylib' (no such file), '/usr/local/Cellar/gcc/13.1.0/lib/gcc/current/gcc/x86_64-
EXIT: Invalid option encountered.
WARNING: Loading a SolverResults object with a warning status into
model.name="unknown";
  - termination condition: other
  - message from solver: <undefined>
{'Solver': [{'Status': 'warning', 'Termination condition': 'other'}]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions