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
  • 100,514
  • 17
  • 155
  • 179
SDE_Amazon
  • 111
  • 7

0 Answers0