KB000031

AIMMS Knowledge Base Article – KB000031

 

Calling AIMMS from other applications or other applications from AIMMS

 

Summary

This article provides information on possible interaction of AIMMS with other applications.

Symptoms

You would like to use AIMMS in combination with other applications, but it is not yet clear which combinations are possible.

Resolution

The following table shows the possibilities for calling AIMMS from other applications or calling other applications from within AIMMS. In this table, rows are callers and columns are callees. Each entry then points whether or not it is natively possible to call from the caller to the callee.

 

   AIMMS  .NET C++ (.dll)  Java  COM  WebService 
 AIMMS Yes No Yes No No Yes*
 .NET No       Yes Yes
 C++ (.dll) Yes       Yes Yes
 Java No       Yes Yes
 COM Yes Yes Yes   Yes Yes
 WebService Yes Yes Yes Yes Yes Yes

*) AIMMS can only call WebServices that implement the WSDL-format generated by AIMMS

It can also be noticed that, in principle, you can get from everywhere to anywhere, but you might need a step in between. COM (or Webservices) can be used as such an intermediate step.

The following FAQ lists may ease the interpretation of the table above:

Q: “Is it possible to call AIMMS from .NET ?”

A: “Yes, since .NET natively supports COM objects you can use the AIMMS COM object within .NET for communicating with AIMMS.”

Q: “Is it possible to call AIMMS from C++ ?”

A: “Yes, AIMMS ships with an C++ API.”

Q: “Is it possible to call AIMMS from Java ?”

A: “Yes, but you will have to do that through COM as well, there are several commercial and freeware toolkits available that can help you achieve this.”

Q: “Is it possible to call AIMMS using COM?”

A: “Yes AIMMS provides a COM object that can be used to access identifiers etc.”

Q: “Is it possible to call AIMMS using WebServices ?”

A: “Yes AIMMS provides functionality to let AIMMS run as webservice.”

Q: “Can I use my .NET component within AIMMS ?”

A: “No, but you could write your own C++ .dll that accesses your .NET component through COM.”

Q: “Can I use my C++ dll component within AIMMS ?”

A: “Yes, if the exposed routines follow the AIMMS guidelines this is possible.”

Q: “Can I use my Java component within AIMMS ?”

A: “No, but you could write your own C++ .dll that accesses your Java component.”

Q: “Can I call AIMMS through a WebService protocol?”
A: “Yes, AIMMS provides functionality to expose an AIMMS project as a WebService.”

Q: “Can I use my WebService component within AIMMS ?”

A: “Yes, provided that your WebService component implements the WSDL-format generated by AIMMS.”

 

More information

For more information, please contact us at support@aimms.com.

 

 

Last reviewed: 22-06-2007