Numerical solver

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Laszlo Zsolt Nagy

    #1

    Numerical solver


    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.

    Thanks,

    Laszlo

  • David Isaac

    #2
    Re: Numerical solver

    "Laszlo Zsolt Nagy" <gandalf@design aproduct.biz> wrote in message
    news:mailman.25 24.1141152075.2 7775.python-list@python.org ...[color=blue]
    > I would like to use a numerical solver for a specific problem.[/color]

    Another possibility:


    Alan Isaac


    Comment

    Working...