Page 1 of 1

Ways to include numerous variable names after bilevel

Posted: Fri Sep 04, 2020 7:03 am
by Jubeyer
Hi,
I would like to draw your attention regarding the syntax of this given code regarding bilevel optimization:
https://www.gams.com/latest/docs/UG_EMP ... l_Example1

Since there is only one variable x in this case which doesn't belong to the follower so writing it was easy but how about cases where there are hundreds of variables which belongs to the leader. How those variables should be written in the code since writing them one by one is highly inconvenient?

Sorry I forgot to mention the specific line in the program. I was talking about writing the variables after the keyword bilevel here.
$echo bilevel x min objin * defin e1 e2 e3 e4 > "%emp.info%"

Regards,