Skip to content

Upgrade to OSQP 1.0 with S7 classes and full R package modernization#46

Merged
bnaras merged 2 commits into
masterfrom
v1.0.0
Feb 17, 2026
Merged

Upgrade to OSQP 1.0 with S7 classes and full R package modernization#46
bnaras merged 2 commits into
masterfrom
v1.0.0

Conversation

@bnaras

@bnaras bnaras commented Feb 17, 2026

Copy link
Copy Markdown
Collaborator
  • Upgrade OSQP C library from 0.6.3 to 1.0.0 (submodule at 236713ce)
  • Replace R6 with S7 classes; model methods via @ (e.g., model@Solve())
  • Add WarmStart() and ColdStart() methods for primal/dual warm starting
  • New OSQP 1.0 settings: rho_is_vec, check_dualgap, cg_max_iter, etc.
  • Rename settings: warm_start -> warm_starting, polish -> polishing (old names accepted with deprecation warnings)
  • Vendor QDLDL v0.1.8 for CRAN compatibility
  • Use Rprintf instead of printf via patched printing_R.h
  • Declare GNU make in SystemRequirements
  • Add cleanup script for build artifacts
  • Remove Makevars.win (Makevars handles all platforms)
  • User-facing messages via cli package
  • R CMD check passes with Status: OK

bnaras and others added 2 commits February 16, 2026 21:15
- Upgrade OSQP C library from 0.6.3 to 1.0.0 (submodule at 236713ce)
- Replace R6 with S7 classes; model methods via @ (e.g., model@Solve())
- Add WarmStart() and ColdStart() methods for primal/dual warm starting
- New OSQP 1.0 settings: rho_is_vec, check_dualgap, cg_max_iter, etc.
- Rename settings: warm_start -> warm_starting, polish -> polishing
  (old names accepted with deprecation warnings)
- Vendor QDLDL v0.1.8 for CRAN compatibility
- Use Rprintf instead of printf via patched printing_R.h
- Declare GNU make in SystemRequirements
- Add cleanup script for build artifacts
- Remove Makevars.win (Makevars handles all platforms)
- User-facing messages via cli package
- R CMD check passes with Status: OK

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
actions/checkout@v4 does not fetch submodules by default, so
src/osqp_sources was empty on CI causing configure to fail.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bnaras bnaras merged commit 0e3a046 into master Feb 17, 2026
7 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.

1 participant