optmatch (version 0.9-10)

getMaxProblemSize: What is the maximum allowed problem size?

Description

To prevent users from starting excessively large matching problems, the maximum problem size is limited by options("optmatch_max_problem_size"). This function a quick helper to assist fetching this value as a scalar. If the option isn't set, the function falls back to the default value, hard coded in the optmatch package.

Usage

getMaxProblemSize()

Arguments

Value

logical

See Also

options, setMaxProblemSize

Examples

Run this code
# NOT RUN {
optmatch:::getMaxProblemSize() > 1 & optmatch:::getMaxProblemSize() < 1e100
# }

Run the code above in your browser using DataLab