Status: Finished

Find Optimal combination between 150 numbers , range between 3 and 12, that sum 25 - Please use Delphi

Project details:
Budget: Open
Published: 2 months ago
Deadline: Not defined
Bids: 1
Interested freelancers: 2

Skills required: IT & Programming Delphi

Description:
1 ) Create a function that receive an array of 150 integers - ranged between 3 and 13

The program will process all the combination that sum 25.

2) With these combinations , process all the combinations to fit 3 slots, as described by some examples:

Scenario 1:

SetNum {1,3,6,7} - Sum 25 - Slot 1 -
SetNum {4,5,9} - Sum 25 - Slot 2 - {Please note that the item coundn't be duplicated}

Scenario 2:

SetNum {1,4,6,7} - Sum 25 - Slot 1
SetNum {5,8,9} - Sum 25 - Slot 2
SetNum {2,10, 11} - Sum 25 - Slot 3
SetNum {12,17} - Sum 25 - Slot 1

Rules to optimal result:

Sets with 2 Nums= 1000 points
Sets with 5 Nums= 2000 points
Nums Not used = - 200 points
Sets with 3 or 4 Nums = 500 points.

The best solution is the highest point.

Please use Delphi and OOP

Category: IT & Programming
Subcategory: Desktop Applications
What's the project's scope?: Create a new app
Is this a project or a position?: A project
I currently have: I have specifications
Experience in this type of project: Yes (I have managed this kind of project before)
Required availability: As needed
Required platforms: Windows

Create your own project

Are you looking for a freelancer to work on a similar project? Create your own project and you'll receive proposals from the best freelancers.

Create a similar project

Client:

Rafael T.
(Rating 5.00 out of 5)
Location: Brasil
To find out more about this client, login to Workana.
Loading...