Conversation
- Add ctinterpolate_constant with right-continuous steppost behavior - Add interpolation parameter to interpolation helpers (:linear, :constant) - Apply constant interpolation to controls and control box duals in build_solution - Replace ctinterpolate with manual implementation for performance - Set default seriestype=:steppost for control plotting - Add comprehensive tests for constant interpolation - Update version to 0.9.8-beta Performance improvements: - Manual ctinterpolate is ~20x-8600x faster to create - Manual ctinterpolate_constant gives exact right-continuous behavior - No allocations for interpolation object creation - 10-21% faster for multiple evaluations All tests pass (92/92 total)
- Add comprehensive changelog entry for piecewise constant interpolation - Document new ctinterpolate_constant function and steppost behavior - Detail performance improvements (~20x-8600x faster creation) - Add API examples and migration notes - Update BREAKING.md to clarify no breaking changes - Fix markdown formatting issues
Contributor
…rol interpolation
- Add end-to-end tests verifying build_solution applies constant interpolation to controls
- Test scalar (1D) and vector (2D) control constant interpolation behavior
- Verify right-continuous steppost behavior: constant on [t_i, t_{i+1})
- Confirm NOT linear interpolation in integration tests
- Fix control data format in tests (reshape to matrix for proper interpolation)
- All 3456 tests pass including 75 interpolation tests
- Ready for production with complete test coverage
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.