Refactor optimization configuration and constants integration
haileyhalimj@gmail.com
fa2c20f
- Updated `optimization_config.py` to utilize constants from `constants.py` for better maintainability.
- Added new constants for line counts, maximum parallel workers, and default rates.
- Enhanced session state initialization in `config_page.py` to use values from `DefaultConfig`.
- Improved architecture diagram to reflect changes in optimization flow.
Cleaning minor lines and unused variables
haileyhalimj@gmail.com
1defa39
Delete codes no longer used
haileyhalimj@gmail.com
cff99be
Trying to fix infinite reloading
haileyhalimj@gmail.com
28016d1
Solve default problem and none date issue
haileyhalimj@gmail.com
4d36152
🔄 Replace get_per_product_speed() with direct extract.read_package_speed_data() calls
haileyhalimj@gmail.com
60e706b
- Remove redundant get_per_product_speed() wrapper function
- Replace all 6 usage locations with direct extract.read_package_speed_data() calls
- Updated files:
- src/config/optimization_config.py: Remove function definition and update calls
- src/models/optimizer_real.py: Remove import and update calls
- src/demand_filtering.py: Direct import and call (2 locations)
- ui/pages/optimization_results.py: Direct import and call
- src/demand_validation_viz.py: Direct import and call
- Eliminate unnecessary abstraction layer
- Improve code clarity by using direct function calls
- Reduce function call overhead
Restore improved optimizer and simplify demand validation
haileyhalimj@gmail.com
acd1110
Major improvements:
- Remove IDLE employee tracking from optimizer_real.py
- Improve variable naming: Z/T/U → Assignment/Hours/Units
- Add new employee tracking system: EMPLOYEE_COUNT and EMPLOYEE_HOURS
- Simplify demand_validation_viz.py (371→270 lines)
- Remove idle employee display from optimization_results.py
Code reorganization:
- Rename src/utils to src/preprocess for better organization
Testing: ✅ Optimization runs successfully with 3 products, €419.10 total cost
deleting the variables in the config to prevent infinite loop
haileyhalimj@gmail.com
e26abe9
delete vision material master data
haileyhalimj@gmail.com
99c7d69
Refactor optimization function: renamed
haileyhalimj@gmail.com
ebdc033
clean code for optimizer
haileyhalimj@gmail.com
d8fcfd0
Refactor configuration management to use dynamic calls for optimization parameters. Added a helper function to refresh module-level variables after configuration changes. Introduced new CSV files for kit composition and real data, while cleaning up old demand files.
HaLim
e892a6b
demand filtering / visualization done.
HaLim
709359a
Touchpoint - complete idle analysis data
HaLim
868114c
add configuration class
HaLim
de19c07
Add streamlit
HaLim
131af7c
migrate core code name
HaLim
4003592
Delete unncessesary files
HaLim
f73a608
Finalize optimizer with shift type / partial&bulk work type etc
HaLim
42b5ea5
Update csv for unit testing. The optimization most up to date. Streamlit bit fixed
HaLim
26ebf77
Change based on discussion with Christian. Humanizer and Fixed staff are not anymore interchangeable.
HaLim
c21f7f2
add streamlit and clean the optimizer
HaLim
46e0ea9
Finalize ETL and optimization
HaLim
89d7197
Update main optimizer as the variable names changed to more intuitive ones
HaLim
8726cfd
Update the variable name into more intuitive names.