Connect AIMMS with Gurobi¶
You can connect your on-premise Gurobi installation to AIMMS and use Gurobi as the solver for your math programs.
Gurobi offers different kinds of on-premise licenses:
Single machine (named user or unlimited user)
This article outlines the process to connect AIMMS for each kind of Gurobi license.
Locate the gurobi.lic file (usually, C:\gurobi\gurobi.lic)
Set the environment variable GRB_LICENSE_FILE to point to the exact location of this file
In the Solver Configuration dialog box in AIMMS, click on Add and select the dll for the appropriate Gurobi version (libgrb**.dll)
If you have a Gurobi compute server license, follow the instructions depending on whether you are using AIMMS on a Gurobi client machine or the server itself.
Client on a different machine¶
Create a Gurobi client license by following the instructions on Gurobi: License File
Place this file in the folder
The next steps are same as for a single machine license described in the previous section.
Client is same as server machine¶
If you are running AIMMS on the same machine as Gurobi remote services, you will need to create a separate client license file again as described on Gurobi : Creating a Compute Server
Place this license file in a different location than C:\gurobi\, say C:\Users\Name\Documents\gurobi.lic
Set the environment variable GRB_LICENSE_FILE to the file in C:\Users\Name\Documents\
Set Gurobi as the default solver in the Solver Configuration dialog like in previous steps.
AIMMS PRO with Gurobi¶
The instructions remain the same for AIMMS Developer and AIMMS PRO. Depending on whether AIMMS PRO server is a client to Gurobi server or they are on the same machine, create the appropriate license files and set the environment variables.
You will need to set Gurobi as the solver to use before creating the AIMMSPACK file and publish this with the appropriate license profile.