TulipaEnergyModel.jl
TulipaEnergyModel.jl copied to clipboard
Improve the log description
What and Why
There are two main improvements we can make to the log we get when using the run_scenario
function:
- Split the
solve_model!
function into two parts: one, the actual solve of the model and the other, storing the results in the model. The current code has only one function with both. Once this is done, the timing and memory usage of both functions are calculated independently. - Add timing and memory usage for each of the functions that create the model constraints in the
create_model!
function.
This will help to identify better where we are spending more time in the model
Possible Drawbacks
More places to allocate the measures 🤷
Related Issues
No response