ILOG CPLEX .NET Reference Manual

Cplex.SolveCallback Methods

The methods of the Cplex.SolveCallback class are listed below. For a complete list of Cplex.SolveCallback class members, see the Cplex.SolveCallback 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 of the last solve call.
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.
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.
GetStatus Returns the solution status of the last solve call.
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.
SetVectorsOverloaded. Specifies a starting point for the next invocation of the method solve.
SolveOverloaded. Solves the current node using the default algorithm (Cplex.Algorithm.Auto).
UseSolution Instructs Cplex to use a solution.

See Also

Cplex.SolveCallback Class | ILOG.CPLEX Namespace