I run my code with the new branch and got this error I wasn't getting before. I got it even before adding optional=True
AttributeError Traceback (most recent call last)
in
12 av_list = []
13 for j in availability:
---> 14 av_list.append(ps.and_([ps.TaskStartAfterLax(students_tasks[-1], j[0],optional=True), ps.TaskEndBeforeLax(students_tasks[-1], j[1],optional=True)]))
15 constraints.append(ps.ForceApplyNOptionalConstraints(av_list,1))
16 for i in range(num_practices_simple):
~/ProcessScheduler/processscheduler/task_constraint.py in __init__(self, task, value, optional)
216
217 if task.optional:
--> 218 self.add_assset_applied_not_applied_assertionsertion(Implies(task.scheduled, scheduled_assertion))
219 else:
220 self.set_applied_not_applied_assertions(scheduled_assertion)
AttributeError: 'TaskEndBeforeLax' object has no attribute 'add_assset_applied_not_applied_assertionsertion'
I run my code with the new branch and got this error I wasn't getting before. I got it even before adding optional=True
AttributeError Traceback (most recent call last)