Edit: Thanks for edit :-)
Can I ask please, how to maximize
$$\sum ({v_3 \text{sign}({xv_1+yv_2)}})\quad\text{where}$$
(edit: sum of i in 1..1000 ... 1 to length(v1) .. 3 vectors of same length
$$\sum_{i=1}^n ({v_3[i] \text{sign}({xv_1[i]+yv_2[i])}})\quad\text{where}$$
$v1,v2,v3,\cdots\space $-vector(s) are real numbers, generated around $0\space$ [x,y=...value(s)] to find
I even don't how to partially derivate it... that signum function
I need find vales $(x,y)$. (in future I will try to use $n$ number of vectors, but solution for $2$ is best start. For one vector it's easy but for $2$ vectors - high mathematician skill required)
thanks a lot if somebody know how to solve it
$\quad $ which looks like this: $\quad\sum_{i=1}^n\quad$ if that is what you intend.
– poetasis Jan 16 '21 at 20:50