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.