In a custom Java task, the message that appears in the Solve Progress dialog can be changed with the IloCustomTaskContext.notifyProgress method. In an OPL task using a flow control in OPL Script, how do I update the Solve Progress message?
Source: OPL Script Solve Status in DOC