I need a program which outputs number combinations
- or -
Post a project like this2290
$$
- Posted:
- Proposals: 4
- Remote
- #1830382
- Awarded
Description
Experience Level: Intermediate
General information for the business: We are Web Development Company and are in need of a Programmer for non Web Applications
Description of requirements/functionality: In a nutshell:
I want to input some numbers into 9 input fields: 1 2 3 | 4 5 6 | 7 8 9 | 10 11 12
and the program should produce a .txt file which list every possible combination between the groups in a row. (Mathematically speaking, a Cartesian Product) such as:
1 4 7 10
1 4 7 11
1 4 7 12
1 4 8 10
...
I already have a fully working example of what I need in javascript. However due to performance, the javascript can take up to hours to complete when dealing with 5 million combinations and upwards.
http://acor.at/projekte/numbers.html
This program needs to be written in a performance optimized way & language. So C++, C# or any language that can deal with this amount of data in a quick way.
----
Proper explanation:
I need a 9 choose 5 groups of number groups, which will each produce their cartesian products.
9 choose 5 -> https://en.wikipedia.org/wiki/Combination
There need to be 9 input fields, which will only accept numbers, which are separated by new lines. (There will be a max amount of 10 different numbers in each input field group)
There should be a generate button, which when pressed will start exporting the possible combinations into a text file, a progress bar should also be displayed, along with a percentage display and an estimed time of completion.
Important, the program has to be able to deal with exporting large text files, so the RAM should not become overloaded, nor should the progress take forever.
The max input that will ever be used is 10 numbers, in every group, resulting in:
9 choose 5 groups. (126 different group combinations)
with each group containing a max of 10 numbers,
(10*10*10*10*10 = 100000 Possible combinations in each group)
Meaning the text file will never contain more than (126*100000) 12,600,000 Lines.
The program can easily be tested by just comparing the output with the online version that I included.
------
Additionally:
1 input field for the text file name
1 input field for: "Start a new text file every x lines" with x being the number entered into the field which then adds a _1, _2 etc. for each consecutive file generated.
The end product will be in German only, so once everything is completed, we will give you the strings in German.
OS requirements: Windows
Extra notes:
Description of requirements/functionality: In a nutshell:
I want to input some numbers into 9 input fields: 1 2 3 | 4 5 6 | 7 8 9 | 10 11 12
and the program should produce a .txt file which list every possible combination between the groups in a row. (Mathematically speaking, a Cartesian Product) such as:
1 4 7 10
1 4 7 11
1 4 7 12
1 4 8 10
...
I already have a fully working example of what I need in javascript. However due to performance, the javascript can take up to hours to complete when dealing with 5 million combinations and upwards.
http://acor.at/projekte/numbers.html
This program needs to be written in a performance optimized way & language. So C++, C# or any language that can deal with this amount of data in a quick way.
----
Proper explanation:
I need a 9 choose 5 groups of number groups, which will each produce their cartesian products.
9 choose 5 -> https://en.wikipedia.org/wiki/Combination
There need to be 9 input fields, which will only accept numbers, which are separated by new lines. (There will be a max amount of 10 different numbers in each input field group)
There should be a generate button, which when pressed will start exporting the possible combinations into a text file, a progress bar should also be displayed, along with a percentage display and an estimed time of completion.
Important, the program has to be able to deal with exporting large text files, so the RAM should not become overloaded, nor should the progress take forever.
The max input that will ever be used is 10 numbers, in every group, resulting in:
9 choose 5 groups. (126 different group combinations)
with each group containing a max of 10 numbers,
(10*10*10*10*10 = 100000 Possible combinations in each group)
Meaning the text file will never contain more than (126*100000) 12,600,000 Lines.
The program can easily be tested by just comparing the output with the online version that I included.
------
Additionally:
1 input field for the text file name
1 input field for: "Start a new text file every x lines" with x being the number entered into the field which then adds a _1, _2 etc. for each consecutive file generated.
The end product will be in German only, so once everything is completed, we will give you the strings in German.
OS requirements: Windows
Extra notes:
Nico H.
100% (1)Projects Completed
1
Freelancers worked with
1
Projects awarded
100%
Last project
29 Jan 2018
Austria
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies