IBM Release 1.93 manual Limit, Store, Penalty Merit

Page 33

 

supplied, guess N+2 overwrites guess 1, and so on. You can supply

 

a pre-computed value for the penalty or merit function, by

 

including

 

merit=<expression> or

 

penalty=<expression>

 

in the GUESS statement. While this can save valuable time, it must

 

be used with care, because POEMS will trust the value you give it. If

 

the value is stale or otherwise incorrect, this will interfere with the

 

optimization. If the supplied value is unrealistically poor, the

 

optimizer will incorrectly tend to move away from it, good, whereas

 

if it is too good, the optimizer may get stuck in that vicinity, trying

 

to improve a value that is better than any available computed value.

 

Syntax: GUESS <var1> = <expression> <var2> =, <expression>....

 

[penalty = <expression>]

LIMIT

Expression that has to be true for a valid point. Often it’s better to

 

change the simulation parameters to build the limits in--e.g.

 

replacing width with abs(width) or using more complicated

 

functions of absolute values. LIMIT is better for more complicated

 

functions, e.g. forcing the corners of some structure to lie within an

 

arbitrary boundary. Not implemented in this release.

 

Syntax: LIMIT <Boolean expression>

 

Example: LIMIT length*width*height MaxVolume

STORE

Specify a file to store the simplex for each iteration, along with the

 

corresponding penalty function values. These are in the right

 

format to be cut and pasted back into the parameters file to restart

 

an interation without losing previous work.

 

Syntax: STORE <filename>

PENALTY

 

MERIT

Defines an expression on which the optimizer is to work. Merit

 

functions are maximized, and penalty functions are minimized.

 

Only one of the two can be specified. In order for the optimizer to

 

do anything useful, the optimization expression must depend on

 

each of the optimization variables. Note that any variable

 

assignment involving quantities computed by the postprocessor will

 

not be updated at postprocessing time. That means that the

 

dependence on this iteration’s results must be included explicitly in

 

<expression>. For example, if the iteration is minimizing the loss of

 

a coupler, you might specify MERIT 10*log10(efficiency), which

 

will work fine, but you can’t use SET dBloss=-

 

10*log10(efficiency) up in the GLOBAL section and then specify

 

PENALTY dBloss in the OPTIMIZE section--if you do, you’ll wind

 

up with stale data. This can sometimes be useful, but not usually.

29

Image 33
Contents IBM T. J. Watson Research Center Yorktown Heights, NY Page IBM T. J. Watson Research Center Yorktown Heights, NY HOW Poems Works Using PoemsMotivation Chapter IntroductionPhilosophy Optimization StructurePage Poems system organization Program Organization Front-End Script poems.cmdScript Operation Postprocessor Empost Fdtd Engine FIDO/TEMPESTCluster Control Visualization System VIS5DParallel Processing Command Reference Poems Command-Line OptionsGlobal Group Lambda FreqFunction HostsMacdef Which means that the host’s predefined hostname is not usedPrint MacroRandomseed SETSimulator Title World GroupVerbose BoundaryBasicstep Material GroupXrange Yrange DefineParameters epsReal epsImag muReal muImag Object Group BlockFAN Grating HollowboxTiledplane Curve 3DCURVECylinder Source Group Output Group Command GroupField Postprocess GroupCAD WebpageFarfield FluxIntegral Modematch ListMOVIE3D MovieSlice DissipationOptimize Group VariablesGuess Limit StorePenalty Merit Schedule Group ParametersRange Symmetry Computational DomainObjects Materials Perfectly-Matched LayersPlane Waves Page Beam Sources Merit Functions OptimizationPhase uniformity across a plane 10 Optimized V antenna refractive Worked Example Optimizing a V AntennaPage Worked Example Doped Silica Waveguide Mode Worked Example Glass Ridge Waveguide to Free Space CouplerPredefined Constants Confine Reserved NamesArithmetic Operators Predefined Mathematical FunctionsABS Logical OperatorsAcos AcoshCeil ATAN2COS Elintk20. LN IntegralMAX MINROOT1D RandomRound SignAnalytical Pupil Functions Material Parameter FunctionsFlattop Tempest and General Fdtd Information Startup and Steady StateTime step Page Appendix A. V-Antenna Optimization Run Poems Input DIPOLE2I.PAR END Material END Object END World Subdomain ALLEND Command END SourceEND Output END Optimize END Postprocess Amplex PhaseexPage Page Page END Tempest Input File DIPOLE2I.PAR.IN Written by Phil Hobbs Pages of pointsource statements omitted ALL Postprocessor orders DIPOLE2I.ORDERSDIPOLE2IEXI DIPOLE2IEXQDIPOLE2IEYQ DIPOLE2IEYIDIPOLE2IEZI DIPOLE2IEZQPOSTPROC.1.NAME MiddlefluxArray Amplex POSTPROC.1.PARMSTRINGArray DIPOLE2IPHASEEXPOSTPROC.2.PARMSTRING FF2POSTPROC.6.NAME DIPOLE2IPXArray Poyntingz DIPOLE2IPZPOSTPROC.10.PARMSTRING POSTPROC.9.PARMSTRINGPOSTPROC.11.NAME Slice IndexnPOSTPROC.13.COMPARISONDOMAIN Slice PoyntingzDIPOLE2IPZXY0.BMP POSTPROC.14.NAMEDIPOLE2IPXZX0.BMP POSTPROC.16.COMPARISONDOMAINPOSTPROC.17.NAME Slice AmplexDIPOLE2IPHASEEXZX0.BMP DIPOLE2IPHASEEXXY0.BMPPOSTPROC.20.COMPARISONDOMAIN DIPOLE2IDISSZX0.BMPDIPOLE2IEXQZX0.BMP POSTPROC.24.COMPARISONDOMAINRun Results DIPOLE2I.SIMPLEX Page Page Page Page Page Tempest patches Fdtd and TempestTempest limitations Advice common to all or most Fdtd programsSample X11 Configuration Window System ConfigurationRunning Vis5D Release NotesWish list Beta Release Limitations Page Page Index Emdenormal EmunderflowMatlab Maxordersources 81 Maxpointsources