polykin.math.optimization¤
VectorOptimumResult
dataclass
¤
Dataclass with the results of the optimization.
| ATTRIBUTE | DESCRIPTION |
|---|---|
method |
Method used to find the optimum.
TYPE:
|
success |
If
TYPE:
|
message |
Description of the exit status.
TYPE:
|
nfeval |
Number of function evaluations.
TYPE:
|
ngeval |
Number of user-supplied gradient evaluations.
TYPE:
|
nheval |
Number of user-supplied Hessian evaluations.
TYPE:
|
niter |
Number of iterations.
TYPE:
|
x |
Optimum value.
TYPE:
|
f |
Function value at the optimum.
TYPE:
|
g |
Gradient at the optimum.
TYPE:
|
H |
Last evaluated or estimated Hessian matrix.
TYPE:
|
Hinv |
Last evaluated or estimated inverse Hessian (\(H^{-1}\)) matrix.
TYPE:
|
L |
Last evaluated or estimated Cholesky factor \(L\) (where \(H = LL^T\)) of the Hessian matrix.
TYPE:
|
Source code in src/polykin/math/optimization/results.py
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | |
__repr__ ¤
__repr__() -> str
Return a string representation of the optimum result.
Source code in src/polykin/math/optimization/results.py
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | |