CPLEX general utilities are available for initializing and closing the CPLEX environment. Portability routines are needed for Windows platforms. They may also be used on UNIX platforms.
Note: Names of classes, methods, and symbolic constants in the C#.NET API correspond very closely to those in the Java API with these systematic exceptions:
Ilo
, whereas in C#.NET they do not.
addCols
,
whereas in the C#.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 |
---|---|---|---|
Initializes CPLEX environment |
Creation of an IloCplex object |
Creation of an IloCplex object |
|
Closes CPLEX environment |
IloCplex.end |
IloEnv::end |
|
Accesses the version of the CPLEX Callable Library |
IloCplex.getVersion |
IloCplex::getVersion |
|
Pass memory-based information to the ILOG license manager. |
IloCplex.registerLicense |
Use the C routine CPXRegisterLicense |
|
Sets environment variables to be used by CPLEX. |
IloCplex.putenv |
||
Opens a file used by CPLEX functions |
---- |
||
Closes a file used by CPLEX functions |
---- |
||
Writes to a file used by CPLEX |
---- |
||
Frees memory allocated by a CPLEX function |
---- |
||
Allocates memory in the heap used by CPLEX |
---- |
||
Reallocates memory in the heap used by CPLEX |
---- |
||
Determines the length of a string |
---- |
||
Copies a string |
---- |
||
Sends a string to a CPLEX message channel |
---- |
||
Copies data |
---- |