Suppose that in CVXR I have a definition A <- Variable(3,3)
and would like to maximize the function "sum of the square roots of the non-diagonal elements". However, if I write something like
sum(sqrt(A))-sum(sqrt(diag(A))), the first function being concave, but the second one too, this does not comply with the DCP Ruleset and therefore rejected by the CVX engine. However, it is clear that the function is concave -- we have simply removed some of the elements in the sum,
there being no ways of saying "consider non-diagonal elements, please".
What can be done?
CVXR: addressing non-diagonal elements of a matrix of variables
238 Views Asked by Ilonpilaaja At
1
There are 1 best solutions below
Related Questions in CVX
- CVXPY DCPError: Problem does not follow DCP rules. Specifically: The objective is not DCP. Its following subexpressions are not
- Problem with multiplication of two variables in cvx in matlab
- Difficulty formulating optimisation problem according to DCP rules cvxpy
- CVXPY: Why Norm constraint is not DCP?
- Positive Semidefinite and Hermitian Matrix Variable in CVXR
- Sum of many CVXR problems very slow
- How can I write an expression towards this problem's constrain to satisfy the DCP rule of cvxpy?
- How do I translate my matlab code to python cvx?
- CVX MATLAB: Parameters for Efficiently Solving Series of Similar Problems?
- how to enforce positive constraints in cvx?
- Can I make MOSEK with CVX run to greater convergence?
- An error in CVXR occurring with large datasets
- Why in the content of cvx, subs() does not work?
- cvxpy - How to obtain the variable value after each iteration?
- How to find the lagrange multipliers of a problem in Gurobi + Matlab, is there any commands?
Related Questions in CVXR
- How to re-run from the same iteration in "for" loop after terminating it by checking some "if" condition inside that "for" loop in R- programming?
- CVXR function - transform to vecto
- Issues with convex optimization and covariance matrix
- how come I got negative weights despite the no-short sales constraint in the portfolio optimization problem?
- Positive Semidefinite and Hermitian Matrix Variable in CVXR
- Sum of many CVXR problems very slow
- How to find k solutions of an optimization with CVXR
- CVXR incorrectly claiming problem is infeasible?
- Solving a large constrained least squares regression with CVXR
- How to represent a sum of quadratic over linear functions in CVXR?
- Solving SDP problem with cvx - difference between MATLAB and R solution
- Relaxation of bilinear term in objective function - using CVXR and McCormick envelopes
- Multiply two variables in an objective function using cvxr
- Problems with DCP rules in CVXR
- In CVXR, how to use an external c++ function?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Have you tried writing the second term (
term2below) as a sum of the actual diagonals? For example,