Skip to content

Commit acb124a

Browse files
Merge pull request #3955 from bgctw/patch-1
Update FAQ.md: add link to Basic Example on Optimization
2 parents 688b559 + 6111c1d commit acb124a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/src/basics/FAQ.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ p, replace, alias = SciMLStructures.canonicalize(Tunable(), prob.p)
192192
# changes to the array will be reflected in parameter values
193193
```
194194

195+
See the [basic example on optimizing](https://docs.sciml.ai/ModelingToolkit/dev/examples/remake/#Optimizing-through-an-ODE-solve-and-re-creating-MTK-Problems) for combining these steps to optimizing parameters and use ForwardDiff.jl as the backend for Automatic Differentiation.
196+
195197
# ERROR: ArgumentError: SymbolicUtils.BasicSymbolic{Real}[xˍt(t)] are missing from the variable map.
196198

197199
This error can come up after running `mtkcompile` on a system that generates dummy derivatives (i.e. variables with `ˍt`). For example, here even though all the variables are defined with initial values, the `ODEProblem` generation will throw an error that defaults are missing from the variable map.

0 commit comments

Comments
 (0)