CONOPT
|
Functions | |
int COI_CALLCONV | coiCreate (coiHandle_t *cntvect) |
initialises and create the control vector. | |
int COI_CALLCONV | coiFree (coiHandle_t *cntvect) |
frees the control vector. | |
void COI_CALLCONV | coiFinalize (void) |
finializes the solving process for CONOPT. This must be called when using OpenMP. It will terminate the running processes cleanly. | |
The Control Vector is the main communication region between the modeler and CONOPT.
In Fortran, memory for the control must be allocated by the user. The size of the Control Vector must be at least equal to that defined by coidef_size(). The user is the responsible for freeing the allocated memory.
In C, the method coiCreate() performs the initialisation of the Control Vector. The memory is freed by a call to coiFree().
int COI_CALLCONV coiCreate | ( | coiHandle_t * | cntvect | ) |
initialises and create the control vector.
*cntvect | a pointer to the control vector |
int COI_CALLCONV coiFree | ( | coiHandle_t * | cntvect | ) |
frees the control vector.
*cntvect | a pointer to the control vector |
void COI_CALLCONV coiFinalize | ( | void | ) |
finializes the solving process for CONOPT. This must be called when using OpenMP. It will terminate the running processes cleanly.