Search found 8 matches
- 4 years ago
- Forum: Modeling
- Topic: Generation time takes too long
- Replies: 4
- Views: 3016
Re: Generation time takes too long
Laurus, I notice the model you sent as opt.gms in your post is customized to work with GDXMRW. This works as long as you stay in a Matlab world, but now when you move to a larger forum, it becomes a problem. Potential avenues of help or discussion are closed off because your model is not a generic ...
- 4 years ago
- Forum: Modeling
- Topic: Generation time takes too long
- Replies: 4
- Views: 3016
Re: Generation time takes too long
You're right, my bad. I have attached the missing files.
Thank you,
Thank you,
- 4 years ago
- Forum: Modeling
- Topic: Generation time takes too long
- Replies: 4
- Views: 3016
Generation time takes too long
Hello, I have a model I want to run interfaced with matlab and I need to run It several times with diferent parameters in the following schema: MATLAB computations -> GAMS -> MATLAB computations -> GAMS ... Problem is the modelling of my problem takes several hours... Is there any way to speed this ...
- 4 years ago
- Forum: Modeling
- Topic: Default output for infeasible problems.
- Replies: 1
- Views: 1689
Default output for infeasible problems.
Hello,
I'm using GAMS interfaced with matlab, and I was wondering if it is possible to obtain a default output from gams in case the problem is infeasible?
By this I mean, that if problem is infeasible "result.l =e= 100000".
Thank you.
I'm using GAMS interfaced with matlab, and I was wondering if it is possible to obtain a default output from gams in case the problem is infeasible?
By this I mean, that if problem is infeasible "result.l =e= 100000".
Thank you.
- 4 years ago
- Forum: Modeling
- Topic: Calculations post solution
- Replies: 1
- Views: 1735
Calculations post solution
Is it possible to do further calculations with the solutions data after the solver?
"Mccarl gams user guide" mentions that "Often modelers employ post solution report writing calculations", but I can't find anything about the syntax that must be used.
Thank you,
"Mccarl gams user guide" mentions that "Often modelers employ post solution report writing calculations", but I can't find anything about the syntax that must be used.
Thank you,
- 4 years ago
- Forum: Modeling
- Topic: If/then logic with variables
- Replies: 1
- Views: 2766
If/then logic with variables
I'm modelling a problem on GAMS (interfaced with Matlab) and I'm trying to sort some data before returning the values to Matlab in order to lower the amount of variables transferred back through MATOUT (which increase processing time). pen, P_linha, sumPen and sumPen2 are variables; lim_linhas is a ...
- 4 years ago
- Forum: Modeling
- Topic: Error 668 , 37 , 409
- Replies: 2
- Views: 5630
Re: Error 668 , 37 , 409
Thank you,
The other errors were because I was using "pi" as a variable name when apparently there is a function of GAMS with that same name.
The other errors were because I was using "pi" as a variable name when apparently there is a function of GAMS with that same name.
- 4 years ago
- Forum: Modeling
- Topic: Error 668 , 37 , 409
- Replies: 2
- Views: 5630
Error 668 , 37 , 409
Hello, im getting a few errors in my code (which is interfaced with Matlab) and I'm unable to solve them. 26 $if exists $ include matdata.gms **** $668 1 - Can't understand this error and cant find information about it. 58 PiCalc(b,t).. Pi(b,t) =e= P(b,t) + c(b,t) - d(b,t); **** $37,409 37 '=l=' or ...