Z S
 Total activity 5
 Last activity
 Member since
 Following 0 users
 Followed by 0 users
 Votes 0
 Subscriptions 2
Activity overview
Latest activity by Z S
Z S created a post,
How to linearize piecewise nonlinear function?
AnsweredI establish a bilevel optimization model, in the lowerlevel, the objective function is a piecewise nonlinear function, like y=(xc)^a, for x>=c. y=k(cx)^b, for x<c, a,b,c and k are constant. I ...

Z S commented,
when i write " model.addGenConstrIndicator(x_k_i[i], True, D_k_i[i] > a, x_k == 1, name=f"constraint_level2_{k}_{i}")" in gurobi, i get a feedback about "gurobipy.GurobiError: Additional sense arg...

Z S created a post,
How do i model nested conditional constraints in Gurobi?
OngoingIf D_k > a, then x_k=1, otherwise x_k=0. when x_k=1, if D_k(i) > a, then x_k(i) = 1, otherwise x_k(i) = 0. when x_k=1 and x_k(i) = 1, if D_k(ij) > a, then x_k(ij) = 1, otherwise x_k(ij) = 0. I want...