This tutorial explains how to construct the Basic Example. We will cover every step and explain why and when you should use a particular construct. The example uses C# as programming language, but the C++ and Java versions are very similar.
Before starting this tutorial, make sure you adjusted your application project/environment for using the SDK, see Getting Started.
Name |
Description |
In order to connect with AIMMS, you should create an ISession object which represents one connection with an AIMMS process running the specified model. | |
In order to assign data to AIMMS, you will need to open up a kind of IData object. | |
In order to run a procedure you will need to open a reference to the specific procedure, MainExecution in this case. | |
If you want to retrieve the data of an identifier you have to start by opening a reference to the data of that identifier, for instance a scalar. | |
The basic example demonstrates how to transfer data between your application and AIMMS and how to run a procedure in the AIMMS model. |