Skip to content

TP3_newton_Amami - #7

Open
Mimimmi15 wants to merge 2 commits into
dpo-mth8408:mainfrom
Mimimmi15:TP3_Newton_Amami
Open

Mimimmi15 wants to merge 2 commits into
dpo-mth8408:mainfrom
Mimimmi15:TP3_Newton_Amami

Conversation

@Mimimmi15

Copy link
Copy Markdown

No description provided.

@github-actions

Copy link
Copy Markdown

Status:
Success--Here-is-the-PDF

Comment thread labo3_env/Manifest.toml
@@ -0,0 +1,726 @@
# This file is machine-generated - editing it directly is not advised

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ne pas me remettre ces fichiers.

Comment thread rapport.qmd
# On utilise Armijo
t = 1.0
slope = dot(d, g)
while obj(model, x + t*d) > f + 1e-4 * t * slope

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Armijo -> dans une fonction

Comment thread rapport.qmd
# On définit η pour encourager la convergence superlinéaire
η = min(0.5, sqrt(norm(g)))
# On résout le système avec CG
d, stats = Krylov.cg(H, -g, rtol=η, itmax=n, linesearch=true)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants