Hi, I am trying to implement an optimization using fmincon,
I have as x a matrix 6×6, I have two questions for you:
– I want the x matrix to have just values [0,1], how can I obtain it? how can I initialize the x?
– I want to put as a constraint that the sum on each row has to be 1
Thank you in advance
I
Best Answer