Search found 1 match

by Lilson
11 months ago
Forum: Syntax
Topic: Conditional Equations with Variable in GAMS
Replies: 2
Views: 5251

Conditional Equations with Variable in GAMS

I'm trying to implement conditional statements in the equations part of GAMS non-linear optimisation. I know that $ statements or for loops are not allowed. I also tried big M method but also failed. What I need is something like this: Energy_Exported(t) = PV_Generation(t) -Demand(t); Energy_Exporte...