ILOG CPLEX .NET Reference Manual

Cplex.LPCallback Members

Cplex.LPCallback overview

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Main (inherited from Callback) The method to be implemented by user callback classes.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

Cplex.LPCallback Constructor Initializes a new instance of the Cplex.LPCallback class.

Protected Instance Properties

DualInfeasibility (inherited from ContinuousCallback) A measure for the dual infeasibility of the current solution. If the current solution is dual feasible, this value will be 0. Otherwise it will be a positive value.
Infeasibility (inherited from ContinuousCallback) A measure for the primal infeasibility of the current solution. If the current solution is primal feasible, this value will be 0. Otherwise it will be a positive value.
Model (inherited from Callback) Gets the model being solved when the invoking callback is called, i.E. the active model.
Ncols (inherited from Callback) Gets the number of columns of the matrix representation of the active model being solved when the invoking callback is called.
Niterations (inherited from ContinuousCallback) The number of iterations performed so far.
Nrows (inherited from Callback) Gets the number of rows of the matrix representation of the active model being solved when the invoking callback is called.
ObjValue (inherited from ContinuousCallback) The current objective value. The current objective value is the objective value at the point when the callback is called. In the simplex method, this objective value may not reflect the objective function defined for the model being solved, but an artificial phase 1 objective function used to achieve primal or dual feasibility. In the barrier method, where the objective functions can be computed using dual or primal vectors and both definitions are not equivalent (unless optimality is achieved), the primal objective function is returned.

Protected Instance Methods

Abort (inherited from Callback) Instructs CPLEX to stop the current optimization after the user-written callback finishes.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
IsDualFeasible (inherited from ContinuousCallback) Returns a Boolean value indicating whether the current solution is dual feasible.
IsFeasible (inherited from ContinuousCallback) Returns a Boolean value indicating whether the current solution is primal feasible.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Cplex.LPCallback Class | ILOG.CPLEX Namespace