(New) Standardized Generators¶
libEnsemble also supports all generators that use the gest_api interface.
1from gest_api.vocs import VOCS
2from optimas.generators import GridSamplingGenerator
3
4from libensemble.specs import GenSpecs
5
6vocs = VOCS(
7 variables={
8 "x0": [-3.0, 2.0],
9 "x1": [1.0, 5.0],
10 },
11 objectives={"f": "MAXIMIZE"},
12)
13
14generator = GridSamplingGenerator(vocs=vocs, n_steps=[7, 15])
15
16gen_specs = GenSpecs(
17 generator=generator,
18 batch_size=4,
19 vocs=vocs,
20)
21...
Included with libEnsemble¶
Sampling¶
-
Various generators for sampling a space.
Optimization¶
Modeling and Approximation¶
Verified Third Party Examples¶
Generators that use the gest_api interface and are verified to work with libEnsemble.
The standardized interface was developed in partnership with their authors.
Xopt - https://github.com/xopt-org/Xopt¶
Examples:
Optimas - https://github.com/optimas-org/optimas¶
Examples: