getMaxProblemSize: What is the maximum allowed problem size?

View source: R/feasible.R

getMaxProblemSizeR Documentation

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()

Value

logical

See Also

options, setMaxProblemSize

Examples

optmatch:::getMaxProblemSize() > 1 & optmatch:::getMaxProblemSize() < 1e100

markmfredrickson/optmatch documentation built on Dec. 7, 2024, 7:08 a.m.