Dear professor,
I have a problem and I don't know what to do next.
Here I define two variables:
onoff = binvar(1,size(DatenNeu,1),'full');
onoff = sdpvar(1,size(ZielVec,1),1,'full');
than I give constraints
Constraints = [];
for .....
...
than
objective = sum(abs(ZielVec-(Approxy/max(Approxy)))./ZielVec,1);
So this objective doesn't work. I will that objective totalize(sum) the ( ZielVec - (Approxy/the max. value of Approxy)) and this for every Point on Zielvec " ./ZielVec,1 "
But when I use "/max(Approxy)" it doesn't work.
I would be grateful to get your help.