The Cplex..::..ProbingCallback type exposes the following members.

Methods

  NameDescription
Protected methodAbort
Instructs CPLEX to stop the current optimization after the user-written callback finishes.
(Inherited from Cplex..::..Callback.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetBestObjValue
This method returns a bound on the optimal solution value of the active problem at the moment the callback is called.
(Inherited from Cplex..::..MIPInfoCallback.)
Public methodGetCplexTime
Returns a time stamp.
(Inherited from Cplex..::..Callback.)
Protected methodGetCurrentNodeDepth
Returns the depth of the current node in the search tree.
(Inherited from Cplex..::..MIPCallback.)
Protected methodGetCutoff
Returns the cutoff for the objective value when nodes are being solved during branch-and-cut search.
(Inherited from Cplex..::..MIPInfoCallback.)
Public methodGetDetTime
This method returns a deterministic time stamp in ticks.
(Inherited from Cplex..::..Callback.)
Protected methodGetDirection
Returns the branch direction for a variable.
(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetEndDetTime
This method returns a deterministic time stamp specifying when the solving process terminates.
(Inherited from Cplex..::..Callback.)
Protected methodGetEndTime
This method returns a time stamp specifying when solving process terminates.
(Inherited from Cplex..::..Callback.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetIncumbentObjValue

Returns the objective value of the current best integer solution at the moment the callback is called.

This method returns the objective value for the current incumbent solution (that is, the best integer solution found so far).

If there is no incumbent, this method returns a very large positive number for a minimization or a very small negative number for a maximization.

(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetIncumbentValue(INumExpr)
Returns the value expr takes for the current incumbent solution.
(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetIncumbentValue(INumVar)

Returns the value of the specified variable for the current best integer solution.

This method returns the value of the variable in the current incumbent solution (that is, the best integer solution found so far).

(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetIncumbentValues(array<INumVar>[]()[][])
Returns incumbent solution values for an array of variables.
(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetIncumbentValues(array<INumVar>[]()[][], Int32, Int32)
Returns the incumbent solution values for a set of variables.
(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetMIPRelativeGap
This method returns the relative objective gap of the active problem at the moment the callback is called.
(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetModel
Returns the model being solved when the invoking callback is called, that is, the active model.
(Inherited from Cplex..::..OptimizationCallback.)
Protected methodGetNcuts
Returns the number of cuts of the specified type that have been added to the node relaxation at the moment the callback is called.
(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetNiterations

Returns the total number of iterations for solving node relaxations during the current optimization.

(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetNiterations64

Returns the total number of iterations for solving node relaxations during the current optimization.

(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetNnodes

Returns the number of nodes processed so far in the active branch-and-cut search.

(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetNnodes64

Returns the number of nodes processed so far in the active branch-and-cut search.

(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetNodeDoubleInfo (Inherited from Cplex..::..MIPCallback.)
Protected methodGetNodeIntInfo (Inherited from Cplex..::..MIPCallback.)
Protected methodGetNodeLongInfo (Inherited from Cplex..::..MIPCallback.)
Protected methodGetNremainingNodes

Returns the number of nodes remaining to be processed, or, equivalently, the number of active nodes in the tree.

(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetNremainingNodes64

Returns the number of nodes remaining to be processed, or, equivalently, the number of active nodes in the tree.

(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetObjCoef
Returns the linear objective function coefficient for the variable var in the model being solved.
(Inherited from Cplex..::..MIPCallback.)
Protected methodGetObjCoefs(array<INumVar>[]()[][])
Returns the linear objective function coefficients for an array of variables in the model being solved.
(Inherited from Cplex..::..MIPCallback.)
Protected methodGetObjCoefs(array<INumVar>[]()[][], Int32, Int32)
Returns the linear objective function coefficients for a set of variables in the model being solved.
(Inherited from Cplex..::..MIPCallback.)
Protected methodGetPhase

Returns the current phase of probing.

Protected methodGetPriority

Returns the branch priority for the specified variable.

(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetProgress

Returns the fraction of completion of the current probing phase.

This value is between 0.0 and 1.0.

Protected methodGetQuality
Returns an instance of Cplex.Quality that contains the requested quality measure.
(Inherited from Cplex..::..MIPInfoCallback.)
Protected methodGetStartDetTime
This method returns a deterministic time stamp specifying when the solving process started.
(Inherited from Cplex..::..Callback.)
Protected methodGetStartTime
This method returns a time stamp specifying when the solving process started.
(Inherited from Cplex..::..Callback.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHasIncumbent

Returns true if an incumbent solution has been found when the callback is called.

(Inherited from Cplex..::..MIPInfoCallback.)
Public methodMain
The method to be implemented by user callback classes.
(Inherited from Cplex..::..Callback.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also