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


Terminado
Descripción:
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

Abierto

Presupuesto

1

Propuestas

2

Freelancers interesados

Publicado: Hace un año

Plazo: No definido

Crea tu propio proyecto

¿Buscas un freelancer para realizar un proyecto similar? Crea tu propio proyecto y recibirás ofertas de los mejores freelancers.


Otros proyectos de este cliente

Para ver más detalles del cliente

Ingresa a Workana

Freelancers que ya aplicaron para este trabajo

Yeimi R. O. V. My career has led me to specialize increasingly in the management and development of information system analysis, process optimization, reengineering source, over 13 years experience in developing applications of all ... + detalles