Conversation
…ialization support - Add control_interpolation field to ControlModelSolution type - Add control_interpolation accessor for Solution objects - Add control_interpolation keyword argument to build_solution signatures - Add __control_interpolation() default method in defaults.jl - Update serialization to persist control_interpolation field - Update plot to use dynamic seriestype based on interpolation type - Add comprehensive tests for both :constant and :linear interpolation - Add JSON/JLD2 serialization tests with backward compatibility - Ensure consistent default method usage across all components Features: - Piecewise constant interpolation (:constant) for direct methods - Piecewise linear interpolation (:linear) for indirect methods - Automatic plotting adaptation (steppost vs path) - Full round-trip serialization support - Backward compatibility for existing files Tests: 1751 tests passing with full coverage
- Add comprehensive changelog entry for flexible control interpolation - Document new API features and enhancements - Update breaking changes with non-breaking feature documentation - Include migration notes and examples - Maintain backward compatibility documentation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #288 +/- ##
==========================================
+ Coverage 89.01% 89.04% +0.03%
==========================================
Files 41 41
Lines 2157 2163 +6
==========================================
+ Hits 1920 1926 +6
Misses 237 237 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
No description provided.