Initialise optimisation model
prepare_model(
df_list,
yaml_list,
assignment = c("diversity", "preference"),
w1 = 0.5,
w2 = 0.5
)An ompr model.
The output list from extract_student_info().
The output list from extract_params_yaml().
Character string indicating the type of model that this dataset is for. The argument is either 'preference' or 'diversity'. Partial matching is fine.
Numeric values between 0 and 1. Should sum to 1. These weights correspond to the importance given to the diversity- and skill-based portions in the objective function.