Closed julvez closed 2 months ago
I second this issue, but looks like it was already discussed here...
@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:
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