计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
performance-and-parallelization【效率与协作】Speed up and harden pymoo runs with vectorized problems, elementwise parallel runners, optional backends, compiled-extension checks, and long-run resource controls.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a pymoo task asks to make optimization faster or safer:
slow objective evaluations, vectorization, elementwise runners, starmap,
threads/processes, joblib/dask/ray, GPU acceleration patterns, compiled-extension
status, reproducibility, progress overhead, or memory costs during long runs.
problem-modeling sub-skill.optimization-workflows sub-skill.analysis-and-visualization sub-skill.(n, n_var)
NumPy matrix at once, use Problem and fill vectorized arrays such as
out["F"]. This usually beats Python-level pools for cheap numeric work.ElementwiseProblem and pass an
elementwise_runner such as StarmapParallelization(pool.starmap).parallelization optional
extra and should not be assumed present.from pymoo.functions import is_compiled to check whether Cython-compiled functions are available. Pure
Python fallback is valid but can be slower.seed=... for reproducibility; keep
verbose/progress off for timing; avoid save_history=True unless history is
required because it stores deep copies across generations.Problem, elementwise StarmapParallelization, optional joblib/dask/ray, GPU
patterns, cleanup, and validation.is_compiled() surprises, progress overhead, and history memory bloat.ElementwiseProblem plus a thread-pool starmap runner.--require-compiled only when a task explicitly requires compiled speedups.