Search found 41 matches

by Jubeyer
3 years ago
Forum: Syntax
Topic: Retrieve data from merged gdx files
Replies: 1
Views: 2478

Retrieve data from merged gdx files

Hi,

Does anyone know how to retrieve data from a merged gdx file? For example the merged one has the name merged.gdx and it has 2 files a and b ; whereas a has a parameter called SKY, then how should I call it.

-Jubeyer
by Jubeyer
3 years ago
Forum: Modeling
Topic: Sequential optimization on the same script
Replies: 0
Views: 1818

Sequential optimization on the same script

Hi, Is it possible to model a sequential optimization problem in GAMS. For example, I have one optimization problem, some of its solution needs to be plugged in to another optimization problem as parameters. Can it be done on a single script? If you can refer me to some sample examples that will be ...
by Jubeyer
3 years ago
Forum: Tools
Topic: Mixed integer bilevel problem
Replies: 1
Views: 3148

Re: Mixed integer bilevel problem

In case if this comes to useful for anyone, I have figured out that GAMS bilevel solver JAMS does not support a problem which has both integer variable in leader and follower. It only supports problem where integers are only in leader.
by Jubeyer
3 years ago
Forum: Solvers
Topic: Help on jams.opt file for bilevel program
Replies: 0
Views: 2210

Help on jams.opt file for bilevel program

Hi, I am pretty new to GAMS. I am having difficulty in creating a proper .opt file for bilevel program. Currently it has *********** KeepObj MargTol=1e-6 ObjVarName=objvar EMPInfoFile emp.info filename Scalar_MG.gms ************** the above statements but when I execute my code it says that " E...
by Jubeyer
3 years ago
Forum: Syntax
Topic: variable placement query in bilevel keyword
Replies: 0
Views: 1767

variable placement query in bilevel keyword

Hi, I would like to know the answers of the following questions regarding bilevel program syntax since I am not certain after going through the documentation: a. Should I only place the optimizing variables (excluding the optimizing variables of the follower) present in the objective function of the...
by Jubeyer
3 years ago
Forum: Syntax
Topic: Reason for equation not executed as per the indexing
Replies: 0
Views: 1718

Reason for equation not executed as per the indexing

Hi, I have declared two similar equations in GAMS over two similar indices. Q_SU_GENLIMITLOW_TRAJECTORY1(MIN_GEN_GEN,INTERVAL)$(ORD(INTERVAL) LE CARD(INTERVAL) - SHUTDOWN_PERIOD(MIN_GEN_GEN) AND (ORD(INTERVAL) GE STARTUP_PERIOD(MIN_GEN_GEN)-INTERVALS_STARTED_AGO(MIN_GEN_GEN))).. GEN_SCHEDULE(MIN_GEN...
by Jubeyer
3 years ago
Forum: Solvers
Topic: How to get LP file
Replies: 1
Views: 2336

How to get LP file

Hi,

Is there any way to retrieve the LP file from a GAMS model? If yes, then how can that be done?

Regards,
Jubeyer
by Jubeyer
3 years ago
Forum: Modeling
Topic: Reasons for equation not being executed
Replies: 4
Views: 2657

Re: Reasons for equation not being executed

Since, calling that from command line results in a error saying "Integer expected for option "limRow" saw "?".
by Jubeyer
3 years ago
Forum: Modeling
Topic: Reasons for equation not being executed
Replies: 4
Views: 2657

Re: Reasons for equation not being executed

Sorry, I am pretty new in GAMS. Am I supposed to add that limrow=? in the .opt file and see the effect in .lst file or is it something otherwise?
by Jubeyer
3 years ago
Forum: Modeling
Topic: Reasons for equation not being executed
Replies: 4
Views: 2657

Reasons for equation not being executed

Hi,

I have some equations in my .gms file but after executing it, I don't see them on the .lst files. I guess it means those equations does not get executed at all. What could be the possible reasons for that and how can I make sure that those equations got executed?

Regards,
Jubeyer