4

I have this optimization problem and I wonder any function in any python library can solve it? Say I want to minimize f(x) by gradient descent. x is a vector of say 3 dimensions, x=(x1,x2,x3). The constraint is x1>0, x2>0, x3>0, and x1+x2+x3=1. Any function can solve this constrained gradient descent? Thank you.

Mazdak
  • 105,000
  • 18
  • 159
  • 188
SDE_Amazon
  • 121
  • 1
  • 8

0 Answers0