Releases: linjing-lab/optimtool
Releases · linjing-lab/optimtool
optimtool-2.8.2
Improved Detail:
- remove input parameter named res of both methods of nonmonotonic_search which exists in v2.8.1, and reduce the computed times of res.subs operation, replace res0 with a negative value of variable d (present as dk in barzilar_borwein method).
optimtool-2.8.1
Simplified Details:
- disable .jacobian operation of any method of _search file, and input the first derivative from the main algorithms, mainly to reduce the gradient computed times of linear_search and nonmonotonic_search, in order to accelerate the execution of any method of constrain folder by reducing the computational burden of its search kernel.
optimtool-2.8.0
Improved Details:
- reduced opening memory of hessiani in dfp method, v2.7.3 is an optimized version of newton_quasi compared to previous versions.
- reduce the calculation times of Lasso.approximate_point method, mainly to simplify the executed updated gradient in iterating points.
- unify the updated operation of penalty methods, and adjust the default epsilon of example.Lasso.* to balance precision in case of tests.
- select "L1" mode in obtaining the last iteration value of objective function in Lasso method before it was appended into the final output.
optimtool-2.7.3
Upgraded Details:
- reduce the calculation times of bfgs and dfp method of newton_quasi file, mainly to reduce the updated runtime of Hessian matrix.
optimtool-2.7.2
Enhancement:
- add MulType, PowerType, AddType to support the most common operators in constructing input conform to FuncArray.
Users should make sure the differentiable objective function with local minima that can be constructed with operators from sympy and adapt to rules according to FuncType.
optimtool-2.7.1
Improved Comparison:
- Enhance the comparison of internal values by taking indexes, like alpha_down from barzilar_borwein, pk from levenberg_marquardt, pk from steihaug_CG.
optimtool-2.7.0
Improved Details:
- optimized the calculation times of delta value in newton_quasi methods by reusing delta (sk).
- reshape dk returned from conjugate method of levenberg_marquardt algorithm to pass test.
optimtool-2.6.2
Upgraded Traits:
- add p2t function to verify the input value named x_0 in optimtool.example.Lasso.py.
- adjust break epsilon to 1e-4 in optimtool.hybrid.*, shorten algorithms execution time.
see test_hybrid.py which solved the underling issue:
with optimal points around (0, 1).
optimtool-2.6.1
Improved Trait:
- add assertion in L_BFGS to make users not to set value m with a negative which exists in double_loop.
- add assertion in example to provide less rigorous validation for the methods involved.
see test_L_BFGS.py which tested L_BFGS method.
optimtool-2.6.0
Fixed Bug:
- fixed bug returned from numpy.core._exceptions._UFuncOutputCastingError: Cannot cast ufunc 'add' output from dtype('float64') to dtype('int64') with casting rule 'same_kind', though manually set default parameter to float can avoid this issue.
see test_lag.py which solved the above issue in this version.