We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 020e5ca commit 0935c36Copy full SHA for 0935c36
flowshop.py
@@ -104,7 +104,6 @@ def johnson_seq(data):
104
def johnson_seq_var_2(data):
105
job_count = len(data)
106
job_ids = list(range(0, job_count))
107
-
108
l1 = []
109
l2 = []
110
for job_info in sorted(zip(job_ids, data), key=lambda t: min(t[1])):
@@ -114,7 +113,6 @@ def johnson_seq_var_2(data):
114
113
l1.append(job_id)
115
else:
116
l2.insert(0, job_id)
117
118
return l1 + l2
119
120
0 commit comments