Python - Getting the best combination - a challenge
===

I have a CSV file with numerous rows like these:

- name  type  cost  points ratio(cost/points)

* James  A    5000   200    25
* Roland A    3000   100    30
* Farrel A    2000   200    10
* Peter  A    5500   500    11
* Mary   A    3200   160    20
* Gil    A    1000    40    25
* Ferrel B    3000   200    15
* David  B    3000   600     5
* Finn   B    4000   200    20
* Taty   B    1000   100    10
* Maria  B    3000   150    20


now i have to choose 3 persons from group A and 2 persons from group B, and my budget is 13000 dollars, while getting the best possible workers, the ones with the lowest ratio. If no possible combination is possible, it will return : No possibilities to this budget.

If its possible, it would return the names, position and the cost of each ones.

Please help me. Thank you very much.