Conversation
- Add automatic extension of time grids that differ by only the last element - This enables UnifiedTimeGridModel instead of MultipleTimeGridModel for memory optimization - Add _extend_grid_to_match() helper function in solution.jl - Integrate grid extension into build_solution() after validation - Update build_solution() docstring with Automatic Grid Extension section - Add test/suite/ocp/test_grid_extension.jl with 8 tests - Update CHANGELOG.md and BREAKING.md for version 0.9.14 - Bump version to 0.9.14 in Project.toml Extension condition: grid must be a strict prefix (missing exactly the last element) All grids (T_state, T_control, T_costate, T_path) are checked for extension Trajectory data matrices remain unchanged; interpolation handles extended grids via T[1:N] No breaking changes - fully backward compatible
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extension condition: grid must be a strict prefix (missing exactly the last element) All grids (T_state, T_control, T_costate, T_path) are checked for extension Trajectory data matrices remain unchanged; interpolation handles extended grids via T[1:N] No breaking changes - fully backward compatible