Free Python optimization framework

Monday, January 28, 2008

SAGE online Calc: very convenient

Today I have created account (available for free) for SAGE Notebook (online calculator) and found the one very convenient. Here's snapshot from Mozilla browser:

Some major changes to ralg

Some major changes to ralg have been made. Almost all tests works better now.
Also, since now ralg will take into account do you define problem as NLP or NSP (and hence behaviour and trajectory will be different).

Thursday, January 24, 2008

bugfix related to "ratAll undefined"

some days ago I forget to commit some changes to svn
if you had encountered "ratAll undefined" update svn (or try using updated openopt.tar.gz file)

Monday, January 21, 2008

some more changes to ralg

some more changes to enhance solution precision.

Some changes in ralg

Some changes have been committed to NLP/NSP solver ralg (first of all to improve solution precision). They are similar to Fortran ralg version, however, equality constraints handling of the latter is still better than Python one.

Sunday, January 20, 2008

Some changes in graphics

Since matplotlib has some problems with axhline+autoscaling, especially while using 2 subplots, I have made some changes.
So now examples/nlp_bench_1.py works w/o backward xlim modifications that have been occurred earlier.
Let me also remember you: using initial approximations for xlim, ylim can be very useful.

Friday, January 18, 2008

New OO class: MMP (mini-max problem)

New OO class has been created: MMP (mini-max problem).

Currently single OO solver available for MMP is nsmm ("non-somooth mini-max", unconstrained, can handle 1st derivatives, non-smooth, ill-conditioned and noisy funcs)
It defines function
F(x) = max_i {f[i](x)}
and solves NSP
F(x) -> min
using solver ralg.

It's very far from specialized solvers (like MATLAB fminimax), but it's better than having nothing at all.
This solver is intended to be enhanced in future (first of all - add constraints).
Here's example/mmp_1.py graphical output: