Fix: Update subprocess path to src/fleet_assignment/optimizer.py
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user