I got the following warning in Pyomo:
Reading data files.WARNING: Extracting subsets for Set tech_all, which is a SetOperator other
than a SetProduct. Returning this set and not descending into the set
operands. To descend into this operator, specify
'subsets(expand_all_set_operators=True)' or to suppress this warning,
specify 'subsets(expand_all_set_operators=False)'
I imagine it is because I am using:
M.tech_resource = Set()
M.tech_production = Set()
M.tech_all = M.tech_resource | M.tech_production
and
M.CapacityToActivity = Param(M.RegionalIndices, M.tech_all, default=1)
How do I set subsets(expand_all_set_operators=False)?