SOLVED
How do I generate 10 unique random numbers between 1 and 100 that sum up to 100?
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
gnans19
11 - Bolide
09-15-2020
09:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
How do I generate 10 unique random numbers between 1 and 100 that sum up to 100?
Example:
11 |
23 |
3 |
5 |
18 |
6 |
7 |
8 |
9 |
10 |
–––––––––
100
––––––––––
Solved! Go to Solution.
Labels:
- Labels:
- Optimization
- Preparation
11 REPLIES 11
paulfound
11 - Bolide
09-16-2020
08:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
09-17-2020
08:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you @paulfound This is amazing. I thought this is an optimization problem and needs LP solution.
- « Previous
-
- 1
- 2
- Next »