I founded the answer:
Special Features for Mathematical Programs:
https://www.gams.com/latest/docs/UG_Lan ... tures.html
Search found 38 matches
- 4 years ago
- Forum: Syntax
- Topic: commercial diameter - declare
- Replies: 4
- Views: 3778
- 4 years ago
- Forum: Syntax
- Topic: problem with syntax of the equation
- Replies: 15
- Views: 18297
Re: problem with syntax of the equation
I'd like to know if GAMS undestand this situation ... n nodes / n1 * n48 / a(n,n) /..../; .... alias(n,np,i,j); ... q(n) - scalar q(a) - variable ... eq1(a(i,j)).. q(a(n,np)) =e= sum(q(a(n,np)$(np=i)) + q(n) GAMS understand : eq(i) eq(i,j) but GAMS undestand: eq(a(i,j)) ??? my objective is to elabo...
- 4 years ago
- Forum: Syntax
- Topic: problem with syntax of the equation
- Replies: 15
- Views: 18297
Re: problem with syntax of the equation
GAMS understand :
eq(i)..
eq(i,j)..
but GAMS undestand:
eq(a(i,j)).. ???
- 4 years ago
- Forum: Syntax
- Topic: problem with syntax of the equation
- Replies: 15
- Views: 18297
Re: problem with syntax of the equation
I'd like to know if GAMS undestand this situation ... n nodes / n1 * n48 / a(n,n) /..../; .... alias(n,np,i,j); ... q(n) - scalar q(a) - variable ... eq1(a(i,j)).. q(a(n,np)) =e= sum(q(a(n,np)$(np=i)) + q(n) GAMS undestand eq(i) and eq(i,j) but GAMS undestand eq(a(i,j)) ??
- 4 years ago
- Forum: Syntax
- Topic: problem with syntax of the equation
- Replies: 15
- Views: 18297
Re: problem with syntax of the equation
I'd like to know if GAMS undestand this situation ... n nodes / n1 * n48 / a(n,n) /..../; .... alias(n,np,i,j); ... q(n) - scalar q(a) - variable ... eq1(a(i,j)).. q(a(n,np)) =e= sum(q(a(n,np)$(np=i)) + q(n) GAMS understand : eq(i) eq(i,j) but GAMS undestand: eq(a(i,j)) ??? my objective is to elabor...
- 4 years ago
- Forum: Syntax
- Topic: commercial diameter - declare
- Replies: 4
- Views: 3778
commercial diameter - declare
Hi, I have a problem where I have to calculate the diameter of a pipe, using the equations I will find the diameter value that is a decimal number. But the diameter I will use is the commercial value, always selecting the next commercial size of the value found by the equations. Then I must analyze ...
- 4 years ago
- Forum: Syntax
- Topic: problem with syntax of the equation
- Replies: 15
- Views: 18297
- 4 years ago
- Forum: Syntax
- Topic: problem with syntax of the equation
- Replies: 15
- Views: 18297
problem with syntax of the equation
I'm new with optimization and GAMS. I not sure how to declare the Manning equation. This equation describe the flow dynamic on free flow condition, considering geometry and viscosity. I declared scalar and variables as: man manning coef / 1.30e-2 / q(n,n) flow (m**3 per s) ir(n,n) inclination (m per...