spine-tools / SpineOpt.jl

A highly adaptable modelling framework for multi-energy systems
https://www.tools-for-energy-system-modelling.org/
GNU General Public License v3.0
56 stars 13 forks source link

Adjusting Status: Time limit reached #1011

Closed Alireza64z closed 4 months ago

Alireza64z commented 5 months ago

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

datejada commented 5 months ago

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