This part is just for the toy problems, you should remove the pymop line.
--
You received this message because you are subscribed to the Google Groups "deap-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to deap-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/deap-users/55dad890-6f9e-4746-925c-82b355726310n%40googlegroups.com.
pymop is a multi objective framework that provides toy problems. This line only serve to create the problem within pymop. That's where your objective function should be.
To view this discussion visit https://groups.google.com/d/msgid/deap-users/b7e5a439-899c-4fb0-b780-4673e25414b9n%40googlegroups.com.
Sure! Here's how to define a multi-objective problem for NSGA-II/NSGA-III in short:
Decision Variables:
Define variables with type and bounds.
Example: x ∈ [0, 1], y ∈ [0, 1]
Objective Functions:
Define 2 or more conflicting objectives.
Example:
f1(x, y) = x² + y² (minimize)
f2(x, y) = (x - 1)² + (y - 1)² (minimize)
Constraints (Optional):
Define any rules the solution must follow.
Example: x + y ≤ 1
Encoding & Evaluation:
Represent the problem in code (e.g., DEAP, pymoo, Platypus).
Evaluation function should return a tuple: (f1, f2)
Choose Algorithm:
Use NSGA-II for 2–3 objectives
Use NSGA-III for 4+ objectives (requires reference points)
Thank You
Warriors