I have the following code in Pyomo:
which creates the following piecewise function:
How can I make it so that for each a in model.A, there are unique values for LB and UB, so that the piecewise function becomes:
Thank you in advance, any solutions at all would be welcomed.