Search found 41 matches

by Jubeyer
2 years ago
Forum: Tools
Topic: Query on the data structure and debug procedure in python Embedded Code Facility
Replies: 0
Views: 4203

Query on the data structure and debug procedure in python Embedded Code Facility

Hi, I have been trying to build a model with the EmbeddedCode Facility of GAMS with python. However, I am not getting a clear picture about the data structure that is going in and out from the embedded code section[https://www.gams.com/latest/docs/UG_EmbeddedCode.html]. So, I have few queries regard...
by Jubeyer
2 years ago
Forum: Modeling
Topic: Constraint Variable Implementation via EmbeddedCode Facility
Replies: 1
Views: 1763

Constraint Variable Implementation via EmbeddedCode Facility

Hi, I was wondering whether anyone can tell me whether it's possible to implement a constraint in GAMS where one of the variable is implemented via the embedded code facility. To be more specific, is it possible to make the solver iterate the value of the variables which is further passed to some py...
by Jubeyer
2 years ago
Forum: Syntax
Topic: Data Structure Handling Issues in EmbeddedCode Facility [Python]
Replies: 0
Views: 2681

Data Structure Handling Issues in EmbeddedCode Facility [Python]

Hi, I am using the EmbeddedCode Facility of GAMS and using a python script which is supposed to process some data obtained from the optimization problem solution. For that I need to pass two parameters to the embedded section; one of them is this: image.png and another one is this image.png : Then I...
by Jubeyer
3 years ago
Forum: Syntax
Topic: Assigning specific 'marginal value' and run the optimization script
Replies: 1
Views: 1509

Assigning specific 'marginal value' and run the optimization script

Hi, Is there any way to assign some specific marginal value to some equality constraint in GAMS and run the optimization script which will have those assigned values fixed over the optimization horizon? I know that the marginal values are product of the optimization solution, but I guess it might be...
by Jubeyer
3 years ago
Forum: Modeling
Topic: Controlling lagrange multiplier's value with a constraint
Replies: 0
Views: 1977

Controlling lagrange multiplier's value with a constraint

Hi,

Does anyone know, whether it is possible or not to control the value of lagrange multiplier by introducing a constraint in the optimization formulation? If yes, how can we do that.

Regards,
Jubeyer
by Jubeyer
3 years ago
Forum: Solvers
Topic: What could be the reason for this kind of message?
Replies: 0
Views: 2719

What could be the reason for this kind of message?

Hi , I am getting this kind of message in my log file, MIP status(101): integer optimal solution Cplex Time: 148.14sec (det. 115562.34 ticks) Fixing integer variables, and solving final LP... Version identifier: 12.10.0.0 | 2019-11-26 | 843d4de CPXPARAM_Advance 2 CPXPARAM_Threads 1 CPXPARAM_Parallel...
by Jubeyer
3 years ago
Forum: Modeling
Topic: Three objective function optimization (eps constraint method)
Replies: 3
Views: 2827

Re: Three objective function optimization (eps constraint method)

OK. I guess what you're trying to do from looking at your code is that you have integrated all three of your objective function to a single objective function. That may work if you don't have any conflicting interest. Then it will be a typical optimization problem. If you have a case that you want t...
by Jubeyer
3 years ago
Forum: Syntax
Topic: loading variable from a gams script results to another as parameter
Replies: 0
Views: 1929

loading variable from a gams script results to another as parameter

Hi, I am running a sequential optimization problem, where the variable of one problem is passed as a parameter to other. However I have tried to load a variable which is a parameter in another problem from the output gdx file. I have declared the variable as a parameter in the next file. While tryin...
by Jubeyer
3 years ago
Forum: Modeling
Topic: Three objective function optimization (eps constraint method)
Replies: 3
Views: 2827

Re: Three objective function optimization (eps constraint method)

Do you need any kind of synchronization among the variables of these three problems?

I think you can try to solve that by seeking the nash equilibrium in the stackelberg version.