p = parameters(period).states.ca.calepa.carb.cvrp.increased_rebate
categorically_eligible = np.any(
[
person.spm_unit(program, period)
for program in p.categorical_eligibility
],
axis=0,
)
Could we just use add(person.spm_unit, period, p.categorical_eligibility) > 0?
any_(entity, period, variables) would be useful nonetheless.
For example, from the US CVRP PR:
Could we just use
add(person.spm_unit, period, p.categorical_eligibility) > 0
?any_(entity, period, variables)
would be useful nonetheless.