We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7da3dcf commit acf5ac4Copy full SHA for acf5ac4
1 file changed
test/nls/simple-model.jl
@@ -202,10 +202,13 @@ function NLPModels.hess(
202
@lencheck 2 x
203
@lencheck 3 y
204
increment!(nls, :neval_hess)
205
- return Symmetric([
206
- obj_weight*(T(1) - 200 * x[2] + 600 * x[1]^2)+2*y[2]+2*y[3] T(0)
207
- -obj_weight*200*x[1] obj_weight*T(100)+2*y[1]+2*y[3]
208
- ], :L)
+ return Symmetric(
+ [
+ obj_weight*(T(1) - 200 * x[2] + 600 * x[1]^2)+2*y[2]+2*y[3] T(0)
+ -obj_weight*200*x[1] obj_weight*T(100)+2*y[1]+2*y[3]
209
+ ],
210
+ :L,
211
+ )
212
end
213
214
function NLPModels.hess_structure!(
0 commit comments