ILOG CPLEX .NET Reference Manual
Cplex.MIPCallback Members
Cplex.MIPCallback 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 Properties
BestObjValue Gets a bound on the optimal solution value of the active problem. When a model has been solved to optimality, this value matches the optimal solution value. Before optimality has been proven, this value is computed for a minimization (maximization) problem as the minimum (maximum) objective function value of all remaining unexplored nodes.
Cutoff Gets the cutoff for the objective value when nodes are being solved during branch-and-cut search. This value is typically computed from the objective value of an incumbent solution and the optimality gap. In the case of a minimization problem, for example, if the objective value of a node exceeds the cutoff value, the node can be pruned without the need to solve the node to optimality.
IncumbentObjValue Gets the objective value of the current best integer solution. This method returns the objective value for the current incumbent solution (that is, the best integer solution found so far).
Model (inherited from Callback ) Gets the model being solved when the invoking callback is called, i.E. the active model.
MyThreadNum
Ncliques Gets the number of clique cuts that have been added to the node problem.
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.
Ncovers Gets the number of cover cuts that have been added to the node problem.
NdisjunctiveCuts Gets the number of disjunctive cuts that have been added to the node problem.
NflowCovers Gets the number of flow cover cuts that have been added to the node problem.
NflowPaths Gets the number of flow path cuts that have been added to the node problem.
NfractionalCuts Gets the number of fractional cuts that have been added to the node problem.
NGUBcovers Gets the number of GUB cover cuts that have been added to the node problem.
NimpliedBounds Gets the number of implied bound cuts that have been added to the node problem.
Niterations Gets the total number of iterations for solving node problems during the current optimization.
NMIRs Gets the number of MIR cuts that have been added to the node problem.
Nnodes Gets the number of nodes processed so far in the active branch-and-cut search.
NremainingNodes Gets the number of nodes remaining to be processed, or, equivalently, the number of active nodes in the tree.
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.
UserThreads
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.
GetDirection Returns the branch direction for a variable.
GetIncumbentValue Returns the value of var
for the current best integer solution.
GetIncumbentValues Overloaded. Returns the incumbent solution values for a set of variables.
GetObjCoef Returns the linear objective function coefficient for variable var
in the model being solved.
GetObjCoefs Overloaded. Returns the linear objective function coefficients for a set of variables in the model being solved.
GetPriority Returns the branch priority for variable var
.
HasIncumbent Returns true
if an incumbent solution has been found when the callback is called.
MemberwiseClone (inherited from Object )
Creates a shallow copy of the current Object .
Protected Internal Instance Constructors
See Also
Cplex.MIPCallback Class | ILOG.CPLEX Namespace