I would like to minimize a function with Sage.
More precisely I would like to minimize a function of the type $$ \sum_{i=1}^{n} a_i \log \frac{1}{x_i} $$ subjected to some linear constraints.
I define a program with all the constraints. And now I would like to set up the objective function and solve.
Since that is not a linear program I wonder how to do it in Sage. Is there a way?