CONOPT
Loading...
Searching...
No Matches
jconopt.Conopt Class Reference

Public Member Functions

synchronized void delete ()
 
 Conopt (String modelName)
 
 Conopt ()
 
int solve ()
 method for starting the solving process of CONOPT.
 
int checkModelAndParameters ()
 
SWIGTYPE_p_coiHandle_t controlVector ()
 
void printStatus ()
 
String getName ()
 
void loadModel (ConoptModelData modeldata)
 
int modelStatus ()
 
int solutionStatus ()
 
int iterations ()
 
double objectiveValue ()
 
double[] getVariableValues ()
 
double[] getVariableMarginals ()
 
int[] getVariableBasisStatus ()
 
int[] getVariableStatus ()
 
double[] getConstraintValues ()
 
double[] getConstraintMarginals ()
 
int[] getConstraintBasisStatus ()
 
int[] getConstraintStatus ()
 
void setMessageHandler (MessageHandler msghandler)
 
int sendMessage (String msg)
 
void setVerbosityLevel (int verblevel)
 
int debugFV (int debugfv)
 turn Debugging of FDEval on and off.
 
int squareModel (int square)
 square models.
 
int setLicense (int licint1, int licint2, int licint3, String licstring)
 define the License Information.
 
int setItLim (int itlim)
 define the Iteration Limit.
 
int setErrLim (int errlim)
 define the Error Limit.
 
int fVincLin (int fvinclin)
 include the linear terms in function evaluations.
 
int fVforAll (int fvforall)
 call the FDEval for all constraints, including linear constraints.
 
int setMaxSup (int maxsup)
 limit on superbasics.
 
int allowEmptyRow (int emptyrow)
 allow empty rows.
 
int allowEmptyCol (int emptycol)
 allow empty columns.
 
int debug2D (int debug2d)
 turn debugging of 2nd derivatives on and off.
 
int disCont (int discont)
 allow discontinuous functions and derivatives.
 
int clearM (int clearm)
 ClearM.
 
int setResLim (double reslim)
 define resource limit.
 
int setMaxHeap (double maxheap)
 define Limit on Heap Memory.
 
int setThreadS (int threads)
 number of threads allowed internally in CONOPT.
 
int setThreadF (int threadf)
 number of threads allowed for simultaneous FDEval calls.
 
int setThread2D (int thread2d)
 number of threads allowed for simultaneous 2DDir calls.
 
int setThreadC (int threadc)
 check for thread compatibility.
 
int getMaxThreads ()
 
double getMaxHeapUsed ()
 
int getRangeErrors ()
 

Static Public Member Functions

static int[] version ()
 

Protected Member Functions

 Conopt (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (Conopt obj)
 
static long swigRelease (Conopt obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description

The Conopt class

Definition at line 20 of file Conopt.java.

Constructor & Destructor Documentation

◆ Conopt() [1/3]

jconopt.Conopt.Conopt ( long cPtr,
boolean cMemoryOwn )
inlineprotected

Definition at line 24 of file Conopt.java.

◆ Conopt() [2/3]

jconopt.Conopt.Conopt ( String modelName)
inline

Constructor

Parameters
modelNamethe name for the model.

Definition at line 67 of file Conopt.java.

◆ Conopt() [3/3]

jconopt.Conopt.Conopt ( )
inline

Constructor

Definition at line 78 of file Conopt.java.

Member Function Documentation

◆ getCPtr()

static long jconopt.Conopt.getCPtr ( Conopt obj)
inlinestaticprotected

Definition at line 29 of file Conopt.java.

◆ swigRelease()

static long jconopt.Conopt.swigRelease ( Conopt obj)
inlinestaticprotected

Definition at line 33 of file Conopt.java.

◆ finalize()

void jconopt.Conopt.finalize ( )
inlineprotected

Definition at line 46 of file Conopt.java.

◆ delete()

synchronized void jconopt.Conopt.delete ( )
inline

Definition at line 50 of file Conopt.java.

◆ checkModelAndParameters()

int jconopt.Conopt.checkModelAndParameters ( )
inline

checks the model data and parameters to ensure it is setup correctly

Definition at line 97 of file Conopt.java.

◆ modelStatus()

int jconopt.Conopt.modelStatus ( )
inline

returns the model status

Definition at line 153 of file Conopt.java.

Field Documentation

◆ swigCMemOwn

transient boolean jconopt.Conopt.swigCMemOwn
protected

Definition at line 22 of file Conopt.java.


The documentation for this class was generated from the following file: