Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to use scipy.optimization.brute for multivariable function
Post: RE: How to use scipy.optimization.brute for multiv...

(Oct-25-2020, 11:12 PM)scidam Wrote: This is because brute use int32 dtype for X. Just append dots to grid definition, e.g. grid = ((10.0, 40.0, 1.0), (10.0, 40.0, 1.0)). However, there are still la...
Shiladitya General Coding Help 9 6,257 Oct-27-2020, 05:20 AM
    Thread: How to use scipy.optimization.brute for multivariable function
Post: RE: How to use scipy.optimization.brute for multiv...

(Oct-21-2020, 11:44 PM)scidam Wrote: It seems that f(x, y) returns too large values. Could you provide implementation of f(x, y) here? Actually, this is not an error, just a warning. Sorry for the l...
Shiladitya General Coding Help 9 6,257 Oct-25-2020, 07:12 PM
    Thread: How to use scipy.optimization.brute for multivariable function
Post: RE: How to use scipy.optimization.brute for multiv...

(Oct-20-2020, 10:27 AM)scidam Wrote: You are right. (1, ) is a value assigned to T (parameter). Note, that brute expects that the first argument of a function responsive for optimization domain. How...
Shiladitya General Coding Help 9 6,257 Oct-21-2020, 08:03 PM
    Thread: How to use scipy.optimization.brute for multivariable function
Post: RE: How to use scipy.optimization.brute for multiv...

(Oct-19-2020, 10:08 PM)scidam Wrote: You need to define ranges where brute will search for an optimum, e.g. grid = ((-1, 1, 0.1), (-1, 1, 0.1)) # Also, you can use slice objects for this: # grid =...
Shiladitya General Coding Help 9 6,257 Oct-20-2020, 09:46 AM
    Thread: How to use scipy.optimization.brute for multivariable function
Post: How to use scipy.optimization.brute for multivaria...

I want to find the global minima of a two-variables function, say V(x,y,T), where (x,y) are the independent variables and `T' is the parameter. My target is to find the global minimum/ minima (minima ...
Shiladitya General Coding Help 9 6,257 Oct-19-2020, 11:45 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020