Site Meter

    Home    About    Documentation    Install    Newsline    Links    Feedback    Appeal    Guestbook

free html hit
counter
since 2007/10/24

OpenOpt unified syntax

One of OpenOpt key features is unified interface for all solvers.

from scikits.openopt import NLP
p = NLP(lambda x: (x-1)**2, 4)
r = p.solve('ralg')

In this example, the objective function is (x-1)**2, the start point is x0=4, and 'ralg' specifies the name of solver involved.
See much more detailed example here

See also

OpenOpt output structure fields >>>