Interrupt routines, also known as callback routines, allow users to define functions to interrupt and resume optimization and to access progress information while the optimization is in process.
Note: Names of classes, methods, and symbolic constants in the .NET API correspond very closely to those in the Java API with these systematic exceptions:
Ilo
, whereas in .NET they do not.
addCols
,
whereas in the .NET API, the names of methods conventionally
begin with an uppercase (that is, capital) letter, for example,
AddCols
according to Microsoft practice.
Purpose |
Java API |
C++ API |
C API |
---|---|---|---|
Gets function to be called during LP optimization |
---- |
---- |
|
Sets function to be called during LP optimization |
IloCplex.use |
IloCplex::use |
|
Gets function to be called during MIP optimization |
---- |
---- |
|
Sets function to be called during MIP optimization |
IloCplex.use |
IloCplex::use |
|
Gets function to be called during network optimization |
---- |
---- |
|
Sets function to be called during network optimization |
IloCplex.use |
IloCplex::use |
|
Gets optimization progress information |
Methods of callback classes |
Methods of callback classes |