Documentation for pdopt.optimisation
Module containing the functions and objects used in the Search phase.
pdopt.optimisation.Optimisation
Class for the object that performs the search within the surviving design sets. Keyword arguments that can be passed are the termination criteria hyperparmeters used in the pymoo library, along with the population size argument of the UNSGA3 algorithm.
| Attributes: |
|
|---|
pdopt.optimisation.Optimisation.__init__(design_space, model, save_history=False, use_surrogate=True, use_nn=False, gp_kern='matern', debug=False, **kwargs)
Initialise the Optimisation object.
| Parameters: |
|
|---|
| Returns: |
|
|---|
pdopt.optimisation.Optimisation.run(folder=None)
- Run the search phase.
Args: folder (str, optional): Path where to save temporarely the DesignSpace object between set optimisation runs. Defaults to None. Returns: None.
pdopt.optimisation.NNSurrogate
Bases: Problem
Class that represents a deterministic optimisation problem, using a neural-network surrogate model for function evaluation. It is locally trained before use on the DesignSet it is part of. This class wraps the pymoo.core.problem.Problem class.
| Attributes: |
|
|---|
pdopt.optimisation.NNSurrogate.__init__(model, design_space, set_id, debug=False, **kwargs)
Initialise the NeuralNetwork Surrogate optimisation problem object.
| Parameters: |
|
|---|
| Returns: |
|
|---|
pdopt.optimisation.NNSurrogate.recover_pts(X)
Reconstruct the true output from the evaluation function of the optimal points X.
| Parameters: |
|
|---|
| Returns: |
|
|---|
pdopt.optimisation.NNSurrogate.sample()
Sample to train the surrogate model.
| Returns: |
|
|---|
pdopt.optimisation.NNSurrogate.train_model()
Train the surrogate model.
| Returns: |
|
|---|
pdopt.optimisation.KrigingSurrogate
Bases: Problem
Class that represents a deterministic optimisation problem, using a Kriging surrogate model for function evaluation. It is locally trained before use on the DesignSet it is part of. This class wraps the pymoo.core.problem.Problem class.
| Attributes: |
|
|---|
pdopt.optimisation.KrigingSurrogate.__init__(model, design_space, set_id, kernel, debug=False, **kwargs)
Initialise the Kriging Surrogate optimisation problem.
| Parameters: |
|
|---|
| Returns: |
|
|---|
pdopt.optimisation.KrigingSurrogate.recover_pts(X)
Reconstruct the true output from the evaluation function of the optimal points X.
| Parameters: |
|
|---|
| Returns: |
|
|---|
pdopt.optimisation.KrigingSurrogate.sample()
Sample to train the surrogate model.
| Returns: |
|
|---|
pdopt.optimisation.KrigingSurrogate.train_model()
Train the surrogate model.
| Returns: |
|
|---|
pdopt.optimisation.DirectOpt
Bases: Problem
Class that represents a deterministic optimisation problem, with direct function evaluation. This class wraps the pymoo.core.problem.Problem class.
| Attributes: |
|
|---|
pdopt.optimisation.DirectOpt.__init__(model, design_space, set_id, **kwargs)
Initialise the DirectOpt optimisation problem object.
| Parameters: |
|
|---|
| Returns: |
|
|---|