CONOPT
|
Functions | |
integer function | coidef_size () |
returns the size the Control Vector must have, measured in standard Integer units. | |
integer function | coidef_ini (cntvect) |
initializes the Control Vector by placing default values in the various positions. | |
integer function | coidef_inifort (cntvect) |
initialisation method for Fortran applications. | |
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().
integer function coidef_size |
returns the size the Control Vector must have, measured in standard Integer units.
Definition at line 175 of file coistart.f90.
integer function coidef_ini | ( | integer, dimension(numcallback) | cntvect | ) |
initializes the Control Vector by placing default values in the various positions.
There is currently no error checking and this method will always return 0.
If you have multiple models with multiple Control Vectors then you must call this method for each control vector. If you solve a sequence of different models then you can use the same Control Vector provided you initialize it with a call to this method between the solves.
cntvect | the control vector |
Definition at line 200 of file coistart.f90.
integer function coidef_inifort | ( | integer, dimension(numcallback) | cntvect | ) |
initialisation method for Fortran applications.
This method will initialise the control vector and set the parameters associated with the base and array indices.
cntvect | the control vector |
Definition at line 313 of file coistart.f90.