[SciPy-user] Questions about scipy.optimize.fmin_cobyla
Mon Jul 16 09:09:49 CDT 2007
> Can linear avoid the "math domain error" prolbem in cobyla ? In my
> function, there are items like log(xi*R*T/V) (R,T,V are positive
> variables too).
do you mean "lincher" instead of "linear"?
no, at least for now (but some solvers, usually commercial, can handle
NaN in objfun).
if R, T, V are constants I would replace
zi = log(xi*R*T/V) hence
xi = exp(xi)*V/(R*T)
More information about the SciPy-user