Dear,
I have an optimization problem in which there is a logical operation:
A = 1, if Q>0; A = 0, if Q=0.
where Q is a continuous variable great than or equal to 0. A is a binary variable.
Does any friend know how to expression this logical operation in Yalmip+cplex?
thx