Fix: Update subprocess path to src/fleet_assignment/optimizer.py

This commit is contained in:
2026-06-21 18:23:52 -03:00
parent ea1896a544
commit d3dcc6a30b

View File

@@ -97,7 +97,7 @@ df_results = load_results()
def run_solver_subprocess(time_limit_sec, output_placeholder): def run_solver_subprocess(time_limit_sec, output_placeholder):
"""Spawns the optimization worker and streams logs to the UI.""" """Spawns the optimization worker and streams logs to the UI."""
process = subprocess.Popen( process = subprocess.Popen(
["uv", "run", "python", "-u", "solver_worker.py", str(time_limit_sec)], ["uv", "run", "python", "-u", "src/fleet_assignment/optimizer.py", str(time_limit_sec)],
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT, stderr=subprocess.STDOUT,
text=True, text=True,