Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion flixopt/transform_accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1780,9 +1780,14 @@ def to_clean_key(period_label, scenario_label) -> tuple:
if selector:
logger.info(f'Clustering {", ".join(f"{k}={v}" for k, v in selector.items())}...')

# Suppress tsam warning about minimal value constraints (informational, not actionable)
# Suppress tsam warnings:
# - minimal value constraints (informational, not actionable)
# - ClusterConfig.weights deprecation (will be addressed in clustering refactor)
with warnings.catch_warnings():
warnings.filterwarnings('ignore', category=UserWarning, message='.*minimal value.*exceeds.*')
warnings.filterwarnings(
'ignore', category=DeprecationWarning, message='.*Passing weights via ClusterConfig.*'
)

# Build ClusterConfig with auto-calculated weights, filtered to available columns
clustering_weights = self._calculate_clustering_weights(ds_slice)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ network_viz = [

# Full feature set (everything except dev tools)
full = [
"tsam >= 3.1.2, < 4", # Time series aggregation for clustering (3.0.0 and 3.1.0 yanked)
"tsam >= 3.3.0, < 4", # Time series aggregation for clustering (3.0.0 and 3.1.0 yanked)
"pyvis==0.3.2", # Visualizing FlowSystem Network
"scipy >= 1.15.1, < 2", # Used by tsam. Prior versions have conflict with highspy. See https://github.com/scipy/scipy/issues/22257
"gurobipy >= 10.0.0, < 14; python_version < '3.14'", # No Python 3.14 wheels yet (expected Q1 2026)
Expand Down
Loading