I want to write a constraint that goes variable[i] is equal to 0 or parameter[i] does anyone know how to do that?
I'm using AMPL
I want to write a constraint that goes variable[i] is equal to 0 or parameter[i] does anyone know how to do that?
I'm using AMPL
Something like this should do it: