Search found 3 matches

by nozarian
2 years ago
Forum: Solvers
Topic: EMP error
Replies: 5
Views: 5291

Re: EMP error

Hi Dear Atharv, Thanks for the answer. Unfortunately, despite much effort over the past few months, I have not been able to implement your tips. If possible, for the following code, please specify exactly how the loops for constraints and variables in the upper and lower levels should be. Thank you ...
by nozarian
3 years ago
Forum: Solvers
Topic: EMP error
Replies: 5
Views: 5291

Re: EMP error

Hi Dear Atharv, Thanks for the answer. The error is related to this section of the original code: Model bilevel /all/; ****************************************************** $onecho > "%emp.info%" bilevel P_lem P_wem P_wgm OBJ_UL C1_UL C2_UL C3_UL C4_UL C5_UL C6_UL C1_LI C2_LI C3_LI C4_LI ...
by nozarian
3 years ago
Forum: Solvers
Topic: EMP error
Replies: 5
Views: 5291

EMP error

Hello everyone, I am trying to write a gams model of a bilevel problem. However, GAMS said I have a EMP syntax error: EMP syntax error: key expected: has dimension 0 but should be 2: emp error (item 2 on line 2) --- EMP Summary (errors=1) Adjusted Equations = 0 Dual Variable Maps = 0 Dual Equation M...