Skip to content

add brachistochrone#207

Open
AmielMetier wants to merge 9 commits intomainfrom
206-dev-test-all-new-problems-with-gpu
Open

add brachistochrone#207
AmielMetier wants to merge 9 commits intomainfrom
206-dev-test-all-new-problems-with-gpu

Conversation

@AmielMetier
Copy link
Collaborator

No description provided.

@AmielMetier AmielMetier linked an issue Feb 28, 2026 that may be closed by this pull request
@github-actions github-actions bot requested a review from ocots February 28, 2026 21:21
@AmielMetier
Copy link
Collaborator Author

Sur votre terminal, allez sur la branche de la PR :
git checkout feature-bouton

Récupérez les fichiers (via la méthode git checkout vue plus haut) :
git checkout autre-branche -- chemin/du/fichier.js

Validez et envoyez :

git add .

git commit -m "Ajout des fichiers manquants"

git push origin feature-bouton

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 461afdf825

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

tf_guess = 2.0
init = (
state = t -> [
x0 + (t - t0) / (tf_guess - t0) * (xf - x0),

Choose a reason for hiding this comment

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

P2 Badge Guard initial guess against t0=tf_guess division by zero

The initial state guess divides by tf_guess - t0, so overriding parameters with t0 = 2.0 (which the API allows) makes this denominator zero and yields NaN/Inf in the initialization passed to direct_transcription. In that scenario the problem setup can fail before optimization starts; the same pattern appears in the _s variant too, so both backends are affected for this input.

Useful? React with 👍 / 👎.

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.

[Dev] test all new problems with gpu

4 participants