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 5c50c30 commit aecdf3dCopy full SHA for aecdf3d
test/test_resource_interrupted.py
@@ -85,7 +85,7 @@ def test_resource_cumulative_worker_interrupted_fixed_duration() -> None:
85
86
def test_resource_cumulative_worker_interrupted_variable_duration() -> None:
87
pb = ps.SchedulingProblem(name="variable_duration")
88
- task_1 = ps.VariableDurationTask(name="task1", min_duration=3)
+ task_1 = ps.VariableDurationTask(name="task1", min_duration=3, max_duration=5)
89
task_2 = ps.VariableDurationTask(name="task2", min_duration=4)
90
ps.TaskStartAt(task=task_1, value=0) # pin to have a more stable outcome
91
worker_1 = ps.CumulativeWorker(name="Worker1", size=2)
0 commit comments