[SciPy-User] optimization w/ constraints

Andreas lists@hilboll...
Mon Jun 28 12:54:54 CDT 2010

hi there,

i need to minimize a function in 19 variables x_1, ... x_19, with

x_i * a = x_{i+8} i=4,...,11

so actually, it's a 12 variable problem, but some of the variables get
multiplied with each other ...

how would i do that using scipy? i noticed the scipy.optimize.slsqp,
where i can specify the f_eqcons parameter. just wanted to make sure i'm
actually on the right path ...

thanks for you insight!



More information about the SciPy-User mailing list