Search found 4 matches

by abotoba
5 years ago
Forum: Solvers
Topic: gmsgennx.exe encounter error
Replies: 0
Views: 3362

gmsgennx.exe encounter error

Dear all, I am quite new in GAMS. I am using GAMS in MAC OSX, thus I am using wine to operate it. Presently, I am trying to define the shortest paths from 1000+ OD paths which constituted from 2400+ nodes. I tried to adapt the GAMS library lop.gms / sroute.gms / sroutex.gms and using CPLEX as the so...
by abotoba
5 years ago
Forum: Syntax
Topic: Create a set (or a list) as a set
Replies: 2
Views: 2503

Re: Create a set (or a list) as a set

Hi It would be easier to answer if you would provide the code with the actual elements in those sets. Cheers Renger Hi @Renger, this is the full code that I want to use: Screen Shot 2018-12-10 at 7.45.45 PM.png zi and yq represent binary variables, in which if zi = 1, a service station is built at ...
by abotoba
5 years ago
Forum: Syntax
Topic: Create a set (or a list) as a set
Replies: 2
Views: 2503

Create a set (or a list) as a set

Hi! I want to ask, is there anyway to create a list (or a set) inside of a set? I am dealing with Screen Shot 2018-12-07 at 10.52.37 PM.png and I don't know how to formulate the Kqjk. What I am thinking is, i is element of Kqjk and Kqjk is element of q, therefore index i is element of q. Does anyone...
by abotoba
5 years ago
Forum: Syntax
Topic: Location - Allocation (or Flow Refueling Location) Problem
Replies: 1
Views: 2634

Location - Allocation (or Flow Refueling Location) Problem

Hi! I am quite new to GAMS and currently I am dealing with a location allocation problem. Basically, I want to allocate potential station locations along a road network. I am adopting a paper methodology and here is what the methodology says: Screen Shot 2018-12-06 at 10.24.57 PM.png I am confused n...