Skip to content

Commit

Permalink
beginning work on the optimization example
Browse files Browse the repository at this point in the history
  • Loading branch information
bgunnar5 committed May 16, 2024
1 parent 54af2b6 commit 42f24ce
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
35 changes: 35 additions & 0 deletions docs/examples/optimization.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Design Optimization Example

The design optimization example was created as a way to show how Merlin can be utilized for machine-learning based design optimization workflows.

You can obtain all of the files necessary to run this example with:

```bash
merlin example optimization_basic
```

Once this command has been executed, you should have a folder called `optimization` with the following files:

```bash
optimization/
├── optimization_basic.yaml
├── requirements.txt
├── scripts
│ ├── collector.py
│ ├── optimizer.py
│ ├── test_functions.py
│ └── visualizer.py
├── template_config.py
└── template_optimization.temp
```

These files will each be discussed in more detail in their own sections but can be summarized as so:

- `optimization_basic.yaml`: A basic Merlin spec file to run this example
- `requirements.txt`: A requirements file listing third party libraries that need to be installed with pip to run this example
- `scripts/collector.py`:
- `scripts/optimizer.py`:
- `scripts/test_functions.py`:
- `scripts/visualizer.py`:
- `template_config.py`: A script to create a custom optimization Merlin spec file
- `template_optimization.temp`: The temp file used for custom spec configuration
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ nav:
- Flux Examples: "examples/flux.md"
- Slurm Examples: "examples/slurm.md"
- LSF Examples: "examples/lsf.md"
- Design Optimization Example: "examples/optimization.md"
- FAQ: "faq.md"
- Reference Guide:
- Merlin Reference: "api_reference/index.md"
Expand Down

0 comments on commit 42f24ce

Please sign in to comment.