Skip to content

Commit edf47c1

Browse files
committed
Adds new method for getting johnson's sequence only
1 parent 28371d9 commit edf47c1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

flowshop.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ def solve_johnson(self):
8181
optim_makespan = int(jobs_m2[-1]["end_time"])
8282
return seq, [jobs_m1, jobs_m2], optim_makespan
8383

84+
@staticmethod
85+
def johnshon_seq(data):
86+
# data matrix must have only two machines
87+
raise NotImplementedError
88+
89+
90+
91+
8492
def cds(self, parameter_list):
8593
raise NotImplementedError
8694

0 commit comments

Comments
 (0)