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

Allow to add box constraints by name #3

Open
brunomorampc opened this issue May 15, 2022 · 0 comments
Open

Allow to add box constraints by name #3

brunomorampc opened this issue May 15, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@brunomorampc
Copy link
Member

brunomorampc commented May 15, 2022

At the moment the user must provide all upper bounds and lower bounds of all variables, only if just one variable is constrained.
Allow to specify the bounds of specific variables by name. Something like

mpc.set_box_constraints(names=['vx', 'vy'], ub = [10, 7] , lb = [-10, -7])

Side notes

This would decrease the computational burthen of approaches e.g. SMPC

@brunomorampc brunomorampc self-assigned this May 15, 2022
@brunomorampc brunomorampc added enhancement New feature or request good first issue Good for newcomers labels May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant