Use set_name.
temp_pred_constraints = [
@constraint(m, dot(TM[i,:], u - u_cur_v) + T_cur[i] == T_pred[i])
for i = 1:128
]
for i = 1:128
set_name(temp_pred_constraints[i], "temp_pred_constraints[$(i)]")
end
Use set_name.
temp_pred_constraints = [
@constraint(m, dot(TM[i,:], u - u_cur_v) + T_cur[i] == T_pred[i])
for i = 1:128
]
for i = 1:128
set_name(temp_pred_constraints[i], "temp_pred_constraints[$(i)]")
end