-
Notifications
You must be signed in to change notification settings - Fork 4
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
#397 - constrained_dimensions #398
Conversation
Please see my comment here. We want to have a map from location to variables. Also, please use |
|
on the function's name: |
I would rather say |
👍 for outsourcing ...
for constraint in constraints_list(stateset(HS, mode))
append!(vars, findall(!iszero, constraint.a))
end
... to append!(vars, constrained_dims(stateset(HS, mode)) |
I start losing the overview 😟 |
if |
Why? We will not use it (we need this information per location). |
maybe, but i'm not sure: if this function is used to reason about the options to be passed to an algorithm (eg. to decide which blocks of variables are selected), one can call it over the given HybridSystem as a preprocessing step. |
We now support |
|
Private functions should also be tested. I do not see why the test would be artificial. You can very well predict and describe the outcome of this function. |
Bump? I think that it just remains to test this file with bouncing ball and thermostat. |
Closes #397.