Comments (3)
I am guessing it's an issue with zero-dimension matrices. Sometimes [] has size (0,0) when it needs to be (0,1) or (1,0).
On Feb 17, 2014, at 5:33 PM, "Eric Chu" <[email protected]mailto:[email protected]> wrote:
Here's a simple CVX script that throws an error:
cvx_begin
variable x
cvx_solver ecos
minimize x
x >= 1
cvx_end
Here's the output:
Calling ECOS unknown: 1 variables, 1 equality constraints
Status: Error
Optimal value (cvx_optval): NaN
??? Error using ==> ecos
G and h do not match in dimension
I think I know what's going on, but if anyone else has some spare time and wants to look into this, they should feel to.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/36.
from ecos.
I no longer have access to Matlab. :)
@adomahidi, can you verify that we've fixed this issue already?
from ecos.
This is what I get:
Calling ECOS 2.0.0: 1 variables, 1 equality constraints
------------------------------------------------------------
------------------------------------------------------------
Status: Error
Optimal value (cvx_optval): NaN
Error using ecos
ECOS does not support equality constrained problems without inequalities yet.
I can't determine why ECOS is being called with an equality constrained problem (apart from the fact that it is obvious that the constraint must hold with equality) - @mcg1969, any ideas? Do you have a pre-solver in CVX to eliminate such "obvious" things?
from ecos.
Related Issues (20)
- add prebuilt wheel for python 3.8 and 3.9 HOT 1
- Error for zero valued constraints
- ECOS Fails on Quad Program from OSQP Benchmark (LASSO) HOT 1
- conda package 2.0.8 has broken version number (windows, python 3.8)
- Why is the result of this problem I solved through ecos very different from that of sedumi
- Is it ready for production?
- add a prebuilt wheel for ecos for python >= 3.7 HOT 1
- Cvxpy & ECOS don't work together on python 3.8
- 2.0.9 new release?
- Version 2.0.9: ModuleNotFoundError: No module named 'ecos.version' HOT 1
- exitFlag issue since 2.0.8 release (2.0.10 included) HOT 2
- Undefined variables are printed when PRINTLEVEL = 3
- Change ECOS license to Apache HOT 3
- Higher floating point precision than double HOT 6
- How to setup an SOCP with multiple conic constraints? HOT 1
- ecos 2.0.11 - pypi.org sdist setup.py missing README.md
- Reproducible non-deterministic crash on a sparse problem
- Generating code with Float32
- add topic tags
- incompatible with Mac M1
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 ecos.