René's URL Explorer Experiment


Title: Optimal control enhancements by murrayrm · Pull Request #712 · python-control/python-control · GitHub

Open Graph Title: Optimal control enhancements by murrayrm · Pull Request #712 · python-control/python-control

X Title: Optimal control enhancements by murrayrm · Pull Request #712 · python-control/python-control

Description: This PR includes enhancements to the optimal control module: Added config.defaults['optimal'] to allow default optimal control options (minimize_method, etc) to be set using set_defaults Improved keyword handling in solve_ocp and other optimal control functions, including checking for unrecognized keywords Allow t_eval keyword in input_output_response to allow a different set of time points to be used for the input vector and the computed output The final cost is now saved in optimal control result (#694) Fixed doc/optimal.rst example (generates working solution; #636) Updated optimal docstrings and user documentation, including adding optimization tips to doc/optimal.rst Fixed user documentation warnings/errors (not related to optimal) Additional unit tests: nonuniform sampling in simulations, not implemented test for continuous MPC All previous functionality still works.

Open Graph Description: This PR includes enhancements to the optimal control module: Added config.defaults['optimal'] to allow default optimal control options (minimize_method, etc) to be set using set_defaults I...

X Description: This PR includes enhancements to the optimal control module: Added config.defaults['optimal'] to allow default optimal control options (minimize_method, etc) to be set using set_de...

Opengraph URL: https://github.com/python-control/python-control/pull/712

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:eb90ed27-50bc-3973-5c9d-7a8c11639866
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE3BE:1C7A36:16F149D:1F5A270:697A986C
html-safe-nonceb12d9cdb4ccb092e56ae599b2d04522b925a479451a505aeac5e6f890faefe46
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0JFOjFDN0EzNjoxNkYxNDlEOjFGNUEyNzA6Njk3QTk4NkMiLCJ2aXNpdG9yX2lkIjoiMTI1OTk5NDM4Njk3NzY0OTcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac8b386fe985b08f82c47144046c17630977a95d5d74f9c2a7bf000c60c4d230ab
hovercard-subject-tagpull_request:886782179
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-control/python-control/pull/712/files
twitter:imagehttps://avatars.githubusercontent.com/u/293362?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/293362?s=400&v=4
og:image:altThis PR includes enhancements to the optimal control module: Added config.defaults['optimal'] to allow default optimal control options (minimize_method, etc) to be set using set_defaults I...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef73c0dfa17dfe2bc934284d1387c1cedefe723d2133ede564feefd2cbeb98e55
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-control/python-control git https://github.com/python-control/python-control.git
octolytics-dimension-user_id2285872
octolytics-dimension-user_loginpython-control
octolytics-dimension-repository_id22791752
octolytics-dimension-repository_nwopython-control/python-control
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id22791752
octolytics-dimension-repository_network_root_nwopython-control/python-control
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release58b9322bb0d01c6949be2239e39780fa702e604c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-control/python-control/pull/712/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-control%2Fpython-control%2Fpull%2F712%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-control%2Fpython-control%2Fpull%2F712%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-control%2Fpython-control
Reloadhttps://github.com/python-control/python-control/pull/712/files
Reloadhttps://github.com/python-control/python-control/pull/712/files
Reloadhttps://github.com/python-control/python-control/pull/712/files
python-control https://github.com/python-control
python-controlhttps://github.com/python-control/python-control
Notifications https://github.com/login?return_to=%2Fpython-control%2Fpython-control
Fork 447 https://github.com/login?return_to=%2Fpython-control%2Fpython-control
Star 2k https://github.com/login?return_to=%2Fpython-control%2Fpython-control
Code https://github.com/python-control/python-control
Issues 87 https://github.com/python-control/python-control/issues
Pull requests 8 https://github.com/python-control/python-control/pulls
Discussions https://github.com/python-control/python-control/discussions
Actions https://github.com/python-control/python-control/actions
Projects 0 https://github.com/python-control/python-control/projects
Wiki https://github.com/python-control/python-control/wiki
Security 0 https://github.com/python-control/python-control/security
Insights https://github.com/python-control/python-control/pulse
Code https://github.com/python-control/python-control
Issues https://github.com/python-control/python-control/issues
Pull requests https://github.com/python-control/python-control/pulls
Discussions https://github.com/python-control/python-control/discussions
Actions https://github.com/python-control/python-control/actions
Projects https://github.com/python-control/python-control/projects
Wiki https://github.com/python-control/python-control/wiki
Security https://github.com/python-control/python-control/security
Insights https://github.com/python-control/python-control/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-control%2Fpython-control%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-control%2Fpython-control%2Fissues%2Fnew%2Fchoose
murrayrmhttps://github.com/murrayrm
python-control:masterhttps://github.com/python-control/python-control/tree/master
murrayrm:optimal_18Mar2022https://github.com/murrayrm/python-control/tree/optimal_18Mar2022
Conversation 1 https://github.com/python-control/python-control/pull/712
Commits 4 https://github.com/python-control/python-control/pull/712/commits
Checks 0 https://github.com/python-control/python-control/pull/712/checks
Files changed https://github.com/python-control/python-control/pull/712/files
Please reload this pagehttps://github.com/python-control/python-control/pull/712/files
Optimal control enhancements https://github.com/python-control/python-control/pull/712/files#top
Show all changes 4 commits https://github.com/python-control/python-control/pull/712/files
79d1193 add not implemented test/fix for continuous MPC murrayrm Mar 19, 2022 https://github.com/python-control/python-control/pull/712/commits/79d11935799b5bfacb5abab3048dc6dd3b93faaa
19c1d58 optimal improvements: defaults, docs, t_eval, cost murrayrm Mar 20, 2022 https://github.com/python-control/python-control/pull/712/commits/19c1d582a95b019cdd137b898cf25a61f2efbe2b
b2e86b8 unit test for nonuniform sampling in simulations murrayrm Mar 20, 2022 https://github.com/python-control/python-control/pull/712/commits/b2e86b8f14b30a42d59f3cb8223da7d6ce86a807
f3d46bc rebase cleanup murrayrm Mar 23, 2022 https://github.com/python-control/python-control/pull/712/commits/f3d46bcc9c7be4d34357d227d592c2afdbe2caa0
Clear filters https://github.com/python-control/python-control/pull/712/files
Please reload this pagehttps://github.com/python-control/python-control/pull/712/files
Please reload this pagehttps://github.com/python-control/python-control/pull/712/files
config.py https://github.com/python-control/python-control/pull/712/files#diff-d1ad1d32d49067e21beadf8da713ffdea3d1673aedb13dbbf54028cb7e8e4cb5
iosys.py https://github.com/python-control/python-control/pull/712/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
optimal.py https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
statefbk.py https://github.com/python-control/python-control/pull/712/files#diff-dbb4a524ae36f7833fa7b5991007098ea0b11b1f8a5d30831c641f5e6d39e0cb
iosys_test.py https://github.com/python-control/python-control/pull/712/files#diff-2d9f6fd1b76261b8663bd7fa89565809a728c32edd8b0f6e095177f80b6e5100
optimal_test.py https://github.com/python-control/python-control/pull/712/files#diff-bca0c81c34fee75364f4e38c7cc0005a45ecd9fa9a40901c2b846f07945eb5d0
control.rst https://github.com/python-control/python-control/pull/712/files#diff-5a8429a2bfd64a7041b2ba651f0f4a0318299c85c8dd095c1150fe7c788ddcb4
examples.rst https://github.com/python-control/python-control/pull/712/files#diff-2a75ce1d5fcc083639c4620bb785827882f0224ccb145a58160a42d248bde9e2
optimal.rst https://github.com/python-control/python-control/pull/712/files#diff-7a587fcc2ce0d45f27f08ebd590bad2db607818b399c646d0e2455ce96d9096e
steering-optimal.png https://github.com/python-control/python-control/pull/712/files#diff-bbd943650d2701a97546b40a0db32d9e25214c42b79e03c02f69a29ad3c69cdc
steering-optimal.py https://github.com/python-control/python-control/pull/712/files#diff-1f9cbdf264429a015acdcaee6d76222c28ef0f2284907f1a7071c67f228a903d
steering-optimal.rst https://github.com/python-control/python-control/pull/712/files#diff-4d84262e80be14a1fcef17ac4aacb5a7a16d2bc078754f7808008ceba3c5afbb
control/config.pyhttps://github.com/python-control/python-control/pull/712/files#diff-d1ad1d32d49067e21beadf8da713ffdea3d1673aedb13dbbf54028cb7e8e4cb5
View file https://github.com/murrayrm/python-control/blob/f3d46bcc9c7be4d34357d227d592c2afdbe2caa0/control/config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/712/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/712/files#diff-d1ad1d32d49067e21beadf8da713ffdea3d1673aedb13dbbf54028cb7e8e4cb5
https://github.com/python-control/python-control/pull/712/files#diff-d1ad1d32d49067e21beadf8da713ffdea3d1673aedb13dbbf54028cb7e8e4cb5
control/iosys.pyhttps://github.com/python-control/python-control/pull/712/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
View file https://github.com/murrayrm/python-control/blob/f3d46bcc9c7be4d34357d227d592c2afdbe2caa0/control/iosys.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/712/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/712/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/712/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/712/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/712/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/712/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/712/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/712/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/712/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
control/optimal.pyhttps://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
View file https://github.com/murrayrm/python-control/blob/f3d46bcc9c7be4d34357d227d592c2afdbe2caa0/control/optimal.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/712/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/712/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
control/statefbk.pyhttps://github.com/python-control/python-control/pull/712/files#diff-dbb4a524ae36f7833fa7b5991007098ea0b11b1f8a5d30831c641f5e6d39e0cb
View file https://github.com/murrayrm/python-control/blob/f3d46bcc9c7be4d34357d227d592c2afdbe2caa0/control/statefbk.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/712/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/712/files#diff-dbb4a524ae36f7833fa7b5991007098ea0b11b1f8a5d30831c641f5e6d39e0cb
https://github.com/python-control/python-control/pull/712/files#diff-dbb4a524ae36f7833fa7b5991007098ea0b11b1f8a5d30831c641f5e6d39e0cb
Please reload this pagehttps://github.com/python-control/python-control/pull/712/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.