Hello , i am trying to use function fix
to fix a matrix variable
for example
@variable(model, P_dch[1:2,1:2]);
fix(P_dch, [0 0;0 0]);
but it doesn`t work, how can i do ?
thanks
Hello , i am trying to use function fix
to fix a matrix variable
for example
@variable(model, P_dch[1:2,1:2]);
fix(P_dch, [0 0;0 0]);
but it doesn`t work, how can i do ?
thanks
Use broadcasting: fix.(
thank you very much