File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -139,12 +139,12 @@ all constraints.
139
139
140
140
## Automatic differetiation
141
141
142
- Some algorithms in NLopt required derivatives, which you must manually provide
142
+ Some algorithms in NLopt require derivatives, which you must manually provide
143
143
in the ` if length(grad) > 0 ` branch of your objective and constraint functions.
144
144
145
- To stay simple and lightweighht , NLopt does not provide ways to automatically
145
+ To stay simple and lightweight , NLopt does not provide ways to automatically
146
146
compute derivatives. If you do not have analytic expressions for the derivatives,
147
- use package such as [ ForwardDiff.jl] ( https://github.com/JuliaDiff/ForwardDiff.jl )
147
+ use a package such as [ ForwardDiff.jl] ( https://github.com/JuliaDiff/ForwardDiff.jl )
148
148
to compute automatic derivatives.
149
149
150
150
Here is an example of how to wrap a function ` f(x::Vector) ` using ForwardDiff so
You can’t perform that action at this time.
0 commit comments