Competition between two species for two complementary or substitutable resources.