Skip to content
Discussion options

You must be logged in to vote

Hi there, great question! By default, we hide the internal supports (and associated variables/constraints) generated by collocation methods. However, these can be recovered using the label = All keyword argument as explained here and here. So in this case, modify the last few lines to:

u_opt = value.(u, label = All)
u_ts = supports.(u, label = All)
value.(x1, label = All)
value.(x2, label = All)

Under the hood, we employ a sophisticated support point management system to ensure, user points, generated points, derivatives, and measures (e.g., integrals) work together seamlessly. This system assigns at least one label to each support value so we can keep track of where they came from and/or…

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@pulsipher
Comment options

@dynaTenCo
Comment options

@pulsipher
Comment options

@dynaTenCo
Comment options

@pulsipher
Comment options

Answer selected by dynaTenCo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants