SpineOpt.jl icon indicating copy to clipboard operation
SpineOpt.jl copied to clipboard

Adjusting Status: Time limit reached

Open Alireza64z opened this issue 9 months ago • 1 comments

Hi,

I'm running a model in Spine Toolbox for an extended scheduling period, such as one year, and a large number of decision variables. When doing so, I encounter a "Time limit reached" status.

Could you please advise on how to adjust or extend the time limit for the solver? Any guidance on modifying this setting would be greatly appreciated.

Thank you,

Alireza

Alireza64z avatar May 10 '24 12:05 Alireza64z

Hi @Alireza64z,

You need to change your solver parameter for the time limit (e.g., timelimit is the name for Gurobi, and time_limit is the name in HiGHS). So, you need to double-check the name of that parameter in your solver. Once you have that, you can change the solver parameters values following the instructions in the documentation here:

https://spine-tools.github.io/SpineOpt.jl/latest/how_to/change_the_solver/

I hope this helps.

Best,

Diego

datejada avatar May 10 '24 14:05 datejada