|
| | __init__ (self) |
| |
| | buildModel (self) |
| | adding the variables and constraints to the model
|
| |
| | evaluateNonlinearTerm (self, x, rowno, ignerr, thread) |
| | callback method for evaluating the nonlinear terms in a given row
|
| |
| | evaluateNonlinearJacobian (self, x, rowno, jacnum, ignerr, thread) |
| | callback method for evaluating the jacobian for the nonlinear terms in a given row
|
| |
|
| float | Al = 0.16 |
| |
| float | Ak = 2.0 |
| |
| float | Ainp = 0.16 |
| |
| float | Rho = 1.0 |
| |
| float | K = 4.0 |
| |
| | varl = self.addVariable(0.1, 1.0e20, 0.5) |
| |
| | varinp = self.addVariable(0.1, 1.0e21, 0.5) |
| |
| | varout = self.addVariable(0.0, 1.0e22) |
| |
| | varp = self.addVariable(0.0, 1.0e23) |
| |
| | consobj |
| |
| | consprod |
| |
Definition at line 17 of file largebnd.py.
◆ __init__()
| largebnd.TutModelData.__init__ |
( |
| self | ) |
|
◆ Al
| float largebnd.TutModelData.Al = 0.16 |
◆ Ak
| float largebnd.TutModelData.Ak = 2.0 |
◆ Ainp
| float largebnd.TutModelData.Ainp = 0.16 |
◆ Rho
| float largebnd.TutModelData.Rho = 1.0 |
| float largebnd.TutModelData.K = 4.0 |
◆ varl
| largebnd.TutModelData.varl = self.addVariable(0.1, 1.0e20, 0.5) |
◆ varinp
| largebnd.TutModelData.varinp = self.addVariable(0.1, 1.0e21, 0.5) |
◆ varout
| largebnd.TutModelData.varout = self.addVariable(0.0, 1.0e22) |
◆ varp
| largebnd.TutModelData.varp = self.addVariable(0.0, 1.0e23) |
◆ consobj
| largebnd.TutModelData.consobj |
Initial value:= self.addConstraint(
co.ConstraintType_Free,
-0.1,
[self.varl, self.varinp, self.varout, self.varp],
[-1, -1, 0, 0],
[0, 0, 1, 1],
)
Definition at line 38 of file largebnd.py.
◆ consprod
| largebnd.TutModelData.consprod |
Initial value:= self.addConstraint(
co.ConstraintType_Eq,
0.0,
[self.varl, self.varinp, self.varout],
[0, 0, -1],
[1, 1, 0],
)
Definition at line 45 of file largebnd.py.
The documentation for this class was generated from the following file:
- /builds/devel/conopt/conopt/examples/Python_1thread/largebnd.py