CONOPT
Loading...
Searching...
No Matches

Functions

int conopt.Conopt.solve ()
 method for starting the solving process of CONOPT.
 
SWIGTYPE_p_coiHandle_t conopt.Conopt.controlVector ()
 
void conopt.Conopt.printStatus ()
 
String conopt.Conopt.getName ()
 
static int[] conopt.Conopt.version ()
 
int conopt.Conopt.getMaxThreads ()
 
double conopt.Conopt.getMaxHeapUsed ()
 
int conopt.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 conopt.Conopt.solve ( )
inline

method for starting the solving process of CONOPT.

Definition at line 89 of file Conopt.java.

◆ controlVector()

SWIGTYPE_p_coiHandle_t conopt.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 conopt.Conopt.printStatus ( )
inline

prints the status of the optimisation

Definition at line 119 of file Conopt.java.

◆ getName()

String conopt.Conopt.getName ( )
inline

returns the model name

Definition at line 129 of file Conopt.java.

◆ version()

static int[] conopt.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 conopt.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 conopt.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 conopt.Conopt.getRangeErrors ( )
inline

returns the range errors that were encountered.

Definition at line 564 of file Conopt.java.