Skip to content

Add documentation for reinit\! function #950

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

Merged
merged 8 commits into from
Jul 25, 2025

Conversation

ChrisRackauckas
Copy link
Member

Summary

This PR addresses issue #502 by adding comprehensive documentation for the reinit\! function in the API documentation.

Changes

  • Added a new section in docs/src/API/solve.md covering the reinit\! function
  • Included multiple usage examples showing how to update parameters and initial values
  • Documented all supported arguments for reinit\!
  • Added performance benefits explanation
  • Included notes on when to use reinit\! vs remake

Test plan

The documentation includes working examples that demonstrate:

  1. Basic usage with parameter updates
  2. Parameter sweep functionality
  3. Warm-starting from different initial values

The examples follow the existing documentation style and use the same Rosenbrock function example for consistency.

Closes #502

🤖 Generated with Claude Code

ChrisRackauckas and others added 4 commits July 23, 2025 07:38
Addresses issue #502 by adding comprehensive documentation for the reinit\! function, including:
- Basic usage example
- List of supported arguments
- Parameter sweep example
- Initial value update example
- Performance benefits explanation
- Notes on when to use reinit\! vs remake

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
This documentation explains how to efficiently reuse optimization problems using reinit\! and caching interfaces, following the patterns established in LinearSolve.jl and NonlinearSolve.jl.

Key features covered:
- Basic reinit\! usage with parameter updates
- Parameter sweeps and warm-starting techniques
- Advanced caching with iterator interface
- Performance benefits and best practices
- Complete examples for production workflows

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@ChrisRackauckas ChrisRackauckas merged commit 7413380 into master Jul 25, 2025
4 of 7 checks passed
@ChrisRackauckas ChrisRackauckas deleted the add-reinit-documentation branch July 25, 2025 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add description and usage example of reinit
1 participant