powered by
Perform static (fixed-form) test assembly with specified configurations.
Static(config, constraints)# S4 method for config_Static Static(config, constraints)
# S4 method for config_Static Static(config, constraints)
A '>config_Static object containing configuration options. Use createStaticTestConfig for this.
'>config_Static
createStaticTestConfig
A list representing optimization constraints. Use loadConstraints for this.
loadConstraints
A list containing the following entries:
MIP A list containing the result from MIP solver.
MIP
solution Solution vector. Each value represents an item. A value of 1 indicates the item was selected.
solution
objval Objective value of the solution.
objval
status Status value indicating whether an optimal solution was found.
status
selected The attributes of the selected items.
selected
solver The name of the MIP solver used in the assembly.
solver
obj_value Objective value of the solution. Identical to the one above.
obj_value
solve_time The elapsed time in running the solver.
solve_time
van_der_linden_linear_2005TestDesign
# NOT RUN { config_science <- createStaticTestConfig( list( method = "MAXINFO", target_location = c(-1, 1) ) ) solution <- Static(config_science, constraints_science) # }
Run the code above in your browser using DataLab