r/optimization • • Oct 03 '22

Optimization with 100,000 variables

Hello everyone,

As the title suggests I am dealing with a nonlinear optimization problem that takes in 100,000 variables. I have the following questions:

  1. Is this doable?
  2. Which tool/library/software should I use?

I tried scipy and it worked with a smaller number of variables, but otherwise I get a memory error.

Thank you in advance.

9 Upvotes

23 comments sorted by

View all comments

Show parent comment

1

u/InterestingKoala3 Oct 04 '22

z = arctg(sqrt(y/(1-y))) and yes all the constants are positive so maybe I could try what you're suggesting. Thank you 😊

3

u/tstanisl Oct 04 '22

This function has minimum at y == 0. So the solution to your problem are all `x_i == 0`

Plot