You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The argument upper works properly on standard combinations/permutations however when a constraint is applied and the total number of results exceeds 2^31 - 1, it does not have the proper affect. Observe:
And now the special case when we have an integer partition set up (i.e. limitConstraints = 100 in the above):
a3 <- permuteGeneral(0:100, 25, T,
constraintFun = "sum",
comparisonFun = "==",
limitConstraints = 100,
upper = 1e5)
Error in CombinatoricsRcpp(v, m, repetition, freqs, lower, upper, constraintFun, :
The number of rows cannot exceed 2^31 - 1.
The text was updated successfully, but these errors were encountered:
jwood000
changed the title
Argument upper in combo/permuteGeneral does not work under certain constraints
Argument upper in combo/permuteGeneral does not work under certain constraints
Jul 15, 2019
The argument
upper
works properly on standard combinations/permutations however when a constraint is applied and the total number of results exceeds2^31 - 1
, it does not have the proper affect. Observe:Working examples:
And now the special case when we have an integer partition set up (i.e.
limitConstraints = 100
in the above):The text was updated successfully, but these errors were encountered: