title: Optimization problem - finding a maximum
body: <p>I have a problem at hand which can be reduced to something like this : </p>
  
  <p>Assume a bunch of random points in a two-dimension plane X-Y where for each Y, there could be multiple points on X and for each X, there could be multiple points on Y. </p>
  
  <p>Whenever a point (Xi,Yi) is chosen, no other point with X = Xi OR Y = Yi can be chosen. We have to choose the maximum number of points.</p>