Cleaned up objective function to exclude diagonals, as they can contain false negatives. Properly set optimum solution value.