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 | |
|---|---|---|
|
|
Cplex..::..MIPCallback |
Initializes a new instance of the Cplex..::..MIPCallback class
|
Methods
| Name | Description | |
|---|---|---|
|
|
Abort |
Aborts current optimization. (Inherited from Cplex..::..Callback.) |
|
|
Clone | (Inherited from Cplex..::..Callback.) |
|
|
createCppimpl | (Overrides Cplex..::..MIPInfoCallback..::..createCppimpl(Cplex).) |
|
|
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
|
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.) |
|
|
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.) |
|
|
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.) |
|
|
getCppImpl | (Inherited from Cplex..::..Callback.) |
|
|
GetCutoff |
Returns the cutoff for the objective value when nodes are being solved during branch-and-cut search. (Inherited from Cplex..::..MIPInfoCallback.) |
|
|
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.) |
|
|
GetDirection | (Inherited from Cplex..::..MIPInfoCallback.) |
|
|
GetEndDetTime | (Inherited from Cplex..::..Callback.) |
|
|
GetEndTime |
This method returns a time stamp specifying when
the time limit will occur. To compute remaining time in seconds,
subtract the result of
(Inherited from Cplex..::..Callback.)GetCplexTime ClockType |
|
|
getEnvImpl | (Inherited from Cplex..::..Callback.) |
|
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
|
GetIncumbentObjValue |
Returns the objective value of the current best integer solution at the moment the callback is called. (Inherited from Cplex..::..MIPInfoCallback.) |
|
|
GetIncumbentValue(INumExpr) | (Inherited from Cplex..::..MIPInfoCallback.) |
|
|
GetIncumbentValue(INumVar) | (Inherited from Cplex..::..MIPInfoCallback.) |
|
|
GetIncumbentValues(array<INumVar>[]()[][]) | (Inherited from Cplex..::..MIPInfoCallback.) |
|
|
GetIncumbentValues(array<INumVar>[]()[][], Int32, Int32) | (Inherited from Cplex..::..MIPInfoCallback.) |
|
|
GetModel |
Returns the model being solved when the invoking callback is called, that is the active model. (Inherited from Cplex..::..Callback.) |
|
|
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.) |
|
|
GetNiterations |
Returns the total number of iterations for solving node relaxations during the current optimization. (Inherited from Cplex..::..MIPInfoCallback.) |
|
|
GetNnodes |
Returns the number of nodes processed so far in the active branch-and-cut search. (Inherited from Cplex..::..MIPInfoCallback.) |
|
|
GetNQCs |
Returns the number of quadratic constraints in the active model being solved when the invoking
callback is called. (Inherited from Cplex..::..Callback.) |
|
|
GetNremainingNodes |
Returns the number of nodes remaining to be processed, or, equivalently, the number of active nodes in the tree. (Inherited from Cplex..::..MIPInfoCallback.) |
|
|
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.) |
|
|
GetObjCoef | |
|
|
GetObjCoefs(array<INumVar>[]()[][]) | |
|
|
GetObjCoefs(array<INumVar>[]()[][], Int32, Int32) | |
|
|
GetPriority | (Inherited from Cplex..::..MIPInfoCallback.) |
|
|
GetStartDetTime | (Inherited from Cplex..::..Callback.) |
|
|
GetStartTime |
This method returns a time stamp specifying when
the solving process was started. To compute elapsed time in seconds,
subtract the result of
(Inherited from Cplex..::..Callback.)GetCplexTime ClockType |
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
|
GetUserThreads | |
|
|
HasIncumbent |
Returns true if an incumbent solution has been found when the callback is called. (Inherited from Cplex..::..MIPInfoCallback.) |
|
|
Main |
The method to be implemented by user callback classes. (Inherited from Cplex..::..Callback.) |
|
|
makeClone | (Inherited from Cplex..::..Callback.) |
|
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
|
removeCppimpl | (Inherited from Cplex..::..Callback.) |
|
|
ToString | (Inherited from Cplex..::..Callback.) |
Fields
| Name | Description | |
|---|---|---|
|
|
_callbackIImpl | (Inherited from Cplex..::..Callback.) |