Numerical solver

L

Laszlo Zsolt Nagy

Hello,

I would like to use a numerical solver for a specific problem. My
problem looks like this:

1. I have numeric constants, named A,B,C etc.
2. I have numeric variables, named x,y,z etc.
3. I have functions, like f1(x), f2(x), f3(x,y), f4(y) etc.
4. I have constraints like f1(x) < A f3(x,y) < B etc.

Fortunately, all of the variables can be limited to a closed finite
interval. (E.g. 0 <= x <= 100)
There is a specific function, called P(x,y,z) that needs to be optimized
(need to find its maximum/minimum).

I'm looking for a native Python solution: I would like to define the
functions and the constraints in Python.
I have looked at the cheeseshop and found LogiLab's constraint:

http://www.logilab.org/projects/constraint/documentation

It is almost perfect for me, but it is working with finite sets.
I'm not sure about SciPy or NumPy. Do you have an idea about what is the
package I need?
I'll gladly read any documentation or tutorial, just I do not know which
one is the best to start with.

Thanks,

Laszlo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,045
Latest member
DRCM

Latest Threads

Top