Skip to content

Commit 08915b3

Browse files
authored
Merge dev (#26)
2 parents 51594a6 + db5ee37 commit 08915b3

File tree

18 files changed

+547
-280
lines changed

18 files changed

+547
-280
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ jobs:
3737
python -m pip install --upgrade pip setuptools
3838
pip install -r requirements-tests.txt
3939
pip install -r requirements-assignment.txt
40-
pip install -r requirements-hebo.txt
4140
pip install -e .[arch_sbo,botorch,trieste,tpe,rocket,egor]
4241
4342
- name: Test with pytest
44-
run: pytest sb_arch_opt --durations=0
43+
run: pytest -v sb_arch_opt --durations=10

.github/workflows/tests_basic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ jobs:
4949
run: echo "${{ steps.license_check_report.outputs.report }}"
5050

5151
- name: Test with pytest
52-
run: pytest sb_arch_opt --durations=0
52+
run: pytest -v sb_arch_opt --durations=10

.github/workflows/tests_slow.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
python -m pip install --upgrade pip setuptools
3535
pip install -r requirements-tests.txt
3636
pip install -r requirements-assignment.txt
37-
pip install -r requirements-hebo.txt
3837
pip install -r requirements-ota.txt
3938
pip install -e .[arch_sbo,botorch,trieste,tpe,rocket,egor]
4039
pip install jupyter ipython ipykernel
@@ -54,4 +53,4 @@ jobs:
5453
run: echo "${{ steps.license_check_report.outputs.report }}"
5554

5655
- name: Test with pytest
57-
run: RUN_SLOW_TESTS=1 pytest sb_arch_opt --durations=0
56+
run: RUN_SLOW_TESTS=1 pytest -v sb_arch_opt --durations=20

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![SBArchOpt Logo](https://github.com/jbussemaker/SBArchOpt/blob/main/docs/logo.svg)
2+
13
# SBArchOpt: Surrogate-Based Architecture Optimization
24

35
[![Tests](https://github.com/jbussemaker/SBArchOpt/workflows/Tests/badge.svg)](https://github.com/jbussemaker/SBArchOpt/actions/workflows/tests.yml?query=workflow%3ATests)

docs/algo/hebo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Artificial Intelligence Research, 74, pp.1269-1349, DOI: [10.1613/jair.1.13643](
1212
## Installation
1313

1414
```
15-
pip install -r requirements-hebo.txt
15+
pip install sb-arch-opt[hebo]
1616
```
1717

1818
## Usage

docs/icon.png

9.94 KB
Loading

docs/index.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![SBArchOpt Logo](logo.svg)
2+
13
# SBArchOpt: Surrogate-Based Architecture Optimization
24

35
SBArchOpt (es-bee-ARK-opt) provides a set of classes and interfaces for applying Surrogate-Based Optimization (SBO)
@@ -25,6 +27,23 @@ The library provides:
2527
- Connectors to various external SBO libraries
2628
- Analytical and realistic test problems that exhibit one or more of the architecture optimization challenges
2729

30+
## Installation
31+
32+
First, create a conda environment (skip if you already have one):
33+
```
34+
conda create --name opt python=3.9
35+
conda activate opt
36+
```
37+
38+
Then install the package:
39+
```
40+
conda install numpy
41+
pip install sb-arch-opt
42+
```
43+
44+
Note: there are optional dependencies for the connected optimization frameworks and test problems.
45+
Refer to their documentation for dedicated installation instructions.
46+
2847
## Citing
2948

3049
If you use SBArchOpt in your work, please cite it:

docs/logo.svg

Lines changed: 75 additions & 0 deletions
Loading
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<div class="md-copyright">
2+
<p><img src="{{ 'logo.svg' | url }}" alt="logo" style="height: 50px" /></p>
3+
{% if config.copyright %}
4+
<div class="md-copyright__highlight">
5+
{{ config.copyright }}
6+
</div>
7+
{% endif %}
8+
</div>

docs/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
:root {
2+
--md-primary-fg-color: #330a5e;
3+
}

0 commit comments

Comments
 (0)