ILOG CPLEX .NET Reference Manual

Cplex.ControlCallback Methods

The methods of the Cplex.ControlCallback class are listed below. For a complete list of Cplex.ControlCallback class members, see the Cplex.ControlCallback Members topic.

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 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.
GetDownPseudoCost Returns the pseudo cost for branching down on variable var.
GetFeasibilitiesOverloaded. Queries whether the variables specified in array var are integer feasible, integer infeasible, or implied integer feasible in the current node solution.
GetFeasibility States whether the variable var is integer feasible, integer infeasible, or implied integer feasible in the current node solution.
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.
GetLB Returns the current lower bound for the variable var.
GetLBsOverloaded. Returns the current lower bounds for a set of variables.
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 solution of the continuous relaxation of the current node.
GetSlacksOverloaded. Returns the slack values of a set of constraints for the solution of the current node.
GetSOSFeasibilityOverloaded. States whether the special ordered set of type 2 is integer feasible, integer infeasible, or implied integer feasible in the current node solution.
GetUB Returns the current upper bound for variable var.
GetUBsOverloaded. Returns the current upper bounds for a set of variables.
GetUpPseudoCost Returns the pseudo cost for branching up on variable var.
GetValueOverloaded. Returns the value expr takes for the solution of the continuous relaxation of the current node.
GetValuesOverloaded. Returns the solution values for a set of variables at the current node.
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.

See Also

Cplex.ControlCallback Class | ILOG.CPLEX Namespace