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

Update Pyomo for NumPy 2 #3292

Merged
merged 7 commits into from
Jun 25, 2024
Merged

Update Pyomo for NumPy 2 #3292

merged 7 commits into from
Jun 25, 2024

Commits on Jun 17, 2024

  1. Update Pyomo for NumPy 2

    mrmundt committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    1e7fabd View commit details
    Browse the repository at this point in the history
  2. Change to insert

    mrmundt committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    cb67230 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Switch writers to use str() (instead of repr()) for numeric constants

    In Python 3.x, str() and repr() are the same for float, and beginning in
    numpy 2.0 `repr(float64(n))` produces `numpy.float64(n)`, whereas str()
    produces `n`
    jsiirola committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    6f86e32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2145a16 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e5973d4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c88e0d5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3ea998a View commit details
    Browse the repository at this point in the history