JS Hong
Posts:
3
Registered:
9/6/10


Re: Generate random numbers with fixed sum and different constraints
Posted:
Sep 17, 2013 2:28 AM


Actually, I found the similar error with original parameters
lo = [1 0 2 1 0]; up = [5 6 4 4 2];
If s = any number between 2 and 6, the same error occurs. 2 and 6 is the max number whose both lower bounds are 0.
Can you tell me how to handle this error? Thanks.

