Invoked by the modeling assistance callback.

Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0

Syntax

C#
void Invoke(
	int issueid,
	string message
)
Visual Basic
Sub Invoke ( _
	issueid As Integer, _
	message As String _
)

Parameters

issueid
Type: System..::..Int32
The modeling assistance issue ID.
message
Type: System..::..String
The modeling assistance warning string.

Remarks

If an object is registered with CPLEX by means of the method Cplex.Use(ModelingAssistance.Callback), then CPLEX will invoke this function of the registered object for each modeling assistance warning. These warnings will not be displayed in the engine log as they are by default when no callback is registered. For values of issueid, see the constants in ModelingAssistance.

Note: CPLEX will only invoke this function if the CPLEX parameter Cplex.Param.Read.DataCheck is set to Cplex.DataCheck.Assist. In addition, the parameter Cplex.Param.Read.WarningLimit controls the number of times each type of modeling assistance warning will be reported (the rest will be ignored). See CPX_PARAM_DATACHECK and CPX_PARAM_WARNLIM in the Parameters of CPLEX Reference Manual.

Throws ILOG.Concert.Exception in order to indicate any sort of error.

See Also