-
-
Notifications
You must be signed in to change notification settings - Fork 2
Layers #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
AlCap23
wants to merge
79
commits into
main
Choose a base branch
from
CJM-Layers
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Layers #43
Changes from 54 commits
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
d1023d1
ControlParameter Rework
AlCap23 3ef70b2
Remake works;
AlCap23 29b4e7d
Rename test file;
AlCap23 450f544
Add tests for initial condition; fixed typos
AlCap23 e8f09f5
Works for symbols typestable
AlCap23 4d7fd8a
Indexing and type stable
AlCap23 690a75f
Rework MTK approach
AlCap23 55972fd
Switch to tspans
AlCap23 45359dc
Update plots
AlCap23 7c589cb
Format
AlCap23 1c0c897
Update docstrings
AlCap23 8752038
Minor fixes for plotting and trajectory
AlCap23 223dd2b
Rework controls and introduce fixed controls
AlCap23 507bc82
Fix Zygote
AlCap23 8e2bfb9
Add parallel and multiple shooting
AlCap23 a882ba9
Reiterating tests I
AlCap23 4eb811b
Fix control tests
AlCap23 b908b2e
Initializer tests
AlCap23 4fb9a45
Add LQR testcases
AlCap23 d6dcf88
Fix typo
AlCap23 86e8f16
Add more tests
AlCap23 4908fc2
Adapt lotka optimal control
AlCap23 babb0d4
Fix test errors
AlCap23 f1848cb
Update methods for dynprob
AlCap23 be46e87
Start working on exprs
AlCap23 120bbf6
Timegrid handling
AlCap23 db0c587
Add expression based API for evaluation of objective and constraints
AlCap23 b83ad88
Adapted observed
AlCap23 b4302f8
Switch to Runtimegenerated
AlCap23 e744fcf
Rework AI slop
AlCap23 6938735
Simplify ObservedLayer
AlCap23 213d2b3
Fix remake and update timegrids
AlCap23 b61e74d
Update tests for observed layer
AlCap23 20a8ca0
Format
AlCap23 1575561
Update Dynprob and extension
AlCap23 5b854ed
Update dynprob
AlCap23 a210e46
Fix bounds
AlCap23 a7ad6b0
Fix bounds of FixedControl
AlCap23 661508b
Update tests and remove prints
AlCap23 6f538c4
Update tests and format
AlCap23 2377639
Rmv observed
AlCap23 a8a1461
Update docstrings
AlCap23 c3fa160
Format
AlCap23 5275620
Remove MTK Extensions for now
AlCap23 e1ccaae
Fix tests
AlCap23 0bdae97
Update minor fixes
AlCap23 9d7a74d
Rmv legacy comments
AlCap23 8835fa8
Minor fix
AlCap23 35bd1df
Fix typos and format
AlCap23 b24a35b
Fix wrong index of lcons and ucons
AlCap23 4eabfcc
Potential fix for pull request finding
AlCap23 3fbc8a0
Fix Copilot code
AlCap23 b1dfa37
Adapt parameter handling
AlCap23 914f5db
Update MS and tests
AlCap23 899109f
Adapt to parameter observed interface.
AlCap23 9dd0218
Remove old MTK API
AlCap23 498f449
Remove old code
AlCap23 1d6b002
Add prompts for agentic development
AlCap23 722dc70
Initialize MTK extension
AlCap23 e4c1b3e
Start drafting test
AlCap23 692d9af
Fix MTK symbolic indexing in Trajectory
AlCap23 6b0ab85
Add test for MTK symbolic indexing
AlCap23 e3cba93
Fix MTK symbolic indexing with _maybesymbolifyme normalization
AlCap23 9400fd0
Fix CorleoneMakieExtension for MTK symbolic variables
AlCap23 de22499
Add MTK tests to runtests.jl
AlCap23 1ed2054
Format
AlCap23 4a94693
Add comprehensive MTK optimal control tests
AlCap23 f6b0183
Format
AlCap23 9347e5c
Clean up test files and Project.toml
AlCap23 76f1840
Improve MTK test coverage to match lotka_oc.jl structure
AlCap23 1362c4d
Add IPOPT optimization tests for MTK interface
AlCap23 4d85869
Add MTK symbolic DynamicOptimizationLayer interface with Integral sup…
AlCap23 202327a
test: Add MTK symbolic DynamicOptimizationLayer tests with Integral s…
AlCap23 ce98898
test: Update MTK test
AlCap23 30ac3ca
Fix MTK tests: Remove tunable params, use test_broken for IPOPT tests
AlCap23 94d71d7
Fix constants and paramters
AlCap23 b24d0ee
Fix project toml and finalize tests
AlCap23 e3ff54c
Format
AlCap23 8857dda
Merge pull request #46 from SciML/CJM-MTK
AlCap23 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,34 @@ | ||
| # API Reference | ||
|
|
||
| ```@autodocs | ||
| Modules = [Corleone] | ||
| Order = [:type, :function] | ||
| ## Types | ||
|
|
||
| ```@docs | ||
| Corleone.ControlParameter | ||
| Corleone.ControlParameters | ||
| Corleone.ControlSignal | ||
| Corleone.InitialCondition | ||
| Corleone.SingleShootingLayer | ||
| Corleone.Trajectory | ||
| ``` | ||
|
|
||
| ## Functions | ||
|
|
||
| ```@docs | ||
| Corleone.default_controls | ||
| Corleone.find_idx | ||
| Corleone.get_block_structure | ||
| Corleone.get_bounds | ||
| Corleone.get_lower_bound | ||
| Corleone.get_new_system | ||
| Corleone.get_timegrid | ||
| Corleone.get_tspan | ||
| Corleone.get_upper_bound | ||
| Corleone.is_shooted | ||
| Corleone.is_shooting_solution | ||
| Corleone.mythreadmap | ||
| Corleone.remake_system | ||
| Corleone.shooting_violations | ||
| Corleone.to_val | ||
| Corleone.ttype | ||
| Corleone.utype | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.