[ValueError] Error in result in MOEA/D algorithm #217
-
Hello, I am getting an error like this, where am I doing wrong? ref_dirs = get_reference_directions(
"multi-layer",
get_reference_directions("das-dennis", 2, n_partitions=500, scaling=1.5),
get_reference_directions("das-dennis", 2, n_partitions=500, scaling=0.5)
)
algorithm = MOEAD(
ref_dirs,
n_neighbors=7,
decomposition=get_decomposition("pbi", theta=5, eps=0),
prob_neighbor_mating=0.7,
sampling=get_sampling("real_random"),
crossover=get_crossover("real_sbx", prob=0.9, eta=15),
mutation=get_mutation("real_pm", eta=20),
)
res = minimize(problem,
algorithm,
('n_gen', 100),
seed=3878595,
verbose=False,
return_least_infeasible=False,)
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I am not able to reproduce the error. (what problem do you solve in your code? Does it have two objectives?)
|
Beta Was this translation helpful? Give feedback.
-
does |
Beta Was this translation helpful? Give feedback.
does
NSGA2
work without any error? If no, I suspect issues with the problem definition or_evaluate
function.