Skip to content
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

Bound constraint possibly incorrect for higher order discretization #145

Open
APaganini opened this issue May 9, 2024 · 0 comments
Open

Comments

@APaganini
Copy link
Contributor

The code here:

const_bound = np.array([bound] * bound_len)

creates bound constraints on the coefficients of the control, but these do not correspond to bound constraints on the control itself if this is discretized with, e.g., quadratic finite elements. Setting mesh-independent control-constraints in such instances may be challenging. I suggest printing a warning error if the control is not a piecewise continuous or piecewise linear function.

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

No branches or pull requests

1 participant