473,395 Members | 1,670 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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:

http://www.logilab.org/projects/cons.../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

Feb 28 '06 #1
1 2584
"Laszlo Zsolt Nagy" <ga*****@designaproduct.biz> wrote in message
news:ma***************************************@pyt hon.org...
I would like to use a numerical solver for a specific problem.


Another possibility:
http://nlpy.sourceforge.net/

Alan Isaac
Mar 2 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Anthony Calabria | last post by:
Is anyone aware of iterative numerical optimzaiton routines in Java and/or Python? I'm looking for a routine similar to the fmincon in Matlab, powell in IDL, solver in Excel. There appears to be...
7
by: Anthony Calabria | last post by:
Is anyone aware of iterative numerical optimzaiton routines in Java and/or Python? I'm looking for a routine similar to the fmincon in Matlab, powell in IDL, solver in Excel. There appears to be...
7
by: Holger Fitschen | last post by:
Hi to all, I want to use the Excel solver in a VB.Net project. The macro Sub Makro1Solver() Application.Run "Solver.xla!Auto_Open" SolverReset Worksheets(1).Select...
3
by: akristensen | last post by:
I am new to this site, so be patient if I do not ask the question correctly. Current Target Platform: Browser: MS IE, script language: Javascript (will use VBScript, but JS is preferred), External...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.