The routine :aimmsGMP::SolverSession::WaitForSingleCompletion
has a set of objects as its input. The set of objects may contain solver sessions that are asynchronous executing and events. This routine lets AIMMS waits until one of the solver sessions has completed its asynchronous execution or one of the events gets activated, and it returns the completed object.
GMP::SolverSession::WaitForSingleCompletion(
Objects ! (input) a set of objects
)
- Objects
A subset of :aimms
AllSolverSessionCompletionObjects
.
An element in the set :aimms
AllSolverSessionCompletionObjects
.
Note
- This routine ignores solver sessions that are not asynchronous executing but using the procedure :aimms
GMP::SolverSession::Execute
. - This routine will return immediately if one of the objects is a solver session that has execution status 'Finished'.
The routines :aimmsGMP::Event::Create
, :aimmsGMP::Event::Set
, :aimmsGMP::SolverSession::AsynchronousExecute
, :aimmsGMP::SolverSession::Execute
, :aimmsGMP::SolverSession::ExecutionStatus
, :aimmsGMP::SolverSession::Interrupt
and :aimmsGMP::SolverSession::WaitForCompletion
.