Search found 2 matches

by femibode
4 months ago
Forum: Modeling
Topic: Multiple Conditions in one Equation
Replies: 4
Views: 384

Re: Multiple Conditions in one Equation

then I would try this:

Code: Select all

 Neweq.. AI("1")$(BI("1") = CI("1") and CI("1") = DI("1") ) =E= BI("1") 
by femibode
4 months ago
Forum: Modeling
Topic: Multiple Conditions in one Equation
Replies: 4
Views: 384

Re: Multiple Conditions in one Equation

1. If GAMS allows using multiple mathematical operators in an equation, yes but if not, no. 2. This is the general syntax for defining equation in GAMS: eqn_name(index_list)[$logical_condition(s)].. expression eqn_type expression; 3. Do you only need to ensure equality of these multiple entities? An...