CONOPT
|
Functions | |
integer function | coi_solve (cntvect) |
method for starting the solving process of CONOPT. | |
subroutine | coiget_version (major, minor, patch) |
returns the version number. It can be used to ensure that the modeler is linked to the correct version of the CONOPT DLL. | |
integer function | coiget_maxthreads (cntvect) |
returns the maximum number of threads that can be used by CONOPT. | |
real *8 function | coiget_maxheapused (cntvect) |
After a model has been solved this method will return the amount of heap memory used. | |
integer function | coiget_rangeerrors (cntvect) |
returns the range errors that were encountered. | |
This section describes utility routines in the CONOPT DLL.
These methods are called to start the solver and retrieve information about the solver.
integer function coi_solve | ( | integer, dimension(numcallback), intent(inout) | cntvect | ) |
method for starting the solving process of CONOPT.
cntvect | the control vector |
Definition at line 13 of file coistart.f90.
subroutine coiget_version | ( | integer, intent(out) | major, |
integer, intent(out) | minor, | ||
integer, intent(out) | patch ) |
returns the version number. It can be used to ensure that the modeler is linked to the correct version of the CONOPT DLL.
major | major version number |
minor | minor version number |
patch | patch version number |
Definition at line 66 of file coistart.f90.
integer function coiget_maxthreads | ( | integer, dimension(numcallback) | cntvect | ) |
returns the maximum number of threads that can be used by CONOPT.
If you are using multiple threads it may be necessary to know in advance how many threads CONOPT can use. If called inside a parallel loop, this method will return one—indicating that CONOPT cannot use multiple threads when CONOPT itself is called in parallel. Therefore, this method should be called in some sequential initialization code and not inside a function evaluation routine, that could be called in parallel.
cntvect | the control vector |
Definition at line 94 of file coistart.f90.
real*8 function coiget_maxheapused | ( | integer, dimension(numcallback) | cntvect | ) |
After a model has been solved this method will return the amount of heap memory used.
cntvect | the control vector |
Definition at line 125 of file coistart.f90.
integer function coiget_rangeerrors | ( | integer, dimension(numcallback) | cntvect | ) |
returns the range errors that were encountered.
cntvect | the control vector |
Definition at line 152 of file coistart.f90.