ContentsIndexHome
PreviousUpNext
IProcedure::run Method (std::vector<IData*>&, int)

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. 

 

C++
virtual int run(std::vector<IData*>& args, 
                        int timeout = -1) = 0;
Parameters 
Description 
std::vector<IData*>& args 
The arguments to run the procedure with.  
int timeout = -1 
The amount of time in milliseconds to wait for the procedure to finish. A value of -1 is equivalent to infinite.  

The return value of the AIMMS procedure.