|
Revision 170, 1.0 kB
(checked in by dmitrey, 2 years ago)
|
move some files
|
| Line | |
|---|
| 1 |
""" |
|---|
| 2 |
You can manage text output in OpenOpt via the following prob parameters: |
|---|
| 3 |
Prob field name default value |
|---|
| 4 |
iprint 10 |
|---|
| 5 |
iterObjFunTextFormat '%0.3e' |
|---|
| 6 |
finalObjFunTextFormat '%0.8g' |
|---|
| 7 |
|
|---|
| 8 |
iprint: do text output each iprint-th iteration |
|---|
| 9 |
You can use iprint = 0 for final output only or iprint < 0 to omit whole output |
|---|
| 10 |
In future warnings are intended to be shown if iprint >= -1. |
|---|
| 11 |
However, some solvers like ALGENCAN have their own text output system, that's hard to suppress, it requires using different approach like, for example, http://permalink.gmane.org/gmane.comp.python.scientific.user/15465 |
|---|
| 12 |
|
|---|
| 13 |
iterObjFunTextFormat: how iter output objFun values are represented |
|---|
| 14 |
for example, '%0.3e' yields lines like |
|---|
| 15 |
iter objFunVal |
|---|
| 16 |
0 1.947e+03 |
|---|
| 17 |
10 1.320e+03 |
|---|
| 18 |
... |
|---|
| 19 |
|
|---|
| 20 |
finalObjFunTextFormat: how final output objFun value is represented |
|---|
| 21 |
for example finalObjFunTextFormat='%0.1f' yields |
|---|
| 22 |
... |
|---|
| 23 |
objFunValue: 7.9 |
|---|
| 24 |
|
|---|
| 25 |
See Python language documentation for text format specification. |
|---|
| 26 |
""" |
|---|