ILOG CPLEX .NET Reference Manual

Cplex.HeuristicCallback Methods

The methods of the Cplex.HeuristicCallback class are listed below. For a complete list of Cplex.HeuristicCallback class members, see the Cplex.HeuristicCallback 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.
IsDualFeasible Returns true if a dual feasible solution is available for the current node.
IsPrimalFeasible Returns true if a primal feasible solution is available for the current node.
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.
GetCplexStatus Returns the Cplex.CplexStatus for the current node.
GetDirection (inherited from MIPCallback) Returns the branch direction for a variable.
GetDownPseudoCost (inherited from ControlCallback) Returns the pseudo cost for branching down on variable var.
GetFeasibilities (inherited from ControlCallback)Overloaded. Queries whether the variables specified in array var are integer feasible, integer infeasible, or implied integer feasible in the current node solution.
GetFeasibility (inherited from ControlCallback) 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 (inherited from ControlCallback) Returns the current lower bound for the variable var.
GetLBs (inherited from ControlCallback)Overloaded. 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 (inherited from ControlCallback) Returns the slack value of a constraint for the solution of the continuous relaxation of the current node.
GetSlacks (inherited from ControlCallback)Overloaded. Returns the slack values of a set of constraints for the solution of the current node.
GetSOSFeasibility (inherited from ControlCallback)Overloaded. States whether the special ordered set of type 2 is integer feasible, integer infeasible, or implied integer feasible in the current node solution.
GetStatus Returns the solution status for the current node.
GetUB (inherited from ControlCallback) Returns the current upper bound for variable var.
GetUBs (inherited from ControlCallback)Overloaded. Returns the current upper bounds for a set of variables.
GetUpPseudoCost (inherited from ControlCallback) Returns the pseudo cost for branching up on variable var.
GetValue (inherited from ControlCallback)Overloaded. Returns the value expr takes for the solution of the continuous relaxation of the current node.
GetValues (inherited from ControlCallback)Overloaded. 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.
SetBoundsOverloaded. Changes the upper and lower bounds of the specified variables in the array var.
SetSolutionOverloaded.  
SolveOverloaded. Solves the current node relaxation using the default algorithm.

See Also

Cplex.HeuristicCallback Class | ILOG.CPLEX Namespace