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

Improve the log description

Open datejada opened this issue 10 months ago • 0 comments

What and Why

There are two main improvements we can make to the log we get when using the run_scenario function:

  1. 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.
  2. 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

datejada avatar Apr 11 '24 14:04 datejada