predicate random_allocation(array[int] of int: sol) = forall(i in courses) ( (uniform(0,99) < 80) -> (period_of[i] == sol[i]) );