docs: public static int ParetoConstraintCompare(Solution solution1, Solution solution2)
     {
        boolean dominate1 = false;
        boolean dominate2 = false;
  
        int constraint_count = solution1.getConstraints().size();
        for (int i = 0; i < constraint_count; i++)
        {
           if (Math.abs(solution1.getConstraint(i)) < Math.abs(solution2.getConstraint(i)))
           {
              dominate1 = true;
              if (dominate2)
              {
                 return 0;
              }
           }
           else if (Math.abs(solution1.getConstraint(i)) > Math.abs(solution2.getConstraint(i)))
           {
              dominate2 = true;
              if (dominate1)
              {
                 return 0;
              }
           }
        }
  
        if (dominate1 == dominate2)
        {
           return 0;
        }
        else if (dominate1)
        {
           return -1;
        }
        else
        {
           return 1;
        }
     }