CONOPT
Loading...
Searching...
No Matches
pyconopt.Constraint Class Reference

the constraint data More...

Public Member Functions

 __init__ (self, idx, type, bound, slackstat)
 init(Constraint self, int idx, ConoptConstraintType type, double bound, int slackstat) -> Constraint
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 index = property(libconopt4_python.Constraint_index_get, libconopt4_python.Constraint_index_set, doc=)
 
 constype = property(libconopt4_python.Constraint_constype_get, libconopt4_python.Constraint_constype_set, doc=)
 
 rhs = property(libconopt4_python.Constraint_rhs_get, libconopt4_python.Constraint_rhs_set, doc=)
 
 slackstatus = property(libconopt4_python.Constraint_slackstatus_get, libconopt4_python.Constraint_slackstatus_set, doc=)
 

Detailed Description

the constraint data

This struct is used internally for supplying the variable data to CONOPT. The user is able to query this data from the ConoptModelData object. However, the user is not able to change the data after the variable has been added to CONOPT.

Definition at line 1915 of file pyconopt.py.

Constructor & Destructor Documentation

◆ __init__()

pyconopt.Constraint.__init__ ( self,
idx,
type,
bound,
slackstat )

init(Constraint self, int idx, ConoptConstraintType type, double bound, int slackstat) -> Constraint

Parameters

idx: int type: enum ConoptConstraintType bound: double slackstat: int

Definition at line 1930 of file pyconopt.py.

Property Documentation

◆ thisown

pyconopt.Constraint.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 1927 of file pyconopt.py.

◆ index

pyconopt.Constraint.index = property(libconopt4_python.Constraint_index_get, libconopt4_python.Constraint_index_set, doc=)
static

Definition at line 1943 of file pyconopt.py.

◆ constype

pyconopt.Constraint.constype = property(libconopt4_python.Constraint_constype_get, libconopt4_python.Constraint_constype_set, doc=)
static

Definition at line 1944 of file pyconopt.py.

◆ rhs

pyconopt.Constraint.rhs = property(libconopt4_python.Constraint_rhs_get, libconopt4_python.Constraint_rhs_set, doc=)
static

Definition at line 1945 of file pyconopt.py.

◆ slackstatus

pyconopt.Constraint.slackstatus = property(libconopt4_python.Constraint_slackstatus_get, libconopt4_python.Constraint_slackstatus_set, doc=)
static

Definition at line 1946 of file pyconopt.py.


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