update problem and pipeline

This commit is contained in:
root
2024-07-11 19:34:12 +08:00
parent be6a67d7e2
commit cef27b56bb
14 changed files with 40 additions and 205 deletions

View File

@@ -22,7 +22,7 @@ if __name__ == "__main__":
low_bounds=[-1, -1],
upper_bounds=[1, 1],
method="sample",
num_samples=1000,
num_samples=100,
)
pipeline = Pipeline(
@@ -42,7 +42,7 @@ if __name__ == "__main__":
),
),
problem=custom_problem,
generation_limit=100,
generation_limit=50,
fitness_target=-1e-4,
seed=42,
)