-
Notifications
You must be signed in to change notification settings - Fork 21
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
docstrings as per #348, backend=numpy, additional state variables #384
Conversation
---------- | ||
|
||
- Show the use of ``opty's variable node time interval`` feature to solve a | ||
relatively simple problem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean remove the double backwards strokes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
done
make html locally depends on the cached prior runs of make html. So it may not reflect a clean build. |
No, that's not how it works. When you run |
I did as you explained: deleted the directory opty/docs/examples and ran make clean. |
The thumbnail does not show on readthedocs, so it has to be figured out. |
But how can I try things, if it shows with |
You can try lots of things, but I don't know the answer to every single reason things don't work. I search the internet and try things until enough clues come together to figure out what is going on. All I know at the moment is that the thumbnail does not display correctly when doing a clean build on read the docs and that is the mechanism we publish the official documentation website. Why that is different on your local computer, I don't know. Mostly because I don't have 100% information about what happens on your computer. |
My problem is: how can I test the effect of a change I make? I cannot push every change for you to see what has happened! |
Yes, you have to learn to debug on your own :)
No, it is a cloud service we use and you can only look at the error logs it produces.
I don't know either, but I try until something works. |
So a simulation may work with
|
Yes. |
|
Looks line using the solution to skip solve(...) and backend='numpy' has seriously reduced running times. |
|
backend='numpy'
reduced running time on my PC from anout 13 sec to about 7 sec.fmt='%.2f'
may be too inaccurate. Here I neededfmt='%.12f'