Search found 66 matches
- 5 years ago
- Forum: Syntax
- Topic: Error: Real number expected
- Replies: 2
- Views: 4928
Re: Error: Real number expected
Thanks Renger for your help. This was indeed the problem.
- 5 years ago
- Forum: Syntax
- Topic: Error: Real number expected
- Replies: 2
- Views: 4928
Error: Real number expected
Hi all, I have a problem that I do not understand why it occurs. I specify the following options Option optcr = option_relativeGap; Option optca = option_absoluteGap; Option Reslim = option_timeLimit; and I get an error: Ral number expected I read the parameters (option_relativeGap, option_absoluteG...
- 5 years ago
- Forum: Solvers
- Topic: How to get CPLEX time
- Replies: 1
- Views: 3332
Re: How to get CPLEX time
Has noone encoutered a similar problem?
- 5 years ago
- Forum: Solvers
- Topic: How to get CPLEX time
- Replies: 1
- Views: 3332
How to get CPLEX time
Hi folks, I am using GAMS with CPLEX as the solver. I want to get the exectution time of the solver (CPLEX time) as a parameter. I serached in the internet and found these two recommendations Source: https://support.gams.com/gams:how_do_i_get_the_total_model_solution_time_in_gams Scalar tcomp, texec...
- 5 years ago
- Forum: Solvers
- Topic: Evolutionary algorithm for a GAMS model
- Replies: 2
- Views: 4615
Re: Evolutionary algorithm for a GAMS model
No suggestions (this is my last try)?
- 5 years ago
- Forum: Solvers
- Topic: Evolutionary algorithm for a GAMS model
- Replies: 2
- Views: 4615
Re: Evolutionary algorithm for a GAMS model
Does nobody have a clue if you can use an evolutionary algorithm (or any other metaheuristic) for your GAMS model? I'll be quite thankful If some could share his or her experience or assumptions.
- 5 years ago
- Forum: Solvers
- Topic: Evolutionary algorithm for a GAMS model
- Replies: 2
- Views: 4615
Evolutionary algorithm for a GAMS model
Hi guys,
I just wanted to ask whether it is possible to solve a GAMS model using an evolutionary algorithm? Or is there one solver that GAMS is compatible with which uses a metaheuristic for solving the optimization problem?
I'd appreciate input.
I just wanted to ask whether it is possible to solve a GAMS model using an evolutionary algorithm? Or is there one solver that GAMS is compatible with which uses a metaheuristic for solving the optimization problem?
I'd appreciate input.
- 5 years ago
- Forum: Modeling
- Topic: Iterative models/ Dynamic sets
- Replies: 10
- Views: 12315
Re: Iterative models/ Dynamic sets
Thanks Fred for your answer, there are still a few things that I do not understand. $eval tSlices ceil(card(tt)/288) why do we need a Compile-Time Variable here? You anyways specify the number of total timeslots. So the number of time slices can be computed based on this. map(tSlice,tt) = (ord(tSlic...
- 5 years ago
- Forum: Modeling
- Topic: Iterative models/ Dynamic sets
- Replies: 10
- Views: 12315
Re: Iterative models/ Dynamic sets
Thanks Fred for your answer, I first of all wanted to try the mapping of the timeslots (without having the nested loop). However I have to admit that I don't the code you posted so I just copied and pasted it in my model (I merely adjusted the number of time slots). The beginning of my model looks l...
- 5 years ago
- Forum: Modeling
- Topic: Iterative models/ Dynamic sets
- Replies: 10
- Views: 12315
Re: Iterative models/ Dynamic sets
Thanks a lot Fred for your answer and help. I really appreciate the tremendous help in this forum :) it help me solve the problem. Now I want to not only run the model for every household for the entire optimization horizon (all t) but I want for every 288 timeslots to run run the optimization for e...