Comments (6)
The issue is that CVX sets MSK_DPAR_INTPNT_* termination tolerances to 0.0, which should be avoided, and that even the "default" precision sets some values that are not Mosek defaults.
A sensible solution would be that "default" precision keeps default Mosek tolerances, "low" divides them by C and "best" multiplies by C, for some C, if at all necessary.
from cvx.
How come other solvers handle this?
I think @mcg1969 explained the logic in that mode - Let the solver say when he think it is done.
Anyhow, even for tolerance of 0
I wouldn't expect MOSEK
to return NAN
.
from cvx.
Different solvers have different parameters and different interpretations.
If you want to "Let the solver say when he think it is done." then the way to do it in Mosek is not to change parameter settings from their default values.
Nan is understandable if the solver finds no solution.
from cvx.
This is exactly what doesn't make sense.
Let's say that for the default the solver executed 100 iterations and got to the accuracy required.
Then for lower tolerance I'd expect it will do the same exact 100 iterations and then few more, in order to achieve lower tolerances. But in any case I don't expect it to infer there is no solution or return NaN
. At worse case it should say couldn't reach the tolerance, this is the best effort solution.
from cvx.
It is more or less like you say if you use decreasing but positive tolerances. Tolerances equal to zero are simply meaningless from the point of view of Mosek termination criteria and result in unspecified behavior, which you experience. Sorry it is not handled better, like by a warning or error but that's how things are now.
from cvx.
Sorry that nobody ever responded to this; we don't look at this repo much. For the benefit of others who come here, please visit https://ask.cvxr.com/ for questions about DCP.
from cvx.
Related Issues (13)
- MATLAB R2016a Warning - `nargchk` Will Be Removed HOT 1
- Failing to Register Gurobi License on Windows System with Path Which Includes Spaces HOT 2
- DCP Compliant formation HOT 1
- Ill-formed configuration of .gitmodules, from open source point of view HOT 1
- Troubles to install CVX on Mac(Book Air M2): cvx_bcompress_mex.mexmaci64 cannot be run because... HOT 1
- Undefined function 'cvx' for input arguments of type 'struct'. HOT 1
- CVX blkdiag bug
- [Feature Request] Enable the GitHub Discussions Feature for the Repository HOT 1
- "Could not find a MOSEK MEX file" for release 2.2.2 HOT 2
- What is a good way to adjust both parameters of a convex optimization problem? HOT 1
- Sedumi Submodule init doesn't work HOT 1
- cvx on a multi user system HOT 1
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 cvx.