Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check_python_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
python-version: ["3.10", "3.11", "3.12", "3.13"]
runs-on: ${{matrix.runs-on}}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/new_problem_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: '3.x'

Expand All @@ -35,5 +35,5 @@ jobs:

- name: Run New Problem Check
run: |
python utils/validate_yaml.py problems.yaml
uv run utils/validate_yaml.py problems.yaml

2 changes: 1 addition & 1 deletion .github/workflows/run_to_html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.ref }}
persist-credentials: true
Expand Down
3 changes: 0 additions & 3 deletions OPL_form.csv

This file was deleted.

166 changes: 42 additions & 124 deletions docs/index.html

Large diffs are not rendered by default.

166 changes: 42 additions & 124 deletions docs/problems.html

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions form_processing/OPL_form.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Timestamp,Submitter Name,Submitter Email,Short name of Suite / Problem / Generator,Type,Types of input variables,Number of Input variables (number(s) or range or 'scalable'),Number of Objectives (number(s) or range or 'scalable'),Problem Characteristics [Constrained],Problem Characteristics [Dynamic],Problem Characteristics [Noisy],Problem Characteristics [Multi-modal],Problem Characteristics [Partial evaluations possible],Problem Characteristics [Multiple fidelities],Problem Source,Link to Implementation,Short description of problem(s),Do you wish to provide some more detailed information about the proposed problems?,Full name of suite,Constraint Properties,Number of constraints,Type of Dynamicism,Form of noise model,Type of noise space,Other noise properties,Description of multimodality,Citation / reference,Key challenges / characteristics,Scientific motivation for the proposed suite / problem / generator,Limitations of the proposed suite / problem / generator,Implemenation languages,Links to implementations,Approximate time to evaluate a single solution (or times if e.g. multi-fidelity),Links to examples of usage of the proposed suite / problem / generator,Other relevant information,Feedback about the form,Code example / instructions,Problem Characteristics [Objectives evaluated independently], [Row 1]
x,,,test,Single Problem,Continuous,1,1,Multi-modal,,,,,,Real-World Application,test,test,Yes (go to detailed information),,,,,,,,,,,,,,,,,,,,,
x,Anonymized,Anonymized,MECHBench,Problem Suite,Continuous,scalable',1,Present,Not Present,Not Present,Present,Not Present,Not Present,Real-World Application,https://github.com/BayesOptApp/MECHBench,"This is a set of problems with inspiration from Structural Mechanics Design Optimization. The suite comprises three physical models, from which the user may define different kind of problems which impact the final design output.",Yes (go to detailed information),MECHBench,Hard Constraints,1 or 2,None,None,None,None,Unstructured or non isotropic multimodality,https://arxiv.org/abs/2511.10821,Embeds physical simulations and is flexible and modular,Bridge the black-box optimization techniques to a Mechanical Design Problem which require these kinds of algorithms,"The models do not include fracture or damage mechanics, just plasticity.",Python,https://github.com/BayesOptApp/MECHBench,Times -> from 1 minute to 7 minutes,,,,,,
38 changes: 38 additions & 0 deletions form_processing/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# CSV to YAML import

This folder contains a small Python script that merges the content of the form-response CSV into the main OPL YAML file.

## What it does

- reads `OPL_form.csv`
- converts each row into OPL schema objects
- merges new entries into `../problems.yaml`
- skips duplicate names and empty rows
- validates the merged YAML before writing

## Usage

Run the script from the repository root or from this folder:

```bash
python form_processing/formresponse_to_yaml.py --csv form_processing/OPL_form.csv --existing-yaml problems.yaml --output-yaml problems.yaml
```

If you run it from inside `form_processing`, the defaults also work:

```bash
python formresponse_to_yaml.py
```

## Dry run

Use dry-run mode to check the import without changing any files:

```bash
python form_processing/formresponse_to_yaml.py --dry-run
```

## Notes

- The script keeps existing entries and only adds new ones.
- It prints how many entries were added, how many implementations were added, and how many rows were skipped.
Loading
Loading