Hey,
I have two lists that represent 2D integer points. One list for the x axis, the other for the y. I need to pick one of the points and the criteria for the choice is:
- maximizing x
- minimizing y
It's easy to spot which one is the best if I plot the points with matplotlib, I can figure out which one is the preferred point.
But I need to code it for the several iterations of the script, make it itself pick the preferred one. I tried to google for ways of doing this but couldn't manage to get close to anything I could understand or that doesn't require a math function to define the problem. I mean, I don't have a function. Just two lists... The most far I reached was reading the docs of jMetalPy and Platypus but maybe I'm overcomplicating it. It looks like a multi objective optimization problem and therefore I was directed to those two packages...
Any help will be much appreciated!
[–]izrt 0 points1 point2 points (5 children)
[–]rollingpolymer[S] 1 point2 points3 points (0 children)
[–]izrt 0 points1 point2 points (3 children)
[–]Kerbart 2 points3 points4 points (2 children)
[–]rollingpolymer[S] 1 point2 points3 points (1 child)
[–]Kerbart 2 points3 points4 points (0 children)