This repository contains an AIMMS toolkit: Zip Library. It compresses a folder into a file and extracts it back, on Windows and on Linux.
AIMMS has no built-in way to zip a folder, and the shell commands that do it differ between Windows and Linux - which matters the moment an application that works on a developer machine is published to the AIMMS Cloud.
This library wraps both behind pr_zipFolderToFile and pr_unzipFileToFolder, so the
same call works in either place.
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: Zip Library
- 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.
- Download the Release: Go to the Releases page and download the
.zipfile from the latest version. - Open the Project: Launch the
.aimmsfile. - Add the Library: in your own project, use File > Library Manager > Add Library from Disk.
- Zip or Unzip: call
pr_zipFolderToFileto compress a folder, orpr_unzipFileToFolderto extract one.
This toolkit is maintained by the AIMMS User Support Team.
- Found an issue? Open an issue.
- Questions? Reach out via the AIMMS Community.
Maintained by the AIMMS User Support Team. We optimize the way you build optimization.