Changeset 1160

Show
Ignore:
Timestamp:
07/25/08 06:00:51 (4 months ago)
Author:
dmitrey.kroshko
Message:

update in /examples

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openopt/scikits/openopt/examples/checkDerivatives.py

    r1118 r1160  
    5757 
    5858OpenOpt checks user-supplied gradient df (shape: (30,) ) 
    59 according to prob.diffInt = [9.9999999999999995e-08] 
    60 lines with 1 - info_user/info_numerical greater than maxViolation = 0.01 will be shown 
     59according to: 
     60    prob.diffInt = [  1.00000000e-07] 
     61    |1 - info_user/info_numerical| <= prob.maxViolation = 0.01 
    6162df num         user-supplied     numerical               RD 
    6263    0             +7.000e+00     -8.000e+00              3 
     
    6667======================== 
    6768OpenOpt checks user-supplied gradient dc (shape: (2, 30) ) 
    68 according to prob.diffInt = [9.9999999999999995e-08] 
    69 lines with 1 - info_user/info_numerical greater than maxViolation = 0.01 will be shown 
     69according to: 
     70    prob.diffInt = [  1.00000000e-07] 
     71    |1 - info_user/info_numerical| <= prob.maxViolation = 0.01 
    7072dc num   i,j:dc[i]/dx[j]   user-supplied     numerical               RD 
    7173    32             1 / 2         +1.417e+01     -8.323e-01              4 
     
    7476======================== 
    7577OpenOpt checks user-supplied gradient dh (shape: (2, 30) ) 
    76 according to prob.diffInt = [9.9999999999999995e-08] 
    77 lines with 1 - info_user/info_numerical greater than maxViolation = 0.01 will be shown 
     78according to: 
     79    prob.diffInt = [  1.00000000e-07] 
     80    |1 - info_user/info_numerical| <= prob.maxViolation = 0.01 
    7881dh num   i,j:dh[i]/dx[j]   user-supplied     numerical               RD 
    7982    58            1 / 28         -4.474e+01     -5.974e+01              2 
     
    8184(is registered in dh number 58) 
    8285======================== 
     86 
    8387"""