CADETProcess.optimization.NSGA2#
- class CADETProcess.optimization.NSGA2(seed, pop_size, xtol, ftol, cvtol, n_max_gen, n_ref_dirs, n_skip, x_tol, f_tol, cv_nonlincon_tol, n_max_iter, progress_frequency, cv_bounds_tol, cv_lineqcon_tol, cv_lincon_tol, n_max_evals, similarity_tol, parallelization_backend)[source]#
NSGA2 Algorithm.
- Attributes:
aggregated_parametersdict: Aggregated parameters of the instance.
- cv_bounds_tol
- cv_lincon_tol
- cv_lineqcon_tol
- cv_nonlincon_tol
- cvtol
- f_tol
- ftol
missing_parameterslist: Parameters that are required but not set.
n_coresint: Proxy to the number of cores used by the parallelization backend.
- n_max_evals
- n_max_gen
- n_max_iter
- n_ref_dirs
- n_skip
optionsdict: Optimizer options.
- parallelization_backend
parametersdict: Parameters of the instance.
polynomial_parametersdict: Polynomial parameters of the instance.
- pop_size
- progress_frequency
required_parameterslist: Parameters that have no default value.
- seed
- similarity_tol
sized_parametersdict: Sized parameters of the instance.
specific_optionsdict: Optimizer spcific options.
- x_tol
- xtol
Methods
check_optimization_problem(optimization_problem)Check if problem is configured correctly and supported by the optimizer.
Verify if all required parameters are set.
check_x0(optimization_problem, x0)Check the initial guess x0 for an optimization problem.
Determine the maximum number of generations for an optimization problem.
Determine the number of reference directions for an optimization problem.
get_population_size(optimization_problem)Determine the population size for an optimization problem.
load_results(checkpoint_path[, ...])Load optimization results from a checkpoint file.
optimize(optimization_problem[, x0, ...])Solve OptimizationProblem.
Run post processing at the end of the optimization.
run_post_processing(X_transformed, ...[, ...])Run post-processing of generation.