Please help! Endogenous operands for * not allowed in linear models-Error 56

Archive of Gamsworld Google Group
Post Reply
Archiver
User
User
Posts: 7876
Joined: 7 years ago

Please help! Endogenous operands for * not allowed in linear models-Error 56

Post by Archiver »


Hello All,

GAMS give me this result for my model.
My model consists binary variable and integer variables. Here is my model's related part. I will be appreciated if any one help me a little bit.

What is the problem about that? It says "Endogenous operands for * not allowed in linear models". How can I solve it?


integer variable
x(i,n,t) sending amount ;

binary variable
w(i,t) sent or not sent ;

eq1.. sum((i,t),w(i,t)* x(i,n,t))=e=sum((i,t),d(i,n,t))

--
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 https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.
Archiver
User
User
Posts: 7876
Joined: 7 years ago

Re: Please help! Endogenous operands for * not allowed in linear models-Error 56

Post by Archiver »


Hello Seray,

Your model is not linear but you are trying to solve it using linear solver. Try to make your model linear or use non-linear solver.

HTH!
regards,
Muhajir


On Thu, Jan 28, 2016 at 8:13 PM, seray seven wrote:

Hello All,

GAMS give me this result for my model.
My model consists binary variable and integer variables. Here is my model's related part. I will be appreciated if any one help me a little bit.

What is the problem about that? It says "Endogenous operands for * not allowed in linear models". How can I solve it?


integer variable
x(i,n,t) sending amount ;

binary variable
w(i,t) sent or not sent ;

eq1.. sum((i,t),w(i,t)* x(i,n,t))=e=sum((i,t),d(i,n,t))

--
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 https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.


--
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 https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.
Post Reply