User Tools

Site Tools

How do I code a definite integral?

There is no intrinsic way to deal with integrals in GAMS. You need to discretize if you want this as a function in a model. If you just want to calculate this in an a symbolic (or numeric) way, tools like MATLAB or Mathematica are better suited for this.