|
int | COI_Solve (coiHandle_t cntvect) |
| method for starting the solving process of CONOPT.
|
|
void | COIGET_Version (int *major, int *minor, int *patch) |
| returns the version number. It can be used to ensure that the modeler is linked to the correct version of the CONOPT DLL.
|
|
int | COIGET_MaxThreads (coiHandle_t cntvect) |
| returns the maximum number of threads that can be used by CONOPT.
|
|
double | COIGET_MaxHeapUsed (coiHandle_t cntvect) |
| After a model has been solved this method will return the amount of heap memory used.
|
|
int | COIGET_RangeErrors (coiHandle_t 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.
◆ COI_Solve()
int COI_Solve |
( |
coiHandle_t | cntvect | ) |
|
method for starting the solving process of CONOPT.
- Parameters
-
cntvect | the control vector |
◆ COIGET_Version()
void COIGET_Version |
( |
int * | major, |
|
|
int * | minor, |
|
|
int * | patch ) |
returns the version number. It can be used to ensure that the modeler is linked to the correct version of the CONOPT DLL.
- Parameters
-
major | major version number |
minor | minor version number |
patch | patch version number |
◆ COIGET_MaxThreads()
int COIGET_MaxThreads |
( |
coiHandle_t | 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.
- Parameters
-
cntvect | the control vector |
◆ COIGET_MaxHeapUsed()
double COIGET_MaxHeapUsed |
( |
coiHandle_t | cntvect | ) |
|
After a model has been solved this method will return the amount of heap memory used.
- Parameters
-
cntvect | the control vector |
◆ COIGET_RangeErrors()
int COIGET_RangeErrors |
( |
coiHandle_t | cntvect | ) |
|
returns the range errors that were encountered.
- Parameters
-
cntvect | the control vector |