Hello everybody.
I need to do the following equation:
eq1(i,j) … losses =e= sum((i,j), loss_factor * net(i,j) * bin_trans(i,j) / 2);
According to my boss this must be done with mip solver.
But everytime I compile this it states that no endogenous operands for * are allowed.
I guess that means gams does not like the multiplication so it gets non linear.
Accoding to my boss this can be solved by a division. I don’t understand why a division should be any different.
He said the formula can be transformed into multiplication and divisions but how and why?
Could you tell me what he meant?
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/groups/opt_out.
\
Τη ΤÏίτη, 2 Ιουλίου 2013 9:41:44 Ï€.μ. UTC+3, ο χÏήστης rasa...@gmail.com ÎγÏαψε:
Hello everybody.
I need to do the following equation:
eq1(i,j) … losses =e= sum((i,j), loss_factor * net(i,j) * bin_trans(i,j) / 2);
According to my boss this must be done with mip solver.
But everytime I compile this it states that no endogenous operands for * are allowed.
I guess that means gams does not like the multiplication so it gets non linear.
Accoding to my boss this can be solved by a division. I don’t understand why a division should be any different.
He said the formula can be transformed into multiplication and divisions but how and why?
Could you tell me what he meant?
Hello,
from what i can think i do not believe tha this is a non linear problem because the equation is linear except for if you gave others non linear constraints. Do you try to use an lp solver? I have one more question. You do not use binary variable so why do you think that this is a milp problem? Finally, production and division are complementary mathematical operations so i do not believe that what your boss says is correct.
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/groups/opt_out.
\