Skip to content

Commit

Permalink
[Optimization] Turned off display in TruncatedNewton
Browse files Browse the repository at this point in the history
  • Loading branch information
arpastrana committed Oct 8, 2024
1 parent f09b7ce commit 9abaef3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Turned off display in `TruncatedNewton`.
- Fixed bug in `OptimizationRecorder`. The recorder did not know how to record optimization history without an explictly initialized optimizer.
- Deprecated `jax_fdm.optimization.optimizers.scipy` in favor of `jax_fdm.optimization.optimizers.gradient_based`.
- Fixed bug. Return early in `NetworkArtist.edge_width()` if the artist edges list is empty.
Expand Down
2 changes: 1 addition & 1 deletion src/jax_fdm/optimization/optimizers/gradient_based.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class TruncatedNewton(Optimizer):
Minimize a scalar function of one or more variables using a truncated Newton (TNC) algorithm.
"""
def __init__(self, **kwargs):
super().__init__(name="TNC", **kwargs)
super().__init__(name="TNC", disp=False, **kwargs)


class TrustRegionConstrained(ConstrainedOptimizer):
Expand Down

0 comments on commit 9abaef3

Please sign in to comment.