initial project setup with README and ignore
This commit is contained in:
33
app/config/mobile_config.py
Normal file
33
app/config/mobile_config.py
Normal file
@@ -0,0 +1,33 @@
|
||||
"""Mobile-specific configuration for delivery route optimization."""
|
||||
|
||||
# Mobile optimization settings
|
||||
MOBILE_CONFIG = {
|
||||
"default_algorithm": "greedy",
|
||||
"max_deliveries": 100,
|
||||
"timeout_seconds": 5,
|
||||
"response_compression": True,
|
||||
"performance_monitoring": True,
|
||||
"mobile_headers": True
|
||||
}
|
||||
|
||||
# Performance targets for mobile
|
||||
PERFORMANCE_TARGETS = {
|
||||
"greedy_algorithm": {
|
||||
"max_response_time": 0.1, # 100ms
|
||||
"max_deliveries": 50,
|
||||
"description": "Ultra-fast for real-time mobile apps"
|
||||
},
|
||||
"tsp_algorithm": {
|
||||
"max_response_time": 3.0, # 3 seconds
|
||||
"max_deliveries": 30,
|
||||
"description": "Optimal but slower, good for planning"
|
||||
}
|
||||
}
|
||||
|
||||
# Mobile app recommendations
|
||||
MOBILE_RECOMMENDATIONS = {
|
||||
"real_time_delivery": "greedy",
|
||||
"route_planning": "tsp",
|
||||
"large_batches": "greedy",
|
||||
"cost_optimization": "tsp"
|
||||
}
|
||||
Reference in New Issue
Block a user