ILOG CPLEX .NET Reference Manual

Cplex.IncumbentCallback Methods

The methods of the Cplex.IncumbentCallback class are listed below. For a complete list of Cplex.IncumbentCallback class members, see the Cplex.IncumbentCallback 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.
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.

See Also

Cplex.IncumbentCallback Class | ILOG.CPLEX Namespace