Search found 4 matches

by saeed
6 years ago
Forum: Modeling
Topic: Equilibrium modelling - GAMS vs Mathematica
Replies: 2
Views: 2912

Re: Equilibrium modelling - GAMS vs Mathematica

Thank you for this. I did check everything repeatedly - but I do see from what you have done there is something wrong. I will check again.

Thanks!
by saeed
6 years ago
Forum: Modeling
Topic: Equilibrium modelling - GAMS vs Mathematica
Replies: 2
Views: 2912

Equilibrium modelling - GAMS vs Mathematica

Hello! I have been trying to write a model written originally in Mathematica, and I find that GAMS gives less precise solutions. The code below is a simplified version of a portion of the model. I am now trying to re-create my base, and it gives me a solutions that are a bit off: GAMS finds pc=2.151...
by saeed
6 years ago
Forum: Modeling
Topic: Simple Equilibrium problem with non-linear equations - division by zero
Replies: 2
Views: 3300

Simple Equilibrium problem with non-linear equations - division by zero

Hello, ; I am very new to GAMS, and trying to set up a partial equilibrium model. A simplified version is below. But it seems I am not setting it up correctly. I was pretty sure I needed to use MCP I get division by zero errors. This is the simplified model: positive variables qs, qd, p ; parameters...