Xopt
Xopt copied to clipboard
Flexible high-level optimization in Python
I ran a real test case of the latest Xopt using the dev setup. The example is a dcgun tracked with GPT, optimizing the emittance out of the gun vs....
Hi, I am writing a [generic optimization example for ImpactX](https://github.com/ECP-WarpX/impactx/pull/539) using `xopt` :tada:. I tried out a BO generator (TuRBO) and an algorithmic optimizer (Nelder-Mead). I realized that the syntax...
The constants are not being passed to evaluate with `AsynchronousXopt`. Example: `test.py` ```python #from xopt import Xopt # Works from xopt import AsynchronousXopt as Xopt def evaluate_function(inputs, kwarg1, kwarg2): print(f"{inputs=}")...
Now the the returned values from `generate(n_candidates)` for different Generators are in different conventions. Specifically, some return `List[Dict[str, float]]` and some return `List[Dict[str, np.ndarray]]`, which is not documented explicitly in...
It would be helpful to have a guideline in the docs to show the available configuration fields of Xopt. For example, in older versions of Xopt, users need to specify...
In running Xopt with a population file I noticed I can't use ENV variables in generator:population_file key in the Xopt yaml file: ``` generator: name: cnsga population_size: 320 output_path: /global/homes/c/cgull12/m3645/cgull12/cooler/pc/in2mg/v2...
raises a RuntimeError
New PID generator class, as well as basic example code on how to use it in a simulation.