Executes the procedure.
Runs the procedure with the provided arguments; this methods blocks further execution until the AIMMS procedure has returned or the timeout expires. In the latter case an CommunicationException is raised.
virtual int run(IData* arg1 = 0, IData* arg2 = 0, IData* arg3 = 0, IData* arg4 = 0, IData* arg5 = 0, IData* arg6 = 0, IData* arg7 = 0, IData* arg8 = 0, int timeout = -1) = 0;
Runs the procedure with the provided arguments; this methods blocks further execution until the AIMMS procedure has returned or the timeout expires. In the latter case an CommunicationException is raised.
virtual int run(std::vector<IData*>& args, int timeout = -1) = 0;
Before the procedure is executed, all buffers are flushed.
The last arguments in both notations is a timeout in milliseconds for the execution. A timeout of -1 means no timeout.