KB000053

AIMMS Knowledge Base Article – KB000053

 

Summary

If you have license of a solver and your AIMMS license has the link to that solver, you can add that solver to your AIMMS.  Currently, AIMMS provides links to the following solvers:

  • CPLEX
  • GUROBI
  • MOSEK
  • PATH
  • SNOPT
  • MINOS

 

Resolution

The general steps to link a solver to AIMMS are:

  1. Have the solver license installed correctly; you should be able to run the solver stand-alone.
  2. Copy the DLL file of the solver to the subdirectory ‘Solvers’ of AIMMS.
  3. Start AIMMS, and in the ‘Solver Configuration’ dialog box (menu: Settings – Solver Configuration), add the solver.
  4. Test if the solver is added correctly.

Specifically,

To link CPLEX to AIMMS:

  1. Have the CPLEX license installed correctly; you should be able to run CPLEX stand-alone. This requires that the Environment Variable ILOG_LICENSE_FILE is set and refers to the file access.ilm (see iLog License Manager (User’s Guide)).
  2. Copy file cplex*.dll to the subdirectory ‘Solvers’ of AIMMS.
  3. In the Solver Configuration dialog box (menu: Settings – Solver Configuration), add the CPLEX solver (libcpx*.dll). 

To link GUROBI to AIMMS:

  1. Have the GUROBI license installed correctly; you should be able to run GUROBI stand-alone.
  2. Copy file gurobi*.dll to the subdirectory ‘Solvers’ of AIMMS.
  3. In the Solver Configuration dialog box (menu: Settings – Solver Configuration), add the GUROBI solver (libgurobi*.dll).

To link MOSEK to AIMMS:

  1. Have MOSEK license installed correctly; you should be able to run MOSEK stand-alone. This requires that the Environment Variable MOSEKLM_LICENSE_FILE is set.
  2. Copy files ‘mosek*.dll’, ‘mosekglb*.dll’ and libguide40.dll (MOSEK 5) / libiomp5md.dll (MOSEK 6 and higher) to the subdirectory ‘Solvers’ of AIMMS.
  3. In the Solver Configuration dialog box, add the MOSEK solver (libmosek*.dll).

To link PATH to AIMMS:

  1. Have the PATH license installed correctly; you should be able to run PATH stand-alone.
  2. Copy file path*.dll to the subdirectory ‘Solvers’ of AIMMS.
  3. In the Solver Configuration dialog box (menu: Settings – Solver Configuration), add the PATH solver (libpath*.dll).

To link SNOPT or MINOS to AIMMS:

  1. In the Solver Configuration dialog box (menu: Settings – Solver Configuration), add the solver (libsnopt*.dll or libminos.dll). No solver DLL’s have to be copied to the ‘Solvers’ directory for SNOPT and MINOS. These DLL’s are already included in libsnopt*.dll and libminos.dll respectively.

Note:

  1. In the typical installation of AIMMS not all solvers are installed. Please check the release notes of your AIMMS version to see whether you should run the typical or the complete AIMMS installation.
  2. The MOSEK solver link is automatically provided with AIMMS Educational License Package.

More information

Please refer to this article if you get error message: “Could not initialize DLL”, or contact us at support@aimms.com.  

 

Last reviewed: 09-12-2009
Keywords: KB000053, solver link, CPLEX, GUROBI, MOSEK, PATH, SNOPT, MINOS