Dollar control over the domain of definition of equations

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

Dollar control over the domain of definition of equations

Post by Archiver »



Hi,

I used the dollar control over the domain of definition of the
equation as follow:

volumebalance(j)$l(j,k) .. sum(l(i,j),v(l)) + sum(w(j,n),q(w))=e= sum(l
(j,k),v(l));

but then it announced the error of 'Uncontrolled set entered as
constant' at that dollar control. Why did that happen and how can I
fix it? Please help.

Thank you very much.

Sonny
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to gamsworld@googlegroups.com
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en
-~----------~----~----~----~------~----~------~--~---


Archiver
User
User
Posts: 7876
Joined: 7 years ago

Re: Dollar control over the domain of definition of equations

Post by Archiver »


Hi sonny,
your equation volumebalance(j) is defined only over "i" set and the definition of the equation is controlling i,k

you should try redefine your equation like this:

volumebalance(j,k)$l(j,k) .. sum(l(i,j),v(l)) + sum(w(j,n),q(w))=e= sum(l
(j,k),v(l));

Hope this helps

Best Regards

2009/3/2 sonny


Hi,

I used the dollar control over the domain of definition of the
equation as follow:

volumebalance(j)$l(j,k) .. sum(l(i,j),v(l)) + sum(w(j,n),q(w))=e= sum(l
(j,k),v(l));

but then it announced the error of 'Uncontrolled set entered as
constant' at that dollar control. Why did that happen and how can I
fix it? Please help.

Thank you very much.

Sonny




--
Daniel Andrés Navia López
Ingeniero Civil Químico
Mg.Sc.Ciencias de la Ingeniería, Mención Ingeniería Química
626752875

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to gamsworld@googlegroups.com
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en
-~----------~----~----~----~------~----~------~--~---

Post Reply