Cplex is the class used to create and solve LP (linear program), QP (program with quadratic terms in the objective function), QCP (quadratically constrained program), and MIP (mixed integer program) Mathematical Programming models.

The Cplex..::..MIPCallback type exposes the following members.

Constructors

  Name Description
Protected method Cplex..::..MIPCallback
Initializes a new instance of the Cplex..::..MIPCallback class

Methods

  Name Description
Protected method Abort
Aborts current optimization.
(Inherited from Cplex..::..Callback.)
Public method Clone (Inherited from Cplex..::..Callback.)
Protected method createCppimpl (Overrides Cplex..::..MIPInfoCallback..::..createCppimpl(Cplex).)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected method GetBestObjValue
This method returns a bound on the optimal solution value of the active problem at the moment the callback is called.
(Inherited from Cplex..::..MIPInfoCallback.)
Protected method GetCplexTime
This method returns a time stamp, useful in measuring elapsed time in seconds. To measure time spent between a starting point and ending point of an operation, take the result of this method at the starting point; take the result of this method at the end point; subtract the starting time stamp from the ending time stamp; the subtraction yields elapsed time in seconds.
(Inherited from Cplex..::..Callback.)
Public method getCppImpl (Inherited from Cplex..::..Callback.)
Protected method GetCutoff
Returns the cutoff for the objective value when nodes are being solved during branch-and-cut search.
(Inherited from Cplex..::..MIPInfoCallback.)
Protected method GetDetTime
This method returns a deterministic time stamp in ticks. To measure elapsed deterministic time in ticks between a starting point and ending point of an operation, take the deterministic time stamp at the starting point; take the deterministic time stamp at the ending point; subtract the starting deterministic time stamp from the ending deterministic time stamp. The absolute value of the deterministic time stamp is not meaningful.
(Inherited from Cplex..::..Callback.)
Protected method GetDirection (Inherited from Cplex..::..MIPInfoCallback.)
Protected method GetEndDetTime (Inherited from Cplex..::..Callback.)
Protected method GetEndTime
This method returns a time stamp specifying when the time limit will occur. To compute remaining time in seconds, subtract the result of
CopyC#
GetCplexTime
from the result of this method. This computation yields either wall clock time (also known as real time) or CPU time, depending on the clock type set by the parameter
CopyC#
ClockType
. The absolute value of the time stamp is not meaningful.
(Inherited from Cplex..::..Callback.)
Protected method getEnvImpl (Inherited from Cplex..::..Callback.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected method GetIncumbentObjValue
Returns the objective value of the current best integer solution at the moment the callback is called.
(Inherited from Cplex..::..MIPInfoCallback.)
Protected method GetIncumbentValue(INumExpr) (Inherited from Cplex..::..MIPInfoCallback.)
Protected method GetIncumbentValue(INumVar) (Inherited from Cplex..::..MIPInfoCallback.)
Protected method GetIncumbentValues(array<INumVar>[]()[][]) (Inherited from Cplex..::..MIPInfoCallback.)
Protected method GetIncumbentValues(array<INumVar>[]()[][], Int32, Int32) (Inherited from Cplex..::..MIPInfoCallback.)
Protected method GetModel
Returns the model being solved when the invoking callback is called, that is the active model.
(Inherited from Cplex..::..Callback.)
Protected method GetNcols
Returns the number of columns of the matrix representation of the active model being solved when the invoking callback is called.
(Inherited from Cplex..::..Callback.)
Protected method GetNiterations
Returns the total number of iterations for solving node relaxations during the current optimization.
(Inherited from Cplex..::..MIPInfoCallback.)
Protected method GetNnodes
Returns the number of nodes processed so far in the active branch-and-cut search.
(Inherited from Cplex..::..MIPInfoCallback.)
Protected method GetNQCs
Returns the number of quadratic constraints in the active model being solved when the invoking callback is called.
(Inherited from Cplex..::..Callback.)
Protected method GetNremainingNodes
Returns the number of nodes remaining to be processed, or, equivalently, the number of active nodes in the tree.
(Inherited from Cplex..::..MIPInfoCallback.)
Protected method GetNrows
Returns the number of rows of the matrix representation of the active model being solved when the invoking callback is called.
(Inherited from Cplex..::..Callback.)
Protected method GetObjCoef
Protected method GetObjCoefs(array<INumVar>[]()[][])
Protected method GetObjCoefs(array<INumVar>[]()[][], Int32, Int32)
Protected method GetPriority (Inherited from Cplex..::..MIPInfoCallback.)
Protected method GetStartDetTime (Inherited from Cplex..::..Callback.)
Protected method GetStartTime
This method returns a time stamp specifying when the solving process was started. To compute elapsed time in seconds, subtract the result of
CopyC#
GetCplexTime
from the result of this method. This computation yields either wall clock time (also known as real time) or CPU time, depending on the clock type set by the parameter
CopyC#
ClockType
. The absolute value of the time stamp is not meaningful.
(Inherited from Cplex..::..Callback.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method GetUserThreads
Protected method HasIncumbent
Returns true if an incumbent solution has been found when the callback is called.
(Inherited from Cplex..::..MIPInfoCallback.)
Protected method Main
The method to be implemented by user callback classes.
(Inherited from Cplex..::..Callback.)
Protected method makeClone (Inherited from Cplex..::..Callback.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method removeCppimpl (Inherited from Cplex..::..Callback.)
Public method ToString (Inherited from Cplex..::..Callback.)

Fields

  Name Description
Protected field _callbackIImpl (Inherited from Cplex..::..Callback.)

See Also