ceil and inv_pos()

44 views
Skip to first unread message

alireza tirekar

unread,
Sep 22, 2021, 6:30:47 PM9/22/21
to cvxpy
Hello,
I tried to model my constraint in CVXPY but I've been getting DCP rules error all the time can you please help me out?
for i in range (n):
  for j in range (n):      
    const3=(p*(a+1)*(s*(cp.inv_pos((x[i]+1)))<= (cp.ceil(a*(x[i]*cp.inv_pos(x[j]))))(s*(cp.inv_pos(x[j]+1)))))
      
Capture.PNG

Steven Diamond

unread,
Sep 23, 2021, 1:08:31 PM9/23/21
to cvxpy
This mailing list is deprecated. Please post on stackoverflow or in the cvxpy discord (https://discord.gg/YneW3UGk)
Reply all
Reply to author
Forward
0 new messages