Numerical solver

Discussion in 'Python' started by Laszlo Zsolt Nagy, Feb 28, 2006.

  1. 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:

    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.


    Laszlo Zsolt Nagy, Feb 28, 2006
    1. Advertisements

  2. Laszlo Zsolt Nagy

    David Isaac Guest

    Another possibility:

    Alan Isaac
    David Isaac, Mar 2, 2006
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.