Skip to content

drone flight. Steps towards #204 and #348 #427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Peter230655
Copy link
Contributor

  • changed docstrings
  • added a solution
  • backend='numpy'

On my PC running time reduced to around 12 sec from around 32 sec

# Plot the objective function as a function of optimizer iteration.
_ = prob.plot_objective_value()

np.savetxt(fname, solution, fmt='%.12f')
Copy link
Member

Choose a reason for hiding this comment

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

This breaks the formatting of the rst text sections.

Copy link
Contributor Author

@Peter230655 Peter230655 May 31, 2025

Choose a reason for hiding this comment

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

Should probably be deleted. Strang, it worked with me otherwise I would not have pushed it...

@Peter230655
Copy link
Contributor Author

It built fine with me.

@moorepants
Copy link
Member

When you move the comments into these if statements or loops, you generally break the RST formatting. This is done on several examples you have edited. The text in the examples should (almost) always be rendered as HTML via RST text, not as Python comments.

@Peter230655
Copy link
Contributor Author

Thanks, I did not know this. Will remove these comments, not so necessary anyway.

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