Version 2.0.1
Bugfix
-
Fix ACO
save_mode = "best"not reliably saving the best model. In parallel mode, the "improved" flag from workers could become stale, causing a worse model to overwrite the saved best. The flag is now recomputed on the main process. Additionally, ACO now re-runs and saves the best model at the end of the search, matching the behavior of exhaustive search.
Version 2.0.0
New Features
Custom Model Libraries
-
Custom model support (
library = "custom"): use your own model library instead of the built-in PK library. Provide amodel_creation_func(library, filters)that returns a model file path or a Monolixlib:reference. Compatible with"exhaustive_search"and"ACO"algorithms. -
Monolix library integration:
model_creation_funccan returnlib:references fromgetLibraryModelName(), enabling search over any Monolix library (PKPD, PD, TMDD, TGI, etc.) without writing model files. -
param_mappingargument: defines which parameters are available for IIV in each model variant viacommon_paramsandfilter_params.
IIV and Parameter Control
-
fixed_iivargument: lock IIV on (TRUE) or off (FALSE) for specific parameters, reducing the search space. Works with all algorithms and with bothiiv = TRUEandiiv = FALSE. -
param_distributionsargument: override the default log-normal distribution for specific parameters (supports"normal","logNormal","logitNormal"with optional limits).
Parallel Execution
-
Parallel model evaluation for ACO and exhaustive search using
future/future.apply. Workers run models concurrently across local cores or HPC clusters.
Other
-
Specify
table_functo output additional information about the model.
Search and Algorithm Improvements
-
settings$tasks: configure which Monolix scenario tasks to run (e.g. disablestandardErrorEstimationfor faster exploration). -
settings$table_func: custom function to output additional information about each run.