Comments (4)
The reason is that the adaptive_rho
feature is configured by default to update rho
and refactor the linear system in the solver based on the relative time taken between the factor phase and the iteration phase of the solver. The factorisation code is deterministic, but the execution time can vary b/c it is competing for CPU resources with other things on the machine.
If you want completely repeatable behaviour, I would suggest configuring the solver the update rho instead after a fixed number of iterations (maybe try 50-100 to start).
from osqp-r.
Hi Paul,
Many thanks Paul for your quick and comprehensive answer!
It works fine on my side. But just to be sure, can you confirm that I only need to add in osqpSettings:
adaptive_rho_interval = 100
Kind regards,
Philippe Carpentier
from osqp-r.
I think that should work, yes. Reopen the issue if not though.
from osqp-r.
Once more, many thanks Paul,
Philippe Carpentier
from osqp-r.
Related Issues (18)
- Argument Inversion for Update-method HOT 1
- osqp package installation failed on CRAN HOT 3
- Inconsistency between version of python and R OSQP HOT 2
- osqpSettings Bug HOT 6
- Problem installing package on Mac Catalina/R 4.0.1 HOT 10
- the optimal value and solution don't seem right HOT 1
- Time_limit in osqpSettings HOT 5
- Creating `private$.work` using compiled code prevents the ability to parallelize `osqp` in R HOT 1
- R-package is going to be archived HOT 8
- Move R-specific interface code from main library to R interface repo HOT 2
- Infeasible problems cause R to crash HOT 4
- Dual infeasible problem when using Inf as upper limit HOT 1
- please upgrade to new osqp HOT 3
- Add functions to update matrices P and A HOT 1
- Using OSQP in C with R package as dependency HOT 3
- what is the format of problem using OSQP-R HOT 4
- why I get negative result for non-negative variables? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osqp-r.