-
Notifications
You must be signed in to change notification settings - Fork 47
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
[RTR] Try to refactor a bit the initialisation of Solution #787
Conversation
refactoring init of solution refactoring
Codecov ReportAttention:
📢 Thoughts on this report? Let us know!. |
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.
Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @Ipuch)
bioptim/optimization/solution.py
line 504 at r1 (raw file):
self._states["unscaled"], self._controls["unscaled"], [self.parameters for _ in range(self.ocp.n_phases)], # artificially duplicate to use it in every phase
I do not understand the necessity of that nor that I think that it is a good idea?
bioptim/optimization/solution.py
line 616 at r1 (raw file):
self._states["unscaled"], self._controls["unscaled"], [self.parameters for _ in range(self.ocp.n_phases)], # artificially duplicate to use it in every phase
I do not understand the necessity of that nor that I think that it is a good idea?
bioptim/optimization/solution.py
line 649 at r1 (raw file):
self._states["unscaled"], self._controls["unscaled"], [self.parameters for _ in range(self.ocp.n_phases)], # artificially duplicate to use it in every phase
I do not understand the necessity of that nor that I think that it is a good idea?
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.
Reviewable status: 0 of 1 files reviewed, 3 unresolved discussions (waiting on @pariterre)
bioptim/optimization/solution.py
line 504 at r1 (raw file):
Previously, pariterre (Pariterre) wrote…
I do not understand the necessity of that nor that I think that it is a good idea?
Done.
bioptim/optimization/solution.py
line 616 at r1 (raw file):
Previously, pariterre (Pariterre) wrote…
I do not understand the necessity of that nor that I think that it is a good idea?
Done.
bioptim/optimization/solution.py
line 649 at r1 (raw file):
Previously, pariterre (Pariterre) wrote…
I do not understand the necessity of that nor that I think that it is a good idea?
Done.
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.
Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @Ipuch)
The merge-base changed after approval.
This change is