Hello GAMS users,
I am beginer of GAMS.
Recently, I found that the multiply of 2 variables make error.
(variable3 = variable1 * variable2;)
The model is as follows:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-=-
$TITLE Test
$OFFSYMXREF
$OFFSYMLIST
$eolcom //
scalars
a /5/
b /10/
;
variables
va_a / lo 0, up 10 /
va_b / lo 0, up 10 /
va_x
;
equations
equ
;
equ… va_x =e= a + b + va_a*va_b;
model m /all/;
option MINLP=SBB;
solve m using MINLP maximizing va_x;
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-=-
Code’s LST file say to me that result is infeasible.
---- equ =E=
equ… (0)*va_a + (0)*va_b + va_x =E= 15 ; (LHS = 0, INFES = 15 ****)
So, if anyone can tell me how to code the case. Is it really
impossible?
I would really appreciate it.
Thanks a lot,
\