python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How terminate the optimization in scipy?
I have written a code that has a higher number of initial guess values so it takes a long time to finish the optimization. though after some hours it will nearly converge so I want to stop the optimiz...
sadra
Votes: 0
Answers: 1
scipy.optimize.minimize_scalar() adding constraint to helper function result inside objective function?
I have a function func_x() that I am trying to minimize using scipy.optimize.minimize_scalar().
func_x() also calls another function func_y() whose result func_x() uses in part to calculate the final ...
hamhung
Votes: 0
Answers: 1
Regression with a multi-variable function
I have this code to fit a function with only one variable (x):
from scipy.optimize import curve_fit
def func(x, s, k, L,A):
return A + (L * (1/(1+((x/k)**(-s)))))
init_vals = [0.4,4, 100,50]
# f...
Cristian
Votes: 0
Answers: 1
optimization problem scipy.optimize.minimize
I'm having a hard time to optimize my system... I'm working on an antisolvent continuous crystallization in a tubular system and my goal is to find antisolvent flow rates at each antisolvent injection...
Jaka Orehek
Votes: 0
Answers: 0