How to solve CVX variable cannot do ‘if’ operation
Perhaps you can implement a logic constraint using Big M.
Search for
logic constraint
How to solve CVX variable cannot do ‘if’ operation
Perhaps you can implement a logic constraint using Big M.
Search for
logic constraint