CONOPT
Loading...
Searching...
No Matches
conopt Module Reference

Data Types

class  _SwigNonDynamicMeta
 Meta class to enforce nondynamic attributes (no new attributes) for a class. More...
 
class  Conopt
 The Conopt class. More...
 
class  ConoptAlgProgress
 Proxy of C++ ConoptAlgProgress class. More...
 
class  ConoptModelData
 The Model Data class. More...
 
class  Constraint
 the constraint data More...
 
class  ConstraintType
 
class  doubleArray
 
class  DoubleVector
 Proxy of C++ std::vector< double > class. More...
 
class  EvaluationMode
 
class  intArray
 
class  IntArray3
 Proxy of C++ std::array< int,3 > class. More...
 
class  IntVector
 Proxy of C++ std::vector< int > class. More...
 
class  jconoptJNI
 
class  MessageHandler
 The message handler class. More...
 
class  ModelData
 A class that can be extended to build and solve a model using Conopt. More...
 
class  ObjectiveElement
 
class  SDEvaluationType
 
class  Sense
 
class  StringVector
 Proxy of C++ std::vector< std::string > class. More...
 
class  SwigPyIterator
 Proxy of C++ swig::SwigPyIterator class. More...
 
class  SWIGTYPE_p_coiHandle_t
 
class  SWIGTYPE_p_double
 
class  SWIGTYPE_p_int
 
class  SWIGTYPE_p_std__vectorT_double_t
 
class  SWIGTYPE_p_std__vectorT_int_t
 
class  Variable
 the variable data More...
 
class  VerbosityLevel
 

Functions/Subroutines

integer(c_int) function coidef_ini (cntvect)
 initializes the Control Vector by placing default values in the various positions.
 
integer(c_int) function coidef_numvar (cntvect, numvar)
 defines the number of variables in the model.
 
integer(c_int) function coidef_numcon (cntvect, numcon)
 defines the number of constraints in the model.
 
integer(c_int) function coidef_numnz (cntvect, numnz)
 defines the number of nonzero elements in the Jacobian.
 
integer(c_int) function coidef_numnlnz (cntvect, numnlnz)
 defines the Number of Nonlinear Nonzeros.
 
integer(c_int) function coidef_numhess (cntvect, numhess)
 defines the Number of Hessian Nonzeros.
 
integer(c_int) function coidef_optdir (cntvect, optdir)
 defines the Optimization Direction.
 
integer(c_int) function coidef_objcon (cntvect, objcon)
 defines the Objective Constraint.
 
integer(c_int) function coidef_objvar (cntvect, objvar)
 defines the Objective Variable.
 
integer(c_int) function coidef_license (cntvect, licint1, licint2, licint3, licstring)
 define the License Information.
 
integer(c_int) function coidef_itlim (cntvect, itlim)
 define the Iteration Limit.
 
integer(c_int) function coidef_errlim (cntvect, errlim)
 define the Error Limit.
 
integer(c_int) function coidef_debugfv (cntvect, debugfv)
 turn Debugging of FDEval on and off.
 
integer(c_int) function coidef_maxsup (cntvect, maxsup)
 limit on superbasics.
 
integer(c_int) function coidef_square (cntvect, square)
 square models.
 
integer(c_int) function coidef_emptyrow (cntvect, emptyrow)
 allow empty rows.
 
integer(c_int) function coidef_emptycol (cntvect, emptycol)
 allow empty columns.
 
integer(c_int) function coidef_debug2d (cntvect, debug2d)
 turn debugging of 2nd derivatives on and off.
 
integer(c_int) function coidef_optorder (cntvect, optorder)
 define Optfile / Option order.
 
integer(c_int) function coidef_discont (cntvect, discont)
 allow discontinuous functions and derivatives.
 
integer(c_int) function coidef_threads (cntvect, threads)
 number of threads allowed internally in CONOPT.
 
integer(c_int) function coidef_threadf (cntvect, threadf)
 number of threads allowed for simultaneous FDEval calls.
 
integer(c_int) function coidef_thread2d (cntvect, thread2d)
 number of threads allowed for simultaneous 2DDir calls.
 
integer(c_int) function coidef_threadc (cntvect, threadc)
 check for thread compatibility.
 
integer(c_int) function coidef_stdout (cntvect, tostdout)
 allow output to StdOut.
 
integer(c_int) function coidef_clearm (cntvect, clearm)
 ClearM.
 
integer(c_int) function coidef_zeronoise (cntvect, zeronoise)
 define zero noise level.
 
integer(c_int) function coidef_reslim (cntvect, reslim)
 define resource limit.
 
integer(c_int) function coidef_hessfac (cntvect, hessfac)
 factor for Hessian density relative to Jacobian density HessFac.
 
integer(c_int) function coidef_maxheap (cntvect, maxheap)
 define Limit on Heap Memory. ""
 
integer(c_int) function coidef_optfile (cntvect, optfile)
 define callback routine for defining an options file.
 
integer(c_int) function coidef_inistat (cntvect, inistat)
 handling of the initial status values.
 
integer(c_int) function coidef_fvinclin (cntvect, fvinclin)
 include the linear terms in function evaluations.
 
integer(c_int) function coidef_fvforall (cntvect, fvforall)
 call the FDEval for all constraints, including linear constraints.
 
integer(c_int) function coidef_readmatrix (cntvect, coi_readmatrix)
 define callback routine for providing the matrix data to CONOPT.
 
integer(c_int) function coidef_fdeval (cntvect, coi_fdeval)
 define callback routine for performing function and derivative evaluations.
 
integer(c_int) function coidef_fdevalini (cntvect, coi_fdevalini)
 define callback routine to perform initialization tasks for the function and derivative evaluation.
 
integer(c_int) function coidef_fdevalend (cntvect, coi_fdevalend)
 define callback routine for the termination of the function and derivative evaluation.
 
integer(c_int) function coidef_status (cntvect, coi_status)
 define callback routine for returning the completion status.
 
integer(c_int) function coidef_solution (cntvect, coi_solution)
 define callback routine for returning the final solution values.
 
integer(c_int) function coidef_message (cntvect, coi_message)
 define callback routine for handling messages returned during the solution process.
 
integer(c_int) function coidef_errmsg (cntvect, coi_errmsg)
 define callback routine for returning error messages for row, column or Jacobian elements.
 
integer(c_int) function coidef_progress (cntvect, coi_progress)
 define callback routine for monitoring the algorithmic progress.
 
integer(c_int) function coidef_option (cntvect, coi_option)
 define callback routine for defining runtime options.
 
integer(c_int) function coidef_triord (cntvect, coi_triord)
 define callback routine for providing the triangular order information.
 
integer(c_int) function coidef_fdinterval (cntvect, coi_fdinterval)
 define callback routine for performing function and derivative evaluations on intervals.
 
integer(c_int) function coidef_2ddir (cntvect, coi_2ddir)
 define callback routine for computing the second derivative for a constraint in a direction.
 
integer(c_int) function coidef_2ddirini (cntvect, coi_2ddirini)
 define callback routine for initializing the computation of second derivatives for a constraint in a direction.
 
integer(c_int) function coidef_2ddirend (cntvect, coi_2ddirend)
 define callback routine for termination the computation of second derivatives for a constraint in a direction.
 
integer(c_int) function coidef_2ddirlagr (cntvect, coi_2ddirlagr)
 define callback routine for computing the second derivative of the Lagrangian in a direction.
 
integer(c_int) function coidef_2dlagrsize (cntvect, coi_2dlagrsize)
 
integer(c_int) function coidef_2dlagrstr (cntvect, coi_2dlagrstr)
 define callback routine for providing the structure of the second derivatives of the Lagrangian.
 
integer(c_int) function coidef_2dlagrval (cntvect, coi_2dlagrval)
 define callback routine for computing the values of the second derivatives of the Lagrangian.
 
integer(c_int) function coidef_usrmem (cntvect, 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.
 
integer(c_int) function coi_solve (cntvect)
 method for starting the solving process of CONOPT.
 
subroutine coiget_version (major, minor, patch)
 returns the version number. It can be used to ensure that the modeler is linked to the correct version of the CONOPT DLL.
 
real(c_double) function coiget_maxheapused (cntvect)
 After a model has been solved this method will return the amount of heap memory used.
 
integer(c_int) function coiget_maxthreads (cntvect)
 returns the maximum number of threads that can be used by CONOPT.
 
integer(c_int) function coiget_rangeerrors (cntvect)
 returns the range errors that were encountered.
 
integer(c_int) function coi_create (cntvect)
 initializes CONOPT and creates the control vector.
 
integer(c_int) function coi_free (cntvect)
 frees the control vector.
 
 _swig_repr (self)
 
 _swig_setattr_nondynamic_instance_variable (set)
 
 _swig_setattr_nondynamic_class_variable (set)
 
 _swig_add_metaclass (metaclass)
 Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass.
 

Variables

 ConstraintType_Eq = libconoptpy4.ConstraintType_Eq
 
 ConstraintType_GtEq = libconoptpy4.ConstraintType_GtEq
 
 ConstraintType_LtEq = libconoptpy4.ConstraintType_LtEq
 
 ConstraintType_Free = libconoptpy4.ConstraintType_Free
 
 ObjectiveElement_Variable = libconoptpy4.ObjectiveElement_Variable
 
 ObjectiveElement_Constraint = libconoptpy4.ObjectiveElement_Constraint
 
 Sense_Minimize = libconoptpy4.Sense_Minimize
 
 Sense_Maximize = libconoptpy4.Sense_Maximize
 
 SDEvaluationType__None = libconoptpy4.SDEvaluationType__None
 
 SDEvaluationType_Constraint = libconoptpy4.SDEvaluationType_Constraint
 
 SDEvaluationType_Lagrangian = libconoptpy4.SDEvaluationType_Lagrangian
 
 VerbosityLevel_VerbLevelMin = libconoptpy4.VerbosityLevel_VerbLevelMin
 
 VerbosityLevel__None = libconoptpy4.VerbosityLevel__None
 
 VerbosityLevel_Normal = libconoptpy4.VerbosityLevel_Normal
 
 VerbosityLevel_Error = libconoptpy4.VerbosityLevel_Error
 
 VerbosityLevel_Debug = libconoptpy4.VerbosityLevel_Debug
 
 VerbosityLevel_VerbLevelMax = libconoptpy4.VerbosityLevel_VerbLevelMax
 
 EvaluationMode_TermsOnly = libconoptpy4.EvaluationMode_TermsOnly
 
 EvaluationMode_JacobianOnly = libconoptpy4.EvaluationMode_JacobianOnly
 
 EvaluationMode_Both = libconoptpy4.EvaluationMode_Both
 

Function/Subroutine Documentation

◆ coidef_2dlagrsize()

integer(c_int) function conopt::coidef_2dlagrsize ( integer(c_int), dimension(*), intent(inout) cntvect,
integer(c_int), external coi_2dlagrsize )

Definition at line 1520 of file conopt.f90.

◆ _swig_repr()

conopt._swig_repr ( self)
protected

Definition at line 22 of file conopt.py.

◆ _swig_setattr_nondynamic_instance_variable()

conopt._swig_setattr_nondynamic_instance_variable ( set)
protected

Definition at line 30 of file conopt.py.

◆ _swig_setattr_nondynamic_class_variable()

conopt._swig_setattr_nondynamic_class_variable ( set)
protected

Definition at line 43 of file conopt.py.

◆ _swig_add_metaclass()

conopt._swig_add_metaclass ( metaclass)
protected

Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass.

Definition at line 52 of file conopt.py.

Variable Documentation

◆ ConstraintType_Eq

conopt.ConstraintType_Eq = libconoptpy4.ConstraintType_Eq

Definition at line 1823 of file conopt.py.

◆ ConstraintType_GtEq

conopt.ConstraintType_GtEq = libconoptpy4.ConstraintType_GtEq

Definition at line 1825 of file conopt.py.

◆ ConstraintType_LtEq

conopt.ConstraintType_LtEq = libconoptpy4.ConstraintType_LtEq

Definition at line 1827 of file conopt.py.

◆ ConstraintType_Free

conopt.ConstraintType_Free = libconoptpy4.ConstraintType_Free

Definition at line 1829 of file conopt.py.

◆ ObjectiveElement_Variable

conopt.ObjectiveElement_Variable = libconoptpy4.ObjectiveElement_Variable

Definition at line 1831 of file conopt.py.

◆ ObjectiveElement_Constraint

conopt.ObjectiveElement_Constraint = libconoptpy4.ObjectiveElement_Constraint

Definition at line 1833 of file conopt.py.

◆ Sense_Minimize

conopt.Sense_Minimize = libconoptpy4.Sense_Minimize

Definition at line 1835 of file conopt.py.

◆ Sense_Maximize

conopt.Sense_Maximize = libconoptpy4.Sense_Maximize

Definition at line 1837 of file conopt.py.

◆ SDEvaluationType__None

conopt.SDEvaluationType__None = libconoptpy4.SDEvaluationType__None

Definition at line 1839 of file conopt.py.

◆ SDEvaluationType_Constraint

conopt.SDEvaluationType_Constraint = libconoptpy4.SDEvaluationType_Constraint

Definition at line 1841 of file conopt.py.

◆ SDEvaluationType_Lagrangian

conopt.SDEvaluationType_Lagrangian = libconoptpy4.SDEvaluationType_Lagrangian

Definition at line 1843 of file conopt.py.

◆ VerbosityLevel_VerbLevelMin

conopt.VerbosityLevel_VerbLevelMin = libconoptpy4.VerbosityLevel_VerbLevelMin

Definition at line 2236 of file conopt.py.

◆ VerbosityLevel__None

conopt.VerbosityLevel__None = libconoptpy4.VerbosityLevel__None

Definition at line 2238 of file conopt.py.

◆ VerbosityLevel_Normal

conopt.VerbosityLevel_Normal = libconoptpy4.VerbosityLevel_Normal

Definition at line 2240 of file conopt.py.

◆ VerbosityLevel_Error

conopt.VerbosityLevel_Error = libconoptpy4.VerbosityLevel_Error

Definition at line 2242 of file conopt.py.

◆ VerbosityLevel_Debug

conopt.VerbosityLevel_Debug = libconoptpy4.VerbosityLevel_Debug

Definition at line 2244 of file conopt.py.

◆ VerbosityLevel_VerbLevelMax

conopt.VerbosityLevel_VerbLevelMax = libconoptpy4.VerbosityLevel_VerbLevelMax

Definition at line 2246 of file conopt.py.

◆ EvaluationMode_TermsOnly

conopt.EvaluationMode_TermsOnly = libconoptpy4.EvaluationMode_TermsOnly

Definition at line 2401 of file conopt.py.

◆ EvaluationMode_JacobianOnly

conopt.EvaluationMode_JacobianOnly = libconoptpy4.EvaluationMode_JacobianOnly

Definition at line 2403 of file conopt.py.

◆ EvaluationMode_Both

conopt.EvaluationMode_Both = libconoptpy4.EvaluationMode_Both

Definition at line 2405 of file conopt.py.