runAssembly: Run Test Assembly

View source: R/solver_functions.R

runAssemblyR Documentation

Run Test Assembly

Description

runAssembly is a function for performing test assembly. This function is used internally in Static and Shadow.

Usage

runAssembly(config, constraints, xdata = NULL, objective = NULL)

Arguments

config

a config_Static or a config_Shadow object containing configuration options. Use createStaticTestConfig and createShadowTestConfig for this.

constraints

a constraints object. Use loadConstraints for this.

xdata

a list containing extra constraints in MIP form, for various purposes such as including previously administered items, and excluding ineligible items.

objective

the objective coefficients used for decision variables. This is usually the information value for each item in the pool.

Value

runAssembly returns a list containing the following entries:

  • MIP a list containing the result from MIP solver.

  • solver the name of the MIP solver.

  • status the MIP status value, indicating whether an optimal solution was found.

  • shadow_test the attributes of the selected items.

  • obj_value the objective value of the solution.

  • solve_time the elapsed time in running the solver.

References

van der Linden, W. J. (2005). Linear models for optimal test design. Springer Science & Business Media.


TestDesign documentation built on Sept. 11, 2024, 7:12 p.m.