Skip to content

Commit 421642b

Browse files
committed
Fixes error in cds handling
1 parent f90543a commit 421642b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def solve():
155155
return response
156156

157157
elif pfsp_algorithm == "cds":
158-
seq, jobs, opt_makespan = problem_inst.genetic_algorithm()
158+
seq, jobs, opt_makespan = problem_inst.cds()
159159
fig = jobs_to_gantt_fig(jobs, num_machines, num_jobs)
160160
graph_json = ganttfig_to_json(fig)
161161
resp = json.dumps(

0 commit comments

Comments
 (0)