You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Supress solver output in SegmentedCalculation in favor of a progress bar, add method to suppress_output() and add tqdm to dependencies
* Add logging.info() about solving
* Merge main intop feature/402-feature-silent-framework
* Merge main intop feature/402-feature-silent-framework
* Add extra log_to_console option to solvers.py
* Add extra log_to_console option to solvers.py
* Add extra log_to_console option config.py
* Add to tests
* Use default from console to say if logging to console (gurobipy still has some issues...)
* Add rounding duration of solve
* Use contextmanager to entirely supress output in SegmentedCalculation
* Improve suppress_output()
* More options in config.py
* Update CHANGELOG.md
* Use new Config options in examples
* Sett plotting backend in CI directly, overwriting all configs
* Fixed tqdm progress bar to respect CONFIG.silent()
* Replaced print() with framework logger (examples/05_Two-stage-optimization/two_stage_optimization.py
* Added comprehensive tests for suppress_output()
* Remove unused import
* Ensure progress bar cleanup on exceptions.
* Add test
* Split method in SegmentedCalculation for better distinction if show or not show solver output
* USe config show in exmaples
* USe config show in results.plot_network()
* Improve readabailty of code
* Typo
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,13 +51,23 @@ If upgrading from v2.x, see the [v3.0.0 release notes](https://github.com/flixOp
51
51
52
52
## [Unreleased] - ????-??-??
53
53
54
-
**Summary**:
54
+
**Summary**: Enhanced solver configuration with new CONFIG.Solving section for centralized solver parameter management.
55
55
56
56
If upgrading from v2.x, see the [v3.0.0 release notes](https://github.com/flixOpt/flixOpt/releases/tag/v3.0.0) and [Migration Guide](https://flixopt.github.io/flixopt/latest/user-guide/migration-guide-v3/).
57
57
58
58
### ✨ Added
59
59
60
+
**Solver configuration:**
61
+
- **New `CONFIG.Solving` configuration section** for centralized solver parameter management:
62
+
- `mip_gap`: Default MIP gap tolerance for solver convergence (default: 0.01)
63
+
- `time_limit_seconds`: Default time limit in seconds for solver runs (default: 300)
64
+
- `log_to_console`: Whether solver should output to console (default: True)
65
+
- `log_main_results`: Whether to log main results after solving (default: True)
66
+
- Solvers (`HighsSolver`, `GurobiSolver`) now use `CONFIG.Solving` defaults for parameters, allowing global configuration
67
+
- Solver parameters can still be explicitly overridden when creating solver instances
68
+
60
69
### 💥 Breaking Changes
70
+
- Individual solver output is now hidden in **SegmentedCalculation**. To return to the prior behaviour, set `show_individual_solves=True` in `do_modeling_and_solve()`.
0 commit comments