Implementing the mathematical formula in GAMS

Hello. The image I sent is a mathematical inequality from an article. Pmax_chp is a scalar. Pt_chp is a variable. Phk_chp is a variable. Pht,k_chp,u is a variable.

If I want to implement the formula inside the red box in GAMS, how can I simultaneously maximize these two expressions while they are separated by commas and I am still coding and the code continues?

Hi, it would be useful to know which symbols are variables (and of what type) and which are parameters.
best

Thank you. I have edited the post and asked my question more precisely. I would be grateful if you could guide me, if possible.

Hi, I think you’ll need to do some reformulation, such as using the Big M method (for example). However, this is due to the nature of the problem and not related to GAMS.
There are surely multiple ways to implement the equation.
Another important piece of information is the meaning of each index and subscript. For example, the variable Ph appears several times with different sets: (t, CHP, u); (k, CHP); and (t, k, CHP, u).
I hope this helps you a bit more.
Best regards,