Procedure GMP::SolverSession::WaitForCompletion(solSesSet)

GMP::SolverSession::WaitForCompletion

The procedure GMP::SolverSession::WaitForCompletion has a set of objects as its input. The set of objects may contain solver sessions that are asynchronous executing and events. This procedure lets AIMMS wait until all the solver sessions have completed their asynchronous execution and all the events get activated.

GMP::SolverSession::WaitForCompletion(
     solSesSet           ! (input) a set of objects
     )

Arguments

solSesSet

A subset of AllSolverSessionCompletionObjects.

Return Value

The procedure returns 1 on success, or 0 otherwise.

Note

This procedure ignores solver sessions that are not asynchronous executing but using the procedure GMP::SolverSession::Execute.