Search found 4 matches

by mr_khdm
4 years ago
Forum: Syntax
Topic: define Sets in ALM problem
Replies: 2
Views: 2629

Re: define Sets in ALM problem

this is ALM problem Compact Model: http://uupload.ir/files/0rp8_compact.jpg and this is my code: (my code answer is invisible and this is my problem) $Title: Compact Model sets i index of Property /1,2/ n index of Node /0*14/ s(n) /7*14/ t(n) /1*6/ ; table a(n,s) 7 8 9 10 11 12 13 14 0 1 2 3 1 1 4 1...
by mr_khdm
4 years ago
Forum: Syntax
Topic: define Sets in ALM problem
Replies: 2
Views: 2629

define Sets in ALM problem

Hello about multi-stage stochastic programming for Asset and Liability Management (ALM) Model I have questions: http://uupload.ir/files/rqq1_stage.jpg for t=1 and t=2 we have this Eq. http://uupload.ir/files/2l5f_eq.jpg and I coded this Eq. : co2(s,t)$(ord(t)>=1 and ord(t)<3) .. sum(i,r(i,t,s) * x(i...
by mr_khdm
4 years ago
Forum: Modeling
Topic: Exit code 3
Replies: 1
Views: 2284

Exit code 3

Hello ...
I write my Model but GAMS can not solve my problem and show me this:

Image

why GAMS show me this error? How I can fix this error?
TNX
by mr_khdm
4 years ago
Forum: Modeling
Topic: Code of one Constraint
Replies: 1
Views: 4282

Code of one Constraint

Hello I have a problem with one of the constraints of my model. this constraint is: http://uupload.ir/files/wzmi_capture.jpg and I code this: co13(j,k,s) .. pi0(j,k,s) =e= sum(nn,Power(landaa(j,k,s)/mu(k,s),nn)) * (1/fact(nnn)) + (1/fact(B(j,k,s))) * (power(landaa(j,k,s)/mu(k,s),B(j,k,s))) * (1-(lan...