ILOG CPLEX .NET Reference Manual

Cplex.PresolveCallback Class

The callback class for user-written callbacks during presolve.

For a list of all members of this type, see Cplex.PresolveCallback Members.

System.Object
   ILOG.CPLEX.Cplex.Callback
      ILOG.CPLEX.Cplex.PresolveCallback

public abstract class Cplex.PresolveCallback : Callback

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

An instance of the class PresolveCallback represents a user-written callback. The callback is called periodically during presolve. This class enables you to access information about the effects of presolve on the active model for the instance of Cplex. For example, you can query the number of rows or columns presolve removed from the model, the number of variables that have been aggregated, or the number of coefficients that have changed as a result of presolve.

The constructor and methods of this class are protected to make sure that they are used only to derive a user-written callback class or to implement the main method in it.

Requirements

Namespace: ILOG.CPLEX

Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll)

See Also

Cplex.PresolveCallback Members | ILOG.CPLEX Namespace