input: Write a python function to optimize constraints given a dictionary with lists of constraints.
  assert optimize_constraints({"constraint1": [[1, 2, 3], [4, 5, 6]], "constraint2": [[7, 8, 9], [10, 11, 12]]}) == {"constraint1": [[1, 2, 3], [4, 5, 6]], "constraint2": [[7, 8, 9], [10, 11, 12]]}
  assert optimize_constraints({"constraint1": [[0, 0, 0]], "constraint2": [[1, 1, 1]]}) == {"constraint1": [[0, 0, 0]], "constraint2": [[1, 1, 1]]}
output: def optimize_constraints(constraints):
      optimized_constraints = {}
      for key, value in constraints.items():
          optimized_value = []
          for constraint in value:
              if constraint not in optimized_value:
                  optimized_value.append(constraint)
          optimized_constraints[key] = optimized_value
      return optimized_constraints