I have an objective function that has a
if conditional in it. I am having trouble implementing it in Gurobi Python.
I want to maximize the utility using an objective function like-
U =1- erf(z), if z<=0
= erf(z) otherwise
where z is an integer variable
Need urgent help. Any advice would be appreciated
Please sign in to leave a comment.