Hi,
I am trying to solve a mcp model. I am getting error 70. Pl suggest
what needs to be done. I have looked through the guide but i could not
find information about how to declare such equations in model
statement with mcp.
FOC(I, t)…
C(I) - p(I,t) + q(I, t) =e=0 ;
Defp(I, J, t)…q(I, t) =e= (10/3) - (2/3)*P(I, t) + (1/3)*P(J, t) ;
Model Cournot /FOC.p, Defp.q/; (I am getting error here saying
dimensions of equ.var pair do not match)
Thanks
Ashu
–~–~---------~–~----~------------~-------~–~----~
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
-~----------~----~----~----~------~----~------~–~—
\
The model as written is not square which is why the matching complains.
The point it that FOC is over the set (I,t) as is the variable P (so
FOC.p is ok)
but Defp is over the set (I,J,t) and is matched to the variable q
which runs over (I,t) so the matching cannot be done - too many
equations or not enough variables.
Cheers, Michael Ferris
On Jun 25, 2009, at 12:17 AM, ashu wrote:
Hi,
I am trying to solve a mcp model. I am getting error 70. Pl suggest
what needs to be done. I have looked through the guide but i could not
find information about how to declare such equations in model
statement with mcp.
FOC(I, t)…
C(I) - p(I,t) + q(I, t) =e=0 ;
Defp(I, J, t)…q(I, t) =e= (10/3) - (2/3)*P(I, t) + (1/3)*P(J, t) ;
Model Cournot /FOC.p, Defp.q/; (I am getting error here saying
dimensions of equ.var pair do not match)
Thanks
Ashu
–~–~---------~–~----~------------~-------~–~----~
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
-~----------~----~----~----~------~----~------~–~—
\
Thanks a ton Michael.
On Jun 25, 11:12 am, Michael Ferris wrote:
The model as written is not square which is why the matching complains.
The point it that FOC is over the set (I,t) as is the variable P (so
FOC.p is ok)
but Defp is over the set (I,J,t) and is matched to the variable q
which runs over (I,t) so the matching cannot be done - too many
equations or not enough variables.
Cheers, Michael Ferris
On Jun 25, 2009, at 12:17 AM, ashu wrote:
Hi,
I am trying to solve a mcp model. I am getting error 70. Pl suggest
what needs to be done. I have looked through the guide but i could not
find information about how to declare such equations in model
statement with mcp.
FOC(I, t)…
C(I) - p(I,t) + q(I, t) =e=0 ;
Defp(I, J, t)…q(I, t) =e= (10/3) - (2/3)*P(I, t) + (1/3)*P(J, t) ;
Model Cournot /FOC.p, Defp.q/; (I am getting error here saying
dimensions of equ.var pair do not match)
Thanks
Ashu
–~–~---------~–~----~------------~-------~–~----~
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
-~----------~----~----~----~------~----~------~–~—
\