|
| | __init__ (self) |
| |
| | buildModel (self) |
| | adding the variables and constraints to the model
|
| |
| | initFDEvaluation (self, x, rowlist, mode, numthread, ignerr) |
| |
| | evaluateNonlinearTerm (self, x, rowno, ignerr, thread) |
| |
| | evaluateNonlinearJacobian (self, x, rowno, jacnum, ignerr, thread) |
| |
|
| int | L = 0 |
| |
| int | Inp = 0 |
| |
| int | Out = 0 |
| |
| int | P = 0 |
| |
| float | Al = 0.16 |
| |
| float | Ak = 2.0 |
| |
| float | Ainp = 0.16 |
| |
| float | Rho = 1.0 |
| |
| float | K = 4.0 |
| |
| list | hold = [0, 0, 0] |
| |
| tuple | hold1 |
| |
| | hold2 = pow(self.hold1,( -1./self.Rho )) |
| |
| tuple | hold3 = self.hold2 / self.hold1 |
| |
Definition at line 16 of file tutoriali.py.
◆ __init__()
| tutoriali.TutModelData.__init__ |
( |
| self | ) |
|
| tutoriali.TutModelData.L = 0 |
◆ Inp
| tutoriali.TutModelData.Inp = 0 |
◆ Out
| tutoriali.TutModelData.Out = 0 |
| tutoriali.TutModelData.P = 0 |
◆ Al
| float tutoriali.TutModelData.Al = 0.16 |
◆ Ak
| float tutoriali.TutModelData.Ak = 2.0 |
◆ Ainp
| float tutoriali.TutModelData.Ainp = 0.16 |
◆ Rho
| float tutoriali.TutModelData.Rho = 1.0 |
| float tutoriali.TutModelData.K = 4.0 |
◆ hold
| list tutoriali.TutModelData.hold = [0, 0, 0] |
◆ hold1
| tuple tutoriali.TutModelData.hold1 |
Initial value:= (self.Al*pow(self.L, (-self.Rho)) + \
self.Ak*pow(self.K, (-self.Rho)) + \
self.Ainp*pow(self.Inp, (-self.Rho)))
Definition at line 69 of file tutoriali.py.
◆ hold2
| tutoriali.TutModelData.hold2 = pow(self.hold1,( -1./self.Rho )) |
◆ hold3
| tuple tutoriali.TutModelData.hold3 = self.hold2 / self.hold1 |
The documentation for this class was generated from the following file:
- /builds/devel/conopt/conopt/examples/Python_1thread/tutoriali.py