pyaimms Release Notes

This document provides a summary of the changes made in each release of the pyaimms package. It includes bug fixes, improvements, and new features introduced in each version.

Version 25.2.2.1 (November 14, 2025)

Improvements

  • AIMMS projects can now be used seamlessly in both “AIMMS in the lead” and “Python in the lead” modes. The previous restriction that prevented usage when a Python environment was already active has been removed. Users must ensure when using both that when running with python in the lead that the virtual environment is set up correctly.

Resolved Issues

  • Improved the asynchronous initialization of the UV environment to prevent race conditions.

Version 25.1.4.1 (July 28, 2025)

Improvements

  • Added an timeout parameter that can be set to avoid getting stuck on initialization of the UV.

Resolved Issues

  • Fixed an issue where aimmspy would get stuck when closing the IDE.

Version 25.1.3.1 (July 28, 2025)

Improvements

  • Improved some error handling when resources failed to open.

Resolved Issues

  • Fixed a crash when UV is running and exiting AIMMS.

  • Changed a typo in an error message from “on of” to “one of”.

Version 25.1.1.3 (July 28, 2025)

Improvements

  • pyaimms now always requires a pyproject.toml file, which must specify the Python version and dependencies.

  • The setup of the UV environment is now asynchronous. Dependencies and environment are installed only when the first Python statement or script is executed, resulting in a brief initial wait. Subsequent Python loading is immediate.

  • pyaimms can now be run in the cloud.

  • Add extra guard rails for system defined python environment variables should not have those because its all set up by AIMMS.