Skip to content

Commit 16e52de

Browse files
authored
Merge pull request #517 from control-toolbox/ocots-patch-1
Update CI.yml
2 parents 012bf5a + 4e4b82f commit 16e52de

File tree

4 files changed

+5
-18
lines changed

4 files changed

+5
-18
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
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-
- windows-latest
19-
arch:
20-
- x64
2112
uses: control-toolbox/CTActions/.github/workflows/ci.yml@main
22-
with:
23-
version: ${{ matrix.version }}
24-
os: ${{ matrix.os }}
25-
arch: ${{ matrix.arch }}

test/archives/AD_backend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
The backend for ADNLPModels can be set in transcription / solve calls with the option `adnlp_backend=`. Possible values include the predefined(*) backends for ADNLPModels:
33
- `:optimized`* Default for CTDirect. Forward mode for Jacobian, reverse for Gradient and forward over reverse for Hessian.
44
- `:default`* Forward mode only. Significantly slower, but more rugged.
5-
- `:manual` Explicitely give to ADNLPModels the sparse pattern for Jacobian and Hessian. Uses the same forward / reverse settings as the `:optimized` predefined backend.
5+
- `:manual` Explicitly give to ADNLPModels the sparse pattern for Jacobian and Hessian. Uses the same forward / reverse settings as the `:optimized` predefined backend.
66
- `:enzyme`* Enzyme (currently not working).
77

88
## Tests:

test/archives/old/manual_test_all_constraints.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if plot_solution
3333
plot(sol)
3434
end
3535

36-
# state contraints
36+
# state constraints
3737
if plot_state_constraints
3838
ncx = sol.infos[:dim_state_constraints]
3939
if ncx > 0

test/problems/simple_integrator.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# simple intergator
2-
# min enery, dual control
2+
# min energy, dual control
33

44
function simple_integrator()
55
@def ocp begin

0 commit comments

Comments
 (0)