Skip to content

Enhanced solver parameter control for performance tuning#37

Merged
wspringer merged 2 commits intomainfrom
enhanced-solver-parameters-25
Jun 7, 2025
Merged

Enhanced solver parameter control for performance tuning#37
wspringer merged 2 commits intomainfrom
enhanced-solver-parameters-25

Conversation

@wspringer
Copy link
Owner

Summary

  • Enhanced solver parameter control with 40+ new HiGHS options for fine-grained performance tuning
  • Added comprehensive support for solver control, tolerances, simplex options, MIP options, logging, and algorithm-specific parameters
  • Maintains full backward compatibility - existing code continues to work unchanged

Changes Made

  • Schema Enhancement: Extended OptionsSchema in src/schemas.ts with 40+ validated solver parameters
  • Documentation: Updated README with comprehensive options documentation and examples
  • Test Coverage: Added extensive test suite covering all new options and validation scenarios
  • Changeset: Created changeset for minor version bump (backward compatible enhancement)

Key Areas for Review

  • Option Validation: All parameters are validated against HiGHS revision fcfb5341462f8a7db5ef5038613413f97d6cac3d capabilities
  • Type Safety: Comprehensive Zod schemas with proper type constraints and ranges
  • Test Coverage: 44 tests passing, including validation of invalid option values
  • Backward Compatibility: Existing API unchanged, all new options are optional

Test Plan

  • All existing tests continue to pass
  • New comprehensive test suite for enhanced options
  • Validation tests for invalid parameter values
  • Integration tests with various solver algorithms
  • Linting and type checking passes

Fixes #25

🤖 Generated with Claude Code

@wspringer wspringer linked an issue Jun 7, 2025 that may be closed by this pull request
5 tasks
@wspringer wspringer merged commit d3debb5 into main Jun 7, 2025
5 checks passed
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.

Enhance solver parameter control for performance tuning

1 participant