How do I formulate logical expressions in equations with variables??

Hi there,

I have a project related to the energy management system. I have some restrictions (equations) for aplliance activations at homes, which must be active according to the free variable. However, variables can not use in $ opeartions. How can I fix this problem? Or do you have any another ideas for me?

Thank you in advance…

Look for logic equations in the forum. It is a frequently asked questions.

-Michael

is what you’re talking about the topic that was discussed in title “How do I formulate logical expressions in equations?” 1 year ago? If it’s not could you give a link please??

Hello,
Did you solve this problem? I am asking because i have same problem too. If you find any solving way can you share with me?

See e.g. https://newforum.gams.com/t/how-do-i-formulate-logical-expressions-in-equations/3738/1