Skip to content

Commit 4192d89

Browse files
Merge pull request #677 from SciML/Vaibhavdixit02-patch-4
Add mtkize to docs
2 parents 38731c8 + 3adb0cf commit 4192d89

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/src/optimization_packages/mathoptinterface.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@ Pkg.add("OptimizationMOI");
1313
```
1414

1515
## Details
16-
1716
As of now, the `Optimization` interface to `MathOptInterface` implements only
1817
the `maxtime` common keyword argument.
1918

19+
`OptimizationMOI` supports an argument `mtkize` which takes a boolean (default to `false`)
20+
that allows automatic symbolic expression generation, this allows using any AD backend with
21+
solvers or interfaces such as AmplNLWriter that require the expression graph of the objective
22+
and constraints. This always happens automatically in the case of the `AutoModelingToolkit`
23+
`adtype`.
24+
2025
An optimizer which supports the `MathOptInterface` API can be called
2126
directly if no optimizer options have to be defined.
2227

0 commit comments

Comments
 (0)