Learn R Programming

TestDesign (version 0.2.3)

STA: Perform shadow test assembly

Description

Perform Shadow Test Assembly (STA) for computerized adaptive testing.

Usage

STA(constraints, objective, solver = "Lpsolve", xmat = NULL,
  xdir = NULL, xrhs = NULL, maximize = TRUE, mps = FALSE,
  lp = FALSE, verbosity = -2, time_limit = 5, gap_limit = -1, ...)

Arguments

constraints

A list representing optimization constraints. Use loadConstraints for this.

objective

A vector of objective values.

solver

The type of solver. Accepts SYMPHONY, GUROBI, GLPK, LPSOLVE.

xmat

A matrix of additional constraint coefficients for any previously administered items.

xdir

A character vector with the directions for the constraints in xmat.

xrhs

A vector of right-side values for the constraints in xmat.

maximize

If TRUE, treat as a maximization problem. Otherwise treat as a minimization problem.

mps

Only used when solver is SYMPHONY. If TRUE, print an MPS representation of the problem for debugging purposes.

lp

Only used when solver is SYMPHONY. If TRUE, print an LP representation of the problem for debugging purposes.

verbosity

Verbosity level.

time_limit

Time limit passed onto the solver.

gap_limit

Gap limit passed onto the solver.

...

Only used when solver is SYMPHONY. Additional parameters to be passed onto the solver.

Value

A list containing the optimal solution and pertinent diagnostics.

References

van_der_linden_model_1998TestDesign

van_der_linden_optimal_1998TestDesign

van_der_linden_optimal_2000TestDesign

van_der_linden_linear_2005TestDesign