Conditional if else constraint in JuMP

maybe you can update julia?