I know this article is two years old, but I think you swapped the indices in the bit of text after your first defined the selection matrix by mistake. That is, you wrote that j must be in the set of crops, and i must be in the set of days, when I’m pretty sure right before you said that i is the crop planted and j is the day.
I know this article is two years old, but I think you swapped the indices in the bit of text after your first defined the selection matrix by mistake. That is, you wrote that j must be in the set of crops, and i must be in the set of days, when I’m pretty sure right before you said that i is the crop planted and j is the day.