Search found 10 matches
- 1 year ago
- Forum: Modeling
- Topic: how to write the quadratic and logarithmic model in GAMS
- Replies: 9
- Views: 2155
Re: how to write the quadratic and logarithmic model in GAMS
where to write the encircled part of the equation in the code. i have attached the JPG file.
- 1 year ago
- Forum: Modeling
- Topic: how to write the quadratic and logarithmic model in GAMS
- Replies: 9
- Views: 2155
Re: how to write the quadratic and logarithmic model in GAMS
In Equation 2, there are four terms. where to write [gaama*(omeega**2)/(2*alpha)] ... where do i have to write this term in my code.
- 1 year ago
- Forum: Modeling
- Topic: how to write the quadratic and logarithmic model in GAMS
- Replies: 9
- Views: 2155
Re: how to write the quadratic and logarithmic model in GAMS
My mistake, unfortunately I uploaded the .gdx file. I have attached now the .gms file and my problem formulation (JPG file) for the reference. Kindly review it and where do I have to write this gaama (sqr(omega)/2*alpha) part.- Line 200
- 1 year ago
- Forum: Modeling
- Topic: How to write below quadratic utility function equations in GAMS with conditions
- Replies: 1
- Views: 1128
How to write below quadratic utility function equations in GAMS with conditions
how can i write quadratic equation in gams with upper and lower bounds. Attaching JPG file for reference. yours suggestions please.
- 1 year ago
- Forum: Modeling
- Topic: how to write the quadratic and logarithmic model in GAMS
- Replies: 9
- Views: 2155
Re: how to write the quadratic and logarithmic model in GAMS
Thank you so much for the reply. I can now evaluate U2,U3, but I am getting error for writing U.1 would u kindly review it. I am attaching .gms file for the review, also there are two parts of U1 with 3 bounds. Kindly help me out.
- 1 year ago
- Forum: Modeling
- Topic: how to write the quadratic and logarithmic model in GAMS
- Replies: 9
- Views: 2155
how to write the quadratic and logarithmic model in GAMS
I am modelling a consumer model, but i don't know how to write this type of equation . Kindly help me out with the equation writing. yours valuable suggestions, comments and help are welcomed. I am attaching the .gms file (code) and JPG file (equations) for the reference. Kindly help me out. consume...
- 1 year ago
- Forum: Modeling
- Topic: *** Error at line 171: division by zero (0)
- Replies: 2
- Views: 1312
Re: *** Error at line 171: division by zero (0)
Thank you @bussieck.
- 1 year ago
- Forum: Modeling
- Topic: *** Error at line 171: division by zero (0)
- Replies: 2
- Views: 1312
*** Error at line 171: division by zero (0)
hello everyone, i need little help and guidance regarding my GAMS code. i am getting the following error (*** Error at line 171: division by zero (0).
I am attaching .gms file for your reference. pls provide your your valuable suggestions and comments. Thank you.
I am attaching .gms file for your reference. pls provide your your valuable suggestions and comments. Thank you.
- 2 years ago
- Forum: Modeling
- Topic: How to model a concave piecewise linear function
- Replies: 1
- Views: 1497
How to model a concave piecewise linear function
How can i model my equation 8 (which is piecewise linear function) in to milp.
- 3 years ago
- Forum: Modeling
- Topic: Constraint problem with maximum
- Replies: 1
- Views: 2192