getXdataOfAdministered
is an internal function for obtaining constraint matrix-data of administered items/sets.
Specifically, it returns a constraint matrix-data that tells the solver to include items/sets that are already administered to the current examinee.
This is necessary for shadow-test assembly for adaptive test assembly.
getXdataOfAdministered(
simulation_constants,
position,
x,
groupings_record,
constraints
)
getXdataOfAdministered
returns a constraint matrix-data.
A constraint matrix-data is a named list containing the following:
xmat
a (nc, ni) matrix for the left-hand side in a MIP problem.
xdir
a length-nc) vector of relational operators, for comparing the two sides in a MIP problem.
xrhs
a length-nc) vector, for the right-hand side in a MIP problem.
a named list containing simulation constants.
the item position, ranging from 1 to test length.
an output_Shadow
object, containing data for a single examinee.
a list containing data on completed item sets.
a constraints
object.