getXdataOfAdministered function

(Internal) Obtain constraint matrix-data of administered items/sets

(Internal) Obtain constraint matrix-data of administered items/sets

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 )

Arguments

  • simulation_constants: a named list containing simulation constants.
  • position: the item position, ranging from 1 to test length.
  • x: an output_Shadow object, containing data for a single examinee.
  • groupings_record: a list containing data on completed item sets.
  • constraints: a constraints object.

Returns

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.
  • Maintainer: Seung W. Choi
  • License: GPL (>= 2)
  • Last published: 2024-08-22