I am trying to write an optimization problem in my document, and for convenience, to define a label to refer to it. I don't want to refer to it as equation (3), which I know how to do, I want to define a special text label for it, see below for an example.
max \sum p_t s_t (P) s.t. s_t \leq d_t \sum s_t \leq I
Is there a way to put the label on the right side if I so desire? For example,
max \sum p_t s_t s.t. s_t \leq d_t (P) \sum s_t \leq I