Skip to content

Test branch#3

Open
nicolaspoly wants to merge 3 commits intodpo-mth8408:mainfrom
nicolaspoly:test-branch
Open

Test branch#3
nicolaspoly wants to merge 3 commits intodpo-mth8408:mainfrom
nicolaspoly:test-branch

Conversation

@nicolaspoly
Copy link

rapport complété lab 1


```{julia}
# Insérez votre code ici
using ADNLPModels, NLPModelsIpopt
Copy link
Contributor

Choose a reason for hiding this comment

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

Il faut commencer par ajouter ces modules à votre environnement, comme dans le qmd vu en exemple au laboratoire. As-tu essayé de générer ton rapport localement ?

@github-actions
Copy link

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

else
println(" Certaines contraintes ne sont pas respectées.")
println("Valeurs des contraintes : ", cx)
end
Copy link
Contributor

Choose a reason for hiding this comment

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

ok, mais elles le sont dans les limites de l'arithmétique flottante.

<!-- Insérez vos commentaires ci-dessous. -->
Ipopt annonce avoir trouvé une solution optimale. La solution qu'il retourne est 6.1035e-5. On se rend compte dans le résultat que la valeur de la violation des contraintes n'est pas nul tandisque le gradient du lagrangien vaut 0.
Le résultat obtenu n'est pas la valeur exacte attendu, surement du à un arrondi dans le calcul numérique.
La solution touvée est très proche de la solution réelle mais ne l'atteint pas, de plus le solveur met 14 itérations (beaucoup plus que le problème précédent). No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

À quoi cela est-il dû, à ton avis ?

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

Comments