initGurobiNumericalOptimizationExperimentalDesignObject {GreedyExperimentalDesign}R Documentation

This method creates an object of type optimal_experimental_design and will immediately initiate a search through $1_T$ space.

Description

This method creates an object of type optimal_experimental_design and will immediately initiate a search through $1_T$ space.

Usage

initGurobiNumericalOptimizationExperimentalDesignObject(X, num_cores = 1,
  time_limit_min = 5, node_limit = NULL, max_solutions = 10,
  verbose = TRUE, log_file = "")

Arguments

X

The design matrix with $n$ rows (one for each subject) and $p$ columns (one for each measurement on the subject). This is the design matrix you wish to search for a more optimal design.

num_cores

The number of CPU cores you wish to use during the search. The default is 1.

time_limit_min

The maximum amount of time the optimizer can run for in minutes. The default is 5.

node_limit

The maximum number of nodes Gurobi should explore. Default is NULL for no limit.

max_solutions

The maximum number of solutions Gurobi should retain (if possible given the time limit and constraint of the node limit). The default is NULL for Gurobi's default of 10.

verbose

Should Gurobi print its log to screen? Default is TRUE.

log_file

Log filename for Gurobi e.g. my_log.txt. Default is "" for no file log.

Value

An object of type optimal_experimental_design_search which can be further operated upon

Author(s)

Adam Kapelner and Bracha Blau


[Package GreedyExperimentalDesign version 1.2 Index]