-
Notifications
You must be signed in to change notification settings - Fork 11
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
New design time freezing #106
Conversation
a74f7bc
to
405a576
Compare
ecd2c2e
to
0305317
Compare
In simulation problems, we have always one stage, and |
% -- Constraint for the terminal numerical and physical time (if no equidistant grids are required) -- | ||
% If the control grid is not equidistant, the constraint on sum of h happen only at the end. | ||
% The constraints are split to those which are related to numerical and physical time, to make it easier to read. | ||
if opts.time_freezing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the code here is identical to the one in Heaviside.. not sure does it make sense to extract it into a function (or at least copy all the explanation comments (cf. comment in Heaviside on explaining every branching)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps it may make sense to extract this though I am unsure. I think we can leave it as is for now and if having two copies is inconvenient we can extract then.
…alization for lifted bariables beta and theta
…_M, and better initialization for heaviside alpha
I added the three cart problem as a test of the multicontact implementation. It seems to work. |
Yep this is now checked in |
Thanks for addressing all my comments. We are almost ready to merge. I have a few final comments:
|
The bug that was causing infeasibility is fixed however size mismatch is expected as we do not include the rhs theta/alpha as a variable in the mpcc.
Initialization for
With heuristic step equilibration the solver finds a solution where each other h is zero. This breaks our plotting code.
Does not seem strange to me. the theta multipliers and beta seem to be correct. |
Resolves #71. Resolves #85.