Search found 3 matches
- 1 year ago
- Forum: Syntax
- Topic: Using Sum for defining a set
- Replies: 0
- Views: 2483
Using Sum for defining a set
Hi, I'm a new user and I was trying to practice with the gasnet.gms : Optimal Design of a Gas Transmission Network from GAMS library. I have difficulty understanding the following equations: cj(j,ii) = sum(i, jii(j,ii,i)); qi(ii,i) = sum(j, jii(j,ii,i)); ji(j,i) = sum(ii, jii(j,ii,i)); is(ii) = sum(...
- 1 year ago
- Forum: Modeling
- Topic: Solving a set of nonlinear equations
- Replies: 2
- Views: 4462
Re: Solving a set of nonlinear equations
Thanks, both can solve my problem.
- 1 year ago
- Forum: Modeling
- Topic: Solving a set of nonlinear equations
- Replies: 2
- Views: 4462
Solving a set of nonlinear equations
I try to solve this system, although I can solve it in Matlab, here I cannot. I am new to GAMS and I try to solve it like this: variables z_1, z_2, z_3, z_4, z_5, y_12, y_23,y_34, y_41, y_45, x_1, x_2, x_3, x_4, x_5; equations eq1, eq2, eq3, eq4, eq5, eq6, eq7, eq8, eq9, eq10 eq11, eq12, eq13, eq14,...