The Red–Blue transportation problem

Hi,
I want to model this TTP. But i don’t know, how to define the Set of Di? Have anyone of you some ideas how i can implement this? :smiley:
My level of experience is very low :confused:
Red and Blue TTP.png
Description.png

look up the section on the
“The conditional alternative: the tuple”

in the McCarl Guide at https://www.gams.com/mccarlGuide/gams_user_guide_2005.htm