#1 Unable to create Contour Nomograms

closed
nobody
None
5
2009-09-15
2009-08-29
Anonymous
No

When attempting to create a Type 5 Nomogram, the application faults generating the following:
x_top=fmin(func_top,[1.0],disp=0,ftol=1e-5,xtol=1e-5)[0]
TypeError: 'disp' is an invalid keyword to fmin

This was from the Type 5 example script on the Pynomo site, running on the latest win32 binary.

Discussion

  • Nobody/Anonymous

    Tested fmin...
    scipy.optimize.fmin(abs,[1.0],disp=1)
    return "Optimization terminated successfully."

    wierd

    TC

     
  • L. Roschier

    L. Roschier - 2009-09-07

    Can you send me your script for testing?

    br,

    \leif

     
  • Nobody/Anonymous

    I didn't create a script. I entered the command directly into the command line after importing scipy. Would it create a different result running through a script?

    TC

     
  • Nobody/Anonymous

    WAHOOOO!!

    Fixed it. Modified nomo_grid_box.py (Lines 417 and 418). Called fmin explicitly (i.e., scipy.optimize.fmin(...)

    This program is great.

    TC

     
  • L. Roschier

    L. Roschier - 2009-09-15

    Great you managed to solve the problem. Maybe some other library has fmin function loaded after scipy.optimize import... Running script or command line should not make a difference. I changed the code in SVN. Thanks!

    br,

    \leif

     
  • L. Roschier

    L. Roschier - 2009-09-15
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks