Python Forum

Full Version: reranking porblem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I am working on a re-ranking problem, I have a big list of items, each item has two scores (x,y), I want to rank N of the items at a time such that it maximizes the average of x and y, it is ok if y decreases by p. I understand that it is an optimization problem but I don't know how to start with it. Do you suggest any algorithms and optimization package in python that might help me to implement this efficiently?

Thank you
If you don't know where to start, you need to sit down and learn python first.
I just posted this:
My favourites tutorials are (equally as good):
How to Think Like a Computer Scientist: Interactive Edition
Python 3 tutorial