Skip to main content

Hello to the World of Python-Bridge: Using aimmspy

  • January 3, 2026
  • 0 replies
  • 6 views

Chris Kuip
AIMMSian
Forum|alt.badge.img+7

 

When you need to control an AIMMS model from an external environment, the Python-Bridge provides a robust interface. Specifically, the aimmspy module allows Python scripts to connect to a running AIMMS session to exchange data and trigger logic.

 

Key Capabilities of aimmspy

The aimmspy module enables your Python environment to interact with the AIMMS model through the following actions:

  • Data Exchange: Read and write values for AIMMS sets, parameters, and variables directly from Python data structures.

  • Procedure Execution: Call AIMMS procedures from your script to run optimizations or data processing tasks.

  • Session Management: Establish and manage the connection between the Python interpreter and the AIMMS project.

 

What the Guide Covers

The article walks through a foundational "Hello World" scenario to establish the connection. Key steps include:

  1. Installing the Module: Setting up aimmspy within your Python environment.

  2. Connecting to AIMMS: Identifying the correct project and establishing a communication channel.

  3. Modifying Model State: Passing data from Python into AIMMS identifiers.

  4. Running Logic: Triggering an AIMMS procedure and retrieving the resulting output back into Python.

 

Get Started

If you are building Python-based wrappers, automated test suites, or custom UI integrations for your AIMMS models, this guide provides a starting point.

👉 Read the How-To: Hello to the World of Python-Bridge

We look forward to hearing how you plan to use aimmspy in your development workflow. Please share your questions or feedback in the comments.

Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator