You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@julvez - Thanks for submitting this. If you are on a released version (e.g., if you installed from conda or pypi), then you do not have the latest updates. We added numpy2 compatibility in #3292 but have not yet released a new full version of Pyomo.
In the future, please use the template provided. In particular, we need answers to the following:
Information on your system
Pyomo version:
Python version:
Operating system:
How Pyomo was installed (PyPI, conda, source):
Solver (if applicable):
Hi!
The following imports (last versions of both pyomo and numpy):
yield the following error:
AttributeError:
np.float_
was removed in the NumPy 2.0 release. Usenp.float64
instead.. Did you mean: 'float16'?Best,
Jorge
The text was updated successfully, but these errors were encountered: