I have a GEKKO model to estimate parameters and I have a parameter defined as follows:
step = [0 if z<0 else 1 for z in m.time] m_param = m.Param(s