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: |
-
design_space
(DesignSpace)
–
The design space object of the problem.
-
model
(Model)
–
Model object containing the evaluation function.
-
valid_sets_idx
(list[int])
–
List of the ids of the sets that were not discarded.
-
use_surrogate
(bool)
–
If a surrogate model has been used in the search phase.
-
ref_dirs
(ndarray)
–
Reference directions for NSGA3. See: https://pymoo.org/misc/reference_directions.html.
-
algorithm
(UNSGA3)
–
The UNSGA3 Algorithm object.
-
termination
(DefaultMultiObjectiveTermination)
–
The termination criterion used.
-
set_id
(int)
–
id of the set which the problem is defined on.
-
x_mask
(list[float])
–
Mask to filter out the discrete paramters, as these are
constant in the set and not modified by the optimiser.
-
l
(list[float])
–
Lower bounds of the continous input parameters.
-
u
(list[float])
–
Upper bounds of the continous input parameters.
|
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: |
-
design_space
(DesignSpace)
–
The design space object of the problem.
-
model
(Model)
–
Model object containing the evaluation function.
-
save_history
(bool, default:
False
)
–
Save history of the evolution. Defaults to False.
-
use_surrogate
(bool, default:
True
)
–
Use a surrogate model in the optimisation. Defaults to True.
-
use_nn
(bool, default:
False
)
–
If to use the neural network surrogate. Defaults to False.
-
gp_kern
(str, default:
'matern'
)
–
Type of Gaussian Process kernel. Available modes are "matern" and "rbf". Defaults to "matern".
-
debug
(bool, default:
False
)
–
Fix the random generator seed for testing purposes. Defaults to False.
-
**kwargs
–
Optional arguments for introducing termination criteria.
|
pdopt.optimisation.Optimisation.run(folder=None)
Run the search phase.
| Parameters: |
-
folder
(str, default:
None
)
–
Path where to save temporarely the DesignSpace object between set optimisation runs. Defaults to None.
|