Search found 15 matches

by leewing159
7 months ago
Forum: Modeling
Topic: Calculating marginal emission in Unit commitment problem
Replies: 0
Views: 18364

Calculating marginal emission in Unit commitment problem

Hello, I am working on solving a unit commitment problem, and I'd like to calculate the increase in greenhouse gas emissions (marginal carbon intensity) when electricity load increases by one unit. --> delta(emission)/delta(load) where load is a paramter. Post-calculating the emission factor of the ...
by leewing159
1 year ago
Forum: Tools
Topic: Openning multiple gms file in different windows (not tab)?
Replies: 2
Views: 6717

Re: Openning multiple gms file in different windows (not tab)?

Thanks. The 'pin view' feature were updated on 39 version.

I should extend the maintenance the gams license.

Thanks!

Wonjong
by leewing159
1 year ago
Forum: Tools
Topic: Openning multiple gms file in different windows (not tab)?
Replies: 2
Views: 6717

Openning multiple gms file in different windows (not tab)?

Hello, questions again... When we open a .gms file in gams studio, it is automatically added on a tab not a new window. When I have to see the code (other .gms file), I have to switch the tab, not able to see the multiple files in parallel... For alternatives, I open one gams studio and one gams IDE...
by leewing159
1 year ago
Forum: Solvers
Topic: How to import node file(cpx~) for initialzing solution?
Replies: 0
Views: 4381

How to import node file(cpx~) for initialzing solution?

Hi, The gams(CPLEX) was solving a MILP problem for a week, generating tons of cpx file. (I guess this is cplex nodefile from cplex option nodefileind 2.) (All the files name starts from cpx****** (example, cpx494734).) image.png Suddenly, the gams studio failed (when I zoom in with "ctrl+wheel ...
by leewing159
1 year ago
Forum: Syntax
Topic: how can I fix 149 uncontrolled set entered as constant
Replies: 2
Views: 2538

Re: how can I fix 149 uncontrolled set entered as constant

Hello, (sum(j, Q(i,j))/8761) * IR * Rp * Ypua ; the right term of food.. (constraint) is a function of i, since you sum all over j. However, the left term is Rfood which is just a variable. Thus, I think you have to define Rfood --> Rfood(i) and change the code like below: See the << sign. Sets i / ...
by leewing159
2 years ago
Forum: Tools
Topic: Are there external text editor for GAMS?
Replies: 5
Views: 12838

Re: Are there external text editor for GAMS?

Yes, I do really enjoy many features in Studio, including black theme that is recently added. Wayyyyy better than IDE! By the way, can you please elaborate how to use auto-complete feature for pre-defined keywords? When I write "option s" there is no suggestion like the capture you uploade...
by leewing159
2 years ago
Forum: Tools
Topic: Are there external text editor for GAMS?
Replies: 5
Views: 12838

Are there external text editor for GAMS?

Hi, I think GAMS Studio which is way better than GAMS IDE has some missing features. For example, other text editors provide highlight, text automation for variables, parameters, and so on. Are there external text editor for GAMS? Hope there is a text editor that I can build my gms file on the edito...
by leewing159
2 years ago
Forum: Syntax
Topic: How to check infeasible results in gdx file?
Replies: 2
Views: 2205

Re: How to check infeasible results in gdx file?

There are tons of functions that I need to know...
Thanks, Michael!

Jake
by leewing159
2 years ago
Forum: Syntax
Topic: How to check infeasible results in gdx file?
Replies: 2
Views: 2205

How to check infeasible results in gdx file?

Hi, I'm running my model multiple times using a loop statement, and I would like to check that model has infeasible or not. For example, there is a code like: loop(day, codes; ); but some of the days are infeasible. (already checked using process log) Is there any way that I can check infeasible &qu...
by leewing159
2 years ago
Forum: Syntax
Topic: How to initialize parameter with *
Replies: 2
Views: 2117

Re: How to initialize parameter with *

Thanks for your answer!
It really helped me a lot.

Jake