CONOPT
|
C language header file for direct linking against the COI library generated by apiwrapper for GAMS Version 25.1.0.
Definition in file coiheader.h.
Functions | |
int COI_CALLCONV | COI_Solve (coiHandle_t cntvect) |
method for starting the solving process of CONOPT. | |
void COI_CALLCONV | 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 COI_CALLCONV | COIGET_MaxThreads (coiHandle_t cntvect) |
returns the maximum number of threads that can be used by CONOPT. | |
double COI_CALLCONV | COIGET_MaxHeapUsed (coiHandle_t cntvect) |
After a model has been solved this method will return the amount of heap memory used. | |
int COI_CALLCONV | COIGET_RangeErrors (coiHandle_t cntvect) |
returns the range errors that were encountered. | |
int COI_CALLCONV | coiCreate (coiHandle_t *cntvect) |
initialises and create the control vector. | |
int COI_CALLCONV | coiFree (coiHandle_t *cntvect) |
frees the control vector. | |
void COI_CALLCONV | coiFinalize (void) |
finializes the solving process for CONOPT. This must be called when using OpenMP. It will terminate the running processes cleanly. | |
int COI_CALLCONV | COIDEF_NumVar (coiHandle_t cntvect, int numvar) |
defines the number of variables in the model. | |
int COI_CALLCONV | COIDEF_NumCon (coiHandle_t cntvect, int numcon) |
defines the number of constraints in the model. | |
int COI_CALLCONV | COIDEF_NumNz (coiHandle_t cntvect, int numnz) |
defines the number of nonzero elements in the Jacobian. | |
int COI_CALLCONV | COIDEF_NumNlNz (coiHandle_t cntvect, int numnlnz) |
defines the Number of Nonlinear Nonzeros. | |
int COI_CALLCONV | COIDEF_NumHess (coiHandle_t cntvect, int numhess) |
defines the Number of Hessian Nonzeros. | |
int COI_CALLCONV | COIDEF_OptDir (coiHandle_t cntvect, int optdir) |
defines the Optimization Direction. | |
int COI_CALLCONV | COIDEF_ObjVar (coiHandle_t cntvect, int objvar) |
defines the Objective Variable. | |
int COI_CALLCONV | COIDEF_ObjCon (coiHandle_t cntvect, int objcon) |
defines the Objective Constraint. | |
int COI_CALLCONV | COIDEF_License (coiHandle_t cntvect, int licint1, int licint2, int licint3, const char *licstring) |
define the License Information. | |
int COI_CALLCONV | COIDEF_Base (coiHandle_t cntvect, int base) |
define the Base index for vectors. | |
int COI_CALLCONV | COIDEF_Fortran (coiHandle_t cntvect) |
define Fortran Conventions for Argument Passing. | |
int COI_CALLCONV | COIDEF_C (coiHandle_t cntvect) |
define C Conventions for Argument Passing. | |
int COI_CALLCONV | COIDEF_ItLim (coiHandle_t cntvect, int itlim) |
define the Iteration Limit. | |
int COI_CALLCONV | COIDEF_ErrLim (coiHandle_t cntvect, int errlim) |
define the Error Limit. | |
int COI_CALLCONV | COIDEF_ResLim (coiHandle_t cntvect, double reslim) |
define resource limit. | |
int COI_CALLCONV | COIDEF_MaxHeap (coiHandle_t cntvect, double maxheap) |
define Limit on Heap Memory. "" | |
int COI_CALLCONV | COIDEF_IniStat (coiHandle_t cntvect, int inistat) |
handling of the initial status values. | |
int COI_CALLCONV | COIDEF_FVincLin (coiHandle_t cntvect, int fvinclin) |
include the linear terms in function evaluations. | |
int COI_CALLCONV | COIDEF_FVforAll (coiHandle_t cntvect, int fvforall) |
call the FDEval for all constraints, including linear constraints. | |
int COI_CALLCONV | COIDEF_MaxSup (coiHandle_t cntvect, int maxsup) |
limit on superbasics. | |
int COI_CALLCONV | COIDEF_Square (coiHandle_t cntvect, int square) |
square models. | |
int COI_CALLCONV | COIDEF_EmptyRow (coiHandle_t cntvect, int emptyrow) |
allow empty rows. | |
int COI_CALLCONV | COIDEF_EmptyCol (coiHandle_t cntvect, int emptycol) |
allow empty columns. | |
int COI_CALLCONV | COIDEF_DisCont (coiHandle_t cntvect, int discont) |
allow discontinuous functions and derivatives. | |
int COI_CALLCONV | COIDEF_HessFac (coiHandle_t cntvect, double hessfac) |
factor for Hessian density relative to Jacobian density HessFac. | |
int COI_CALLCONV | COIDEF_DebugFV (coiHandle_t cntvect, int debugfv) |
turn Debugging of FDEval on and off. | |
int COI_CALLCONV | COIDEF_Debug2D (coiHandle_t cntvect, int debug2d) |
turn debugging of 2nd derivatives on and off. | |
int COI_CALLCONV | COIDEF_ClearM (coiHandle_t cntvect, int clearm) |
ClearM. | |
int COI_CALLCONV | COIDEF_ThreadS (coiHandle_t cntvect, int threads) |
number of threads allowed internally in CONOPT. | |
int COI_CALLCONV | COIDEF_ThreadF (coiHandle_t cntvect, int threadf) |
number of threads allowed for simultaneous FDEval calls. | |
int COI_CALLCONV | COIDEF_Thread2D (coiHandle_t cntvect, int thread2d) |
number of threads allowed for simultaneous 2DDir calls. | |
int COI_CALLCONV | COIDEF_ThreadC (coiHandle_t cntvect, int threadc) |
check for thread compatibility. | |
int COI_CALLCONV | COIDEF_StdOut (coiHandle_t cntvect, int tostdout) |
allow output to StdOut. | |
int COI_CALLCONV | COIDEF_Optfile (coiHandle_t cntvect, const char *optfile) |
define callback routine for defining an options file. | |
int COI_CALLCONV | COIDEF_ReadMatrix (coiHandle_t cntvect, COI_READMATRIX_t coi_readmatrix) |
define callback routine for providing the matrix data to CONOPT. | |
int COI_CALLCONV | COIDEF_FDEval (coiHandle_t cntvect, COI_FDEVAL_t coi_fdeval) |
define callback routine for performing function and derivative evaluations. | |
int COI_CALLCONV | COIDEF_FDEvalIni (coiHandle_t cntvect, COI_FDEVALINI_t coi_fdevalini) |
define callback routine to perform initialization tasks for the function and derivative evaluation. | |
int COI_CALLCONV | COIDEF_FDEvalEnd (coiHandle_t cntvect, COI_FDEVALEND_t coi_fdevalend) |
define callback routine for the termination of the function and derivative evaluation. | |
int COI_CALLCONV | COIDEF_Status (coiHandle_t cntvect, COI_STATUS_t coi_status) |
define callback routine for returning the completion status. | |
int COI_CALLCONV | COIDEF_Solution (coiHandle_t cntvect, COI_SOLUTION_t coi_solution) |
define callback routine for returning the final solution values. | |
int COI_CALLCONV | COIDEF_Message (coiHandle_t cntvect, COI_MESSAGE_t coi_message) |
define callback routine for handling messages returned during the solution process. | |
int COI_CALLCONV | COIDEF_ErrMsg (coiHandle_t cntvect, COI_ERRMSG_t coi_errmsg) |
define callback routine for returning error messages for row, column or Jacobian elements. | |
int COI_CALLCONV | COIDEF_Progress (coiHandle_t cntvect, COI_PROGRESS_t coi_progress) |
define callback routine for monitoring the algorithmic progress. | |
int COI_CALLCONV | COIDEF_Option (coiHandle_t cntvect, COI_OPTION_t coi_option) |
define callback routine for defining runtime options. | |
int COI_CALLCONV | COIDEF_TriOrd (coiHandle_t cntvect, COI_TRIORD_t coi_triord) |
define callback routine for providing the triangular order information. | |
int COI_CALLCONV | COIDEF_FDInterval (coiHandle_t cntvect, COI_FDINTERVAL_t coi_fdinterval) |
define callback routine for performing function and derivative evaluations on intervals. | |
int COI_CALLCONV | COIDEF_2DDir (coiHandle_t cntvect, COI_2DDIR_t coi_2ddir) |
define callback routine for computing the second derivative for a constraint in a direction. | |
int COI_CALLCONV | COIDEF_2DDirIni (coiHandle_t cntvect, COI_2DDIRINI_t coi_2ddirini) |
define callback routine for initializing the computation of second derivatives for a constraint in a direction. | |
int COI_CALLCONV | COIDEF_2DDirEnd (coiHandle_t cntvect, COI_2DDIREND_t coi_2ddirend) |
define callback routine for termination the computation of second derivatives for a constraint in a direction. | |
int COI_CALLCONV | COIDEF_2DDirLagr (coiHandle_t cntvect, COI_2DDIRLAGR_t coi_2ddirlagr) |
define callback routine for computing the second derivative of the Lagrangian in a direction. | |
int COI_CALLCONV | COIDEF_2DLagrSize (coiHandle_t cntvect, COI_2DLAGRSIZE_t coi_2dlagrsize) |
int COI_CALLCONV | COIDEF_2DLagrStr (coiHandle_t cntvect, COI_2DLAGRSTR_t coi_2dlagrstr) |
define callback routine for providing the structure of the second derivatives of the Lagrangian. | |
int COI_CALLCONV | COIDEF_2DLagrVal (coiHandle_t cntvect, COI_2DLAGRVAL_t coi_2dlagrval) |
define callback routine for computing the values of the second derivatives of the Lagrangian. | |
int COI_CALLCONV | COIDEF_UsrMem (coiHandle_t cntvect, void *usrmem) |
provides a pointer to user memory that is available in all callback functions. NOTE: this is not a callback function, but a pointer to a data structure. | |
int COI_CALLCONV COIDEF_2DLagrSize | ( | coiHandle_t | cntvect, |
COI_2DLAGRSIZE_t | coi_2dlagrsize ) |