Changeset 1160
- Timestamp:
- 07/25/08 06:00:51 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openopt/scikits/openopt/examples/checkDerivatives.py
r1118 r1160 57 57 58 58 OpenOpt 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 59 according to: 60 prob.diffInt = [ 1.00000000e-07] 61 |1 - info_user/info_numerical| <= prob.maxViolation = 0.01 61 62 df num user-supplied numerical RD 62 63 0 +7.000e+00 -8.000e+00 3 … … 66 67 ======================== 67 68 OpenOpt 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 69 according to: 70 prob.diffInt = [ 1.00000000e-07] 71 |1 - info_user/info_numerical| <= prob.maxViolation = 0.01 70 72 dc num i,j:dc[i]/dx[j] user-supplied numerical RD 71 73 32 1 / 2 +1.417e+01 -8.323e-01 4 … … 74 76 ======================== 75 77 OpenOpt 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 78 according to: 79 prob.diffInt = [ 1.00000000e-07] 80 |1 - info_user/info_numerical| <= prob.maxViolation = 0.01 78 81 dh num i,j:dh[i]/dx[j] user-supplied numerical RD 79 82 58 1 / 28 -4.474e+01 -5.974e+01 2 … … 81 84 (is registered in dh number 58) 82 85 ======================== 86 83 87 """
