Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stopwatch Library

Downloads AIMMS Version

This repository contains an AIMMS toolkit: Stopwatch Library. It measures how long a block of AIMMS code takes, with two procedures.

🔧 What This Toolkit Solves

Timing a block of code in AIMMS means capturing a moment before it, capturing another after it, and converting the difference - every single time you want a number.

This library reduces that to pr_start before the block and fnc_elapsed after it, and keeps up to ten stopwatches running at once, so nested or parallel measurements do not interfere with each other.

📖 How to Use This Toolkit

To get the most out of this toolkit, we highly recommend reading our detailed step-by-step guide on the AIMMS How-To website:

👉 Read the Full Article: Stopwatch Library

Prerequisites

  • AIMMS: You will need AIMMS installed to run the model. Download the Free Academic Edition here.
  • A project to add it to: this toolkit is a library, meant to be imported into an application of your own.

🚀 Getting Started

  1. Download the Release: Go to the Releases page and download the .zip file from the latest version.
  2. Open the Project: Launch the .aimms file.
  3. Add the Library: in your own project, use File > Library Manager > Add Library from Disk.
  4. Measure: call pr_start before the code you want to time and fnc_elapsed after it.

🤝 Support & Feedback

This toolkit is maintained by the AIMMS User Support Team.


Maintained by the AIMMS User Support Team. We optimize the way you build optimization.

About

This repository contains an AIMMS toolkit: Stopwatch Library. It measures how long a block of AIMMS code takes, with two procedures.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Contributors