haileyhalimj@gmail.com
commited on
Commit
·
ebdc033
1
Parent(s):
d8fcfd0
Refactor optimization function: renamed
Browse files
src/models/optimizer_real.py
CHANGED
|
@@ -170,7 +170,7 @@ def sort_products_by_hierarchy(product_list):
|
|
| 170 |
# Removed get_dependency_timing_weight function - no longer needed
|
| 171 |
# Dependency ordering is now handled by topological sorting in sort_products_by_hierarchy()
|
| 172 |
|
| 173 |
-
def
|
| 174 |
# *** CRITICAL: Load fresh data to reflect current Streamlit configs ***
|
| 175 |
print("\n" + "="*60)
|
| 176 |
print("🔄 LOADING FRESH DATA FOR OPTIMIZATION")
|
|
@@ -659,4 +659,4 @@ def solve_fixed_team_weekly():
|
|
| 659 |
|
| 660 |
|
| 661 |
if __name__ == "__main__":
|
| 662 |
-
|
|
|
|
| 170 |
# Removed get_dependency_timing_weight function - no longer needed
|
| 171 |
# Dependency ordering is now handled by topological sorting in sort_products_by_hierarchy()
|
| 172 |
|
| 173 |
+
def run_optimization_for_week():
|
| 174 |
# *** CRITICAL: Load fresh data to reflect current Streamlit configs ***
|
| 175 |
print("\n" + "="*60)
|
| 176 |
print("🔄 LOADING FRESH DATA FOR OPTIMIZATION")
|
|
|
|
| 659 |
|
| 660 |
|
| 661 |
if __name__ == "__main__":
|
| 662 |
+
run_optimization_for_week()
|