How to express this restriction in CVX: x>0. If i use x>0, matlab will give warning. Will these warnings affect the final result?
Hope for your solutions.
CVX subject to express this restriction in CVX: x>0
CVX, and the solvers it calls, will treat struct inequalities as non-strict inequalities.
If you really need a strict inequality, you need to include a buffer quantity, small_positive_number, such as 1e-4 or 1e-5 , and use x >= small_positive_number . If you make small_positive_number smaller than solver feasibility tolerance, you are not guaranteed that the returned solution will satisfy the strict inequality.