Skip to content

Commit 2e5b26c

Browse files
authored
Merge branch 'main' into compathelper/new_version/2025-09-11-00-37-53-804-01724252732
2 parents 239ef9f + e971c7b commit 2e5b26c

File tree

129 files changed

+5426
-2225
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+5426
-2225
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,14 @@
1-
# [.github/workflows/CI.yml]
21
name: CI
2+
33
on:
44
push:
55
branches:
66
- main
77
tags: '*'
88
pull_request:
9+
910
jobs:
1011
call:
11-
strategy:
12-
matrix:
13-
version:
14-
- '1.10'
15-
- '1.11'
16-
os:
17-
- ubuntu-latest
18-
arch:
19-
- x64
2012
uses: control-toolbox/CTActions/.github/workflows/ci.yml@main
2113
with:
22-
version: ${{ matrix.version }}
23-
os: ${{ matrix.os }}
24-
arch: ${{ matrix.arch }}
14+
runners: '["ubuntu-latest", "windows-latest"]'

.github/workflows/SpellCheck.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Spell Check
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
call:
9+
uses: control-toolbox/CTActions/.github/workflows/spell-check.yml@main
10+
with:
11+
extend-identifiers: |
12+
PROPT = "PROPT"

.github/workflows/UpdateReadme.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
template_file: README.template.md
3434
output_file: README.md
3535
package_name: OptimalControlProblems # package for INSTALL.md
36-
repo_name: OptimalControlProblems.jl # repository for CONTRIBUTING.md links
37-
citation_badge: "[![DOI](https://zenodo.org/badge/848989278.svg)](https://zenodo.org/doi/10.5281/zenodo.17013180)" # example, can be empty
36+
repo_name: control-toolbox/OptimalControlProblems.jl # repository for CONTRIBUTING.md links
37+
doc_url: https://control-toolbox.org/OptimalControlProblems.jl
38+
citation_badge: "[![DOI](https://zenodo.org/badge/848989278.svg)](https://zenodo.org/doi/10.5281/zenodo.17013179)" # example, can be empty
3839
assignee: "ocots"
3940
secrets: inherit

.markdownlint.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"default": true,
3+
"MD001": false,
4+
"MD003": { "style": "atx" },
5+
"MD004": { "style": "dash" },
6+
"MD007": { "indent": 4 },
7+
"MD012": false,
8+
"MD013": false,
9+
"MD022": false,
10+
"MD024": false,
11+
"MD025": false,
12+
"MD026": false,
13+
"MD029": { "style": "one_or_ordered" },
14+
"MD030": { "ul_single": 1, "ol_single": 1, "ul_multi": 1, "ol_multi": 1 },
15+
"MD033": false,
16+
"MD034": false,
17+
"MD035": { "style": "---" },
18+
"MD036": false,
19+
"MD040": false,
20+
"MD041": false,
21+
"MD046": false,
22+
"MD049": false,
23+
"MD050": false
24+
}

CONTRIBUTING.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## Contributing
2+
3+
[issue-url]: https://github.com/control-toolbox/OptimalControlProblems.jl/issues
4+
[first-good-issue-url]: https://github.com/control-toolbox/OptimalControlProblems.jl/contribute
5+
6+
If you think you found a bug or if you have a feature request / suggestion, feel free to open an [issue][issue-url].
7+
Before opening a pull request, please start an issue or a discussion on the topic.
8+
9+
Contributions are welcomed, check out [how to contribute to a Github project](https://docs.github.com/en/get-started/exploring-projects-on-github/contributing-to-a-project). If it is your first contribution, you can also check [this first contribution tutorial](https://github.com/firstcontributions/first-contributions). You can find first good issues (if any 🙂) [here][first-good-issue-url]. You may find other packages to contribute to at the [control-toolbox organization](https://github.com/control-toolbox).
10+
11+
If you want to ask a question, feel free to start a discussion [here](https://github.com/orgs/control-toolbox/discussions). This forum is for general discussion about this repository and the [control-toolbox organization](https://github.com/control-toolbox).
12+
13+
>[!NOTE]
14+
> If you want to add an application or a package to the control-toolbox ecosystem, please follow this [set up tutorial](https://github.com/orgs/control-toolbox/discussions/65).

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OptimalControlProblems"
22
uuid = "59046045-fb9c-4c23-964f-ff0a25704f96"
33
authors = ["Olivier Cots <[email protected]>"]
4-
version = "0.2.2"
4+
version = "0.3.2"
55

66
[deps]
77
ADNLPModels = "54578032-b7ea-4c30-94aa-7cbd1cce6c9a"
@@ -24,7 +24,7 @@ OptimalControlModels = "OptimalControl"
2424
[compat]
2525
ADNLPModels = "0.8"
2626
CTBase = "0.16"
27-
CTDirect = "0.16"
27+
CTDirect = "0.17"
2828
CTModels = "0.6"
2929
DocStringExtensions = "0.9"
3030
ExaModels = "0.9"

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ The OptimalControlProblems.jl package is part of the [control-toolbox ecosystem]
1313
| **CI / Build** | [![Build Status](https://github.com/control-toolbox/OptimalControlProblems.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/control-toolbox/OptimalControlProblems.jl/actions/workflows/CI.yml?query=branch%3Amain) |
1414
| **Test Coverage** | [![Coverage](https://codecov.io/gh/control-toolbox/OptimalControlProblems.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/control-toolbox/OptimalControlProblems.jl) |
1515
| **Package Evaluation** | [![PkgEval](https://img.shields.io/badge/Julia-package-purple)](https://juliahub.com/ui/Packages/General/OptimalControlProblems) [![Dependencies](https://juliahub.com/docs/General/OptimalControlProblems/stable/deps.svg)](https://juliahub.com/ui/Packages/General/OptimalControlProblems?t=2) |
16-
| **Release / Version** | [![Release](https://juliahub.com/docs/General/OptimalControlProblems/stable/version.svg)](https://github.com/control-toolbox/OptimalControlProblems.jl/releases) |
17-
| **Citation** | [![DOI](https://zenodo.org/badge/848989278.svg)](https://zenodo.org/doi/10.5281/zenodo.17013180) |
16+
| **Release / Version** | [![Release](https://img.shields.io/github/v/release/control-toolbox/OptimalControlProblems.jl.svg)](https://github.com/control-toolbox/OptimalControlProblems.jl/releases) |
17+
| **Citation** | [![DOI](https://zenodo.org/badge/848989278.svg)](https://zenodo.org/doi/10.5281/zenodo.17013179) |
1818
| **License** | [![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/control-toolbox/OptimalControlProblems.jl/blob/master/LICENSE) |
1919
| **Code Style / Quality** | [![Code Style: Blue](https://img.shields.io/badge/code%20style-blue-4495d1.svg)](https://github.com/JuliaDiff/BlueStyle) [![Aqua.jl](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl) |
2020
| **Downloads** | [![Monthly](https://img.shields.io/badge/dynamic/json?url=http%3A%2F%2Fjuliapkgstats.com%2Fapi%2Fv1%2Fmonthly_downloads/OptimalControlProblems&query=total_requests&suffix=%2Fmonth&label=Monthly%20Downloads)](https://juliapkgstats.com/pkg/OptimalControlProblems) [![Total](https://img.shields.io/badge/dynamic/json?url=http%3A%2F%2Fjuliapkgstats.com%2Fapi%2Fv1%2Ftotal_downloads/OptimalControlProblems&query=total_requests&label=Total%20Downloads)](https://juliapkgstats.com/pkg/OptimalControlProblems) |
@@ -56,6 +56,9 @@ pkg> add OptimalControlProblems
5656
> [!TIP]
5757
> If you are new to Julia, please follow this [guidelines](https://github.com/orgs/control-toolbox/discussions/64).
5858
59+
>[!NOTE]
60+
>The package requires Julia version 1.10 or later.
61+
5962
## Citing us
6063

6164
If you use OptimalControlProblems.jl in your work, please cite us:

0 commit comments

Comments
 (0)