Open flo-schu opened 3 months ago
This issue came up again, when implementing a more versatile solver. The solver is slow, because it repretitively executes the same code again and again.
This can be drastically improved by outsourcing the repetitive tasks to the evaluator, which is, on top, of that only instantiated once.
model_parameters
with the keys y0
, x_in
and parameters
The reason is that with passing through of important arguments the overhead of instantiating it again and again is not necessary. The challenge is how to dynamically call it with different arguments.
🛑 This should be carefully thought through.