Dollar control over the domain of definition of equations
Dollar control over the domain of definition of equations
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
-~----------~----~----~----~------~----~------~--~---
Re: Dollar control over the domain of definition of equations
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
-~----------~----~----~----~------~----~------~--~---