CONOPT
Loading...
Searching...
No Matches

Functions

int jconopt.Conopt.solve ()
 method for starting the solving process of CONOPT.
 
SWIGTYPE_p_coiHandle_t jconopt.Conopt.controlVector ()
 
void jconopt.Conopt.printStatus ()
 
String jconopt.Conopt.getName ()
 
static int[] jconopt.Conopt.version ()
 
int jconopt.Conopt.getMaxThreads ()
 
double jconopt.Conopt.getMaxHeapUsed ()
 
int jconopt.Conopt.getRangeErrors ()
 

Detailed Description

This section describes utility routines in the CONOPT DLL.

These methods are called to start the solver and retrieve information about the solver.

Function Documentation

◆ solve()

int jconopt.Conopt.solve ( )
inline

method for starting the solving process of CONOPT.

Definition at line 89 of file Conopt.java.

◆ controlVector()

SWIGTYPE_p_coiHandle_t jconopt.Conopt.controlVector ( )
inline

returns the control vector pointer.

This is for use in the C-interface methods

Definition at line 109 of file Conopt.java.

◆ printStatus()

void jconopt.Conopt.printStatus ( )
inline

prints the status of the optimisation

Definition at line 119 of file Conopt.java.

◆ getName()

String jconopt.Conopt.getName ( )
inline

returns the model name

Definition at line 129 of file Conopt.java.

◆ version()

static int[] jconopt.Conopt.version ( )
inlinestatic

returns the version number.

It can be used to ensure that the modeler is linked to the correct version of the CONOPT DLL.

Definition at line 320 of file Conopt.java.

◆ getMaxThreads()

int jconopt.Conopt.getMaxThreads ( )
inline

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.

Definition at line 544 of file Conopt.java.

◆ getMaxHeapUsed()

double jconopt.Conopt.getMaxHeapUsed ( )
inline

After a model has been solved this method will return the amount of heap memory used.

Definition at line 554 of file Conopt.java.

◆ getRangeErrors()

int jconopt.Conopt.getRangeErrors ( )
inline

returns the range errors that were encountered.

Definition at line 564 of file Conopt.java.