Open tbhallett opened 4 years ago
When doing optimisation etc, we would be using the forthcoming run management system, which builds everything up from scratch, so it shouldn't be a big issue???
Invites bugs I suppose though, as have arisen during the testing of this module. I suppose we could have a separate def in each module for "build_linear_model", or have the LinearModels contain pointers to the parameters rather than values. Either would seem fine to me, so will leave it to you to think about @tamuri.
When doing optimisation etc, we would be using the forthcoming run management system, which builds everything up from scratch, so it shouldn't be a big issue???
The way I thought we'd do it was indeed adjusting the properties on an existing instance. Even if it's a new instance, all the parameters are populated from the resource file (consider these 'default') and then adjustments are made on top of that. I'll think through a few ideas and get back to you.
From @tamuri
Originally posted by @tbhallett in https://github.com/UCL/TLOmodel/pull/107#issuecomment-624008909