Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9e61389

Browse files
Update 04_energy.ipynb
It seems that optimization method should be 'Powell', L-BFGS-B fails to find equlibrium configuration, when changing it to Powell, program gives a solution that is displaed in rendered mode
1 parent 8512869 commit 9e61389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎chapter09_numoptim/04_energy.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
"outputs": [],
244244
"source": [
245245
"P1 = opt.minimize(energy, P0.ravel(),\n",
246-
" method='L-BFGS-B',\n",
246+
" method='Powell',\n",
247247
" bounds=bounds).x.reshape((-1, 2))"
248248
]
249249
},

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /