FRAMES NO FRAMES

Class IloPoolOperator::SuccessEvent

Definition file: ilsolver/iimoperator.h
Include file: <ilsolver/iim.h>
The event produced by pool operators when they are involved in the production of a solution.

When an operator succeeds, it produces an event of type IloPoolOperator::SuccessEvent. This event is produced when all operators involved in the creation of a solution have succeeded, just after the new solution has been stored.

For instance, if an operator op has been formed using op = op1 && op2, and when op is executed, op1 succeeds and op2 fails, this is treated as a global failure and no success events are issued. If both op1 and op2 have succeeded, however, success events would be produced for op1, op2 and the combined operator op.

In the case where op has been formed using op = op1 || op2 , if op1 succeeds then success events are produced for operators op1 and op. Otherwise, if op2 succeeds, success events are produced for operators op2 and op.

See Also:

Inherited Methods from Event
getOperator, getSolver