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..::..Callback type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
Cplex..::..Callback |
Initializes a new instance of the Cplex..::..Callback class
|
Methods
| Name | Description | |
|---|---|---|
|
|
Abort |
Aborts current optimization.
|
|
|
Clone | |
|
|
createCppimpl | |
|
|
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
|
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.
|
|
|
getCppImpl | |
|
|
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.
|
|
|
GetEndDetTime | |
|
|
GetEndTime |
This method returns a time stamp specifying when
the time limit will occur. To compute remaining time in seconds,
subtract the result of
GetCplexTime ClockType |
|
|
getEnvImpl | |
|
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
|
GetModel |
Returns the model being solved when the invoking callback is called, that is the active model.
|
|
|
GetNcols |
Returns the number of columns of the matrix representation of the active model being solved when
the invoking callback is called.
|
|
|
GetNQCs |
Returns the number of quadratic constraints in the active model being solved when the invoking
callback is called.
|
|
|
GetNrows |
Returns the number of rows of the matrix representation of the active model being solved when the invoking
callback is called.
|
|
|
GetStartDetTime | |
|
|
GetStartTime |
This method returns a time stamp specifying when
the solving process was started. To compute elapsed time in seconds,
subtract the result of
GetCplexTime ClockType |
|
|
GetType |
Gets the type of the current instance. (Inherited from Object.) |
|
|
Main |
The method to be implemented by user callback classes.
|
|
|
makeClone | |
|
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
|
removeCppimpl | |
|
|
ToString | (Overrides Object..::..ToString()()()().) |
Fields
| Name | Description | |
|---|---|---|
|
|
_callbackIImpl |