Hello, I am trying to find an optimum temperature for two differential equations using GAMS but I don’t know how to program a solution using finite differences which is the only requirement for my task
i will appeciate your help with respecto to this topic
thank you
–
To view this discussion on the web visit https://groups.google.com/d/msg/gamsworld/-/cD7BRE435sgJ.
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.
Hello, I am trying to find an optimum temperature for two differential
equations using GAMS but I don’t know how to program a solution using
finite differences which is the only requirement for my task
i will appeciate your help with respecto to this topic
In GAMS, things involves differentiation are handled by solvers internally.
since we have symbolic form of equations in GAMS, finite differences is not needed, I guess.
there should be something like automatic differentiation or symbolic differentiation in GAMS compiler.
As for differential equations, as far as I know, it’s not supported in GAMS now.
a way to solve it in GAMS is, using external equations.
You write your equations in other programing language, e.g. C,
and map variables in GAMS using equations charaterized by =X=
you can find more about external equation in GAMS McCarl extended manual.
this link also contains useful info about external equation:
http://www.listserv.dfn.de/cgi-bin/wa?A2=ind0110&L=GAMS-L&P=R174&I=-3
HTH,
Yan
\