Search found 10 matches

by serch199
1 year ago
Forum: Syntax
Topic: Save solution under different name
Replies: 0
Views: 2533

Save solution under different name

Hello to all I have a question and I would like to know if anyone knows how to solve this problem. My question is: I have a scrpit in matlab which runs a gams routine in a loop. My problem is how to make that in each iteration, GAMS saves the solution with a different name (I send the gams solution ...
by serch199
1 year ago
Forum: Syntax
Topic: save time solution with Xpress
Replies: 2
Views: 2309

Re: save time solution with Xpress

Hello dirkse

Your comments have helped me a lot.

Thank you very much
by serch199
1 year ago
Forum: Syntax
Topic: save time solution with Xpress
Replies: 2
Views: 2309

save time solution with Xpress

Hello to all

I have a doubt, which is perhaps very simple. I want to save the time it takes to solve a model, and then I want to send it to matlab. My doubt is how to do that?

P.S: I use Xpress as a solver, I don't know if this is relevant.

Thank you very much to all
by serch199
1 year ago
Forum: Tools
Topic: cutstrategy with xpress in Gams
Replies: 2
Views: 5681

Re: cutstrategy with xpress in Gams

Thank you Dirkse for taking the time to solve my doubt. Just one more question, so in order to apply the cutting strategy, the following syntax is correct? MODEL CSCUC_sinPeridas /all/; option MIP = OSIxpress; right > OSIxpress.opt cutStrategy=3 $offecho CSCUC_sinPeridas.optfile=1; CSCUC_sinPeridas....
by serch199
1 year ago
Forum: Tools
Topic: cutstrategy with xpress in Gams
Replies: 2
Views: 5681

cutstrategy with xpress in Gams

Hello everyone. I have a doubt about syntax, I have a model which I solve using Xpress (OSIxpress) and I want to apply more aggressive cuts. In Xpress I would do it like this: setparam("xprs_cutstrategy", 4). My question is how do I do this using GAMS? I want the solver to remain Xpress bu...
by serch199
1 year ago
Forum: Modeling
Topic: Slow solution using MIP
Replies: 6
Views: 2477

Re: Slow solution using MIP

Hi Fred

Thank you very much for taking the time to review my code, I will pay attention to the points you mentioned.
by serch199
1 year ago
Forum: Modeling
Topic: Slow solution using MIP
Replies: 6
Views: 2477

Re: Slow solution using MIP

Hi Fred Thank you very much for taking the time to review my code, I was very struck by the fact that the model is very badly scaled, and my question is what is the correct way to scale it, or if you could give me an example of how to correct that or what I'm doing wrong in my code. Or also if there...
by serch199
1 year ago
Forum: Modeling
Topic: Slow solution using MIP
Replies: 6
Views: 2477

Slow solution using MIP

Hola a todos Tengo un problema, estoy resolviendo un modelo de UC consiente de fallas en líneas o generadores, pero mi problema es que el modelo tarda mucho en obtener una solución cuando se utilizan sistemas eléctricos “grandes” (300 buses, etc.). Adjunto mi código y los datos que utilizo para el s...
by serch199
1 year ago
Forum: Syntax
Topic: Re-solve model Fixing Variables
Replies: 3
Views: 3307

Re: Re-solve model Fixing Variables

Thank you Manassaldi
Your information helped me a lot.
by serch199
1 year ago
Forum: Syntax
Topic: Re-solve model Fixing Variables
Replies: 3
Views: 3307

Re-solve model Fixing Variables

Hola que tal? En si, mi duda es que tengo modelo MIP, el cual encuentra solución y necesito volver resolver ese mismo modelo pero ahora fijando las variables binarias para poder utilizar un solucionado LP. Por lo cual mi pregunta es ¿Es posible volver a resolver un modelo pero fijando ciertas variab...