Skip to content

Commit

Permalink
Fixed bullets, added CNSGA to algorithms docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherMayes committed Oct 9, 2021
1 parent 613a3ef commit 68220e4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions docs/api/algorithms/genetic.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: xopt.cnsga.cnsga
24 changes: 10 additions & 14 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ support for multi-threaded or MPI-enabled execution.
Currenty **Xopt** provides:

- optimization algorithms:
- `cnsga` Continuous NSGA-II with constraints.
- `bayesian_optimization` Single objective Bayesian optimization (w/ or w/o constraints, serial or parallel).
- `mobo` Multi-objective Bayesian optimization (w/ or w/o constraints, serial or parallel).
- `bayesian_exploration` Bayesian exploration.
- `multi_fidelity` Multi-fidelity Single objective Bayesian optimization.
- `cnsga` Continuous NSGA-II with constraints.
- `bayesian_optimization` Single objective Bayesian optimization (w/ or w/o constraints, serial or parallel).
- `mobo` Multi-objective Bayesian optimization (w/ or w/o constraints, serial or parallel).
- `bayesian_exploration` Bayesian exploration.
- `multi_fidelity` Multi-fidelity Single objective Bayesian optimization.
- sampling algorithms:
- `random sampler`
- `random sampler`
- Convenient YAML/JSON based input format.
- Driver programs:
- `xopt.mpi.run` Parallel MPI execution using this input format.
- `xopt.mpi.run` Parallel MPI execution using this input format.

**Xopt** does **not** provide:
- your custom simulation via an `evaluate` function.

Rather, **Xopt** asks you to define this function
Rather, **Xopt** asks you to define this function.

Configuring an Xopt run
===============
Expand Down Expand Up @@ -78,8 +78,8 @@ Defining evaluation function
===============
Xopt can interface with arbitrary evaluate functions (defined in Python) with the
following form:
```
evaluate(params[Dict]) -> Dict
```python
evaluate(inputs: Dict) -> Dict
```
Evaluate functions must accept a dictionary object that **at least** has the keys
specified in `variables, constants, linked_variables` and returns a dictionary
Expand All @@ -93,7 +93,3 @@ Example MPI run, with `xopt.yaml` as the only user-defined file:
```b
mpirun -n 64 python -m mpi4py.futures -m xopt.mpi.run xopt.yaml
```

The complete configuration of a simulation optimization is given by a proper YAML file:


4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ nav:
- examples/bayesian_exploration.ipynb
- API:
- Xopt: api/xopt.md
- Bayesian:
- algorithms: api/bayesian/algorithms.md
- Bayesian algorithms: api/algorithms/bayesian.md
- Genetic algorithms: api/algorithms/genetic.md

theme:
icon:
Expand Down

0 comments on commit 68220e4

Please sign in to comment.