ILOG CPLEX .NET Reference Manual

Cplex.IncumbentCallback Members

Cplex.IncumbentCallback 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 (inherited from MIPCallback) 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 (inherited from MIPCallback) 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 (inherited from MIPCallback) 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 (inherited from MIPCallback) 
Ncliques (inherited from MIPCallback) 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 (inherited from MIPCallback) Gets the number of cover cuts that have been added to the node problem.
NdisjunctiveCuts (inherited from MIPCallback) Gets the number of disjunctive cuts that have been added to the node problem.
NflowCovers (inherited from MIPCallback) Gets the number of flow cover cuts that have been added to the node problem.
NflowPaths (inherited from MIPCallback) Gets the number of flow path cuts that have been added to the node problem.
NfractionalCuts (inherited from MIPCallback) Gets the number of fractional cuts that have been added to the node problem.
NGUBcovers (inherited from MIPCallback) Gets the number of GUB cover cuts that have been added to the node problem.
NimpliedBounds (inherited from MIPCallback) Gets the number of implied bound cuts that have been added to the node problem.
Niterations (inherited from MIPCallback) Gets the total number of iterations for solving node problems during the current optimization.
NMIRs (inherited from MIPCallback) Gets the number of MIR cuts that have been added to the node problem.
Nnodes (inherited from MIPCallback) Gets the number of nodes processed so far in the active branch-and-cut search.
NodeData Gets the user object attached to the current node. User objects can be attached to a node when the node is created with the method Cplex.BranchCallback.MakeBranch in a branch callback.
NremainingNodes (inherited from MIPCallback) 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.
ObjValue Gets the objective value of the potential incumbent.
UserThreads (inherited from MIPCallback) 

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 (inherited from MIPCallback) Returns the branch direction for a variable.
GetIncumbentValue (inherited from MIPCallback) Returns the value of var for the current best integer solution.
GetIncumbentValues (inherited from MIPCallback)Overloaded. Returns the incumbent solution values for a set of variables.
GetNodeId Returns the node identifier of the current node.
GetObjCoef (inherited from MIPCallback) Returns the linear objective function coefficient for variable var in the model being solved.
GetObjCoefs (inherited from MIPCallback)Overloaded. Returns the linear objective function coefficients for a set of variables in the model being solved.
GetPriority (inherited from MIPCallback) Returns the branch priority for variable var.
GetSlack Returns the slack value of a constraint for the proposed incumbent solution.
GetSlacksOverloaded. Returns the slack values for num consecutive constraints, starting from the index specified by start, in the array rng for the proposed incumbent solution.
GetValueOverloaded. Returns the value expr takes for the proposed incumbent solution.
GetValuesOverloaded. Returns the values of num consecutive variables, starting from the index specified by start, in the array var of variables in the potential incumbent solution.
HasIncumbent (inherited from MIPCallback) 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.
Reject Rejects the proposed incumbent solution.

Protected Internal Instance Constructors

Cplex.IncumbentCallback Constructor Constructor for user-written incumbent callback.

See Also

Cplex.IncumbentCallback Class | ILOG.CPLEX Namespace