control-toolbox / control-toolbox/OptimalControl.jl

[Dev] Add parameters

Open
#655 2 comments 0 reactions 0 assignees View on GitHub
internal dev
Dominant language
Julia
Stars
135
Forks
11
Avg merge
6h 54m
Merged PRs (30d)
56

Description

FTR:
- for indirect matters, `variable` should be enough @gergaud
- for direct it is *a priori* not and there is a simple way to define parametric optimisation models, *e.g.*, in ExaModels.jl (check [this](https://exanauts.github.io/ExaModels.jl/stable/parameters) - no sensitivities, though)
- for direct, returning a function (of any parameter one wants) towards a model is easily done and may be not too harmful for performance; unless one wants more (sensitivities through suited AD)
- if necessary: extend the syntax by allowing

```julia
@def begin
p in R^r, parameter
...
end
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.