Search found 8 matches

by Paren
10 months ago
Forum: Modeling
Topic: Code Solver
Replies: 2
Views: 1891

Re: Code Solver

Thanks a lot
by Paren
11 months ago
Forum: Modeling
Topic: Code Solver
Replies: 2
Views: 1891

Code Solver

I have a Bi-level model, I want to know what solver it code in GAMS and see a Bi-level code example if anybody has an example of bi-level model
by Paren
11 months ago
Forum: Modeling
Topic: Error in Equation
Replies: 2
Views: 1222

Re: Error in Equation

Thanks,
Should I use Alias?or what?
by Paren
11 months ago
Forum: Modeling
Topic: Error in Equation
Replies: 2
Views: 1222

Error in Equation

What is the reason for this error? obj_location.. f_location =E= sum((r,c), w(c)*d(r,c)*a_rc(r,c)); ****                                                   $171,171 Domain violation for set. Sets     c /c1*c3/     r /r1*r4/     i /i1*i4/     j /j1*j4/     k /k1*k3/     s /s1*s3/     N /c1*c3,r1*r4/; ...
by Paren
1 year ago
Forum: Modeling
Topic: Tow-level model
Replies: 0
Views: 2722

Tow-level model

How to code a two-level mathematical model (master and follower) in GAMS?(like location and routing model that location is master and routing is fallower).
And with what solver?
by Paren
1 year ago
Forum: Modeling
Topic: Error 195,318,409
Replies: 3
Views: 1950

Re: Error 195,318,409

Sure. Sets c /c1*c3/ k /k1*k3/ i /i1*i4/ j /j1*j4/; Parameters h(c) /c1 100, c2 200, c3 150/ d(i,j) / i1.j1 10, i1.j2 20, i1.j3 30, i1.j4 40, i2.j1 20, i2.j2 10, i2.j3 40, i2.j4 30, i3.j1 30, i3.j2 40, i3.j3 10, i3.j4 20, i4.j1 40, i4.j2 30, i4.j3 20, i4.j4 10 / C(k) /k1 50, k2 75, k3 100/ $195,318,...
by Paren
1 year ago
Forum: Modeling
Topic: Error 195,318,409
Replies: 3
Views: 1950

Error 195,318,409

Hi, I can't understand these codes are for:
C(k) physical space required by vehicles k
/ k1 50, k2 75, k3 100/
$195,318,409

*The Sets of k is k1*k3
by Paren
1 year ago
Forum: Modeling
Topic: Error 195,318,409
Replies: 0
Views: 2662

Error 195,318,409

Hi, I can't understand these codes are for:
C(k) physical space required by vehicles k
/ k1 50, k2 75, k3 100/
$195,318,409

*The Sets of k is k1*k3