Skip to Content.
Sympa Menu

opal - [Opal] Multi Objective Optimisation

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

[Opal] Multi Objective Optimisation


Chronological Thread  
  • From: "Can Davut" <can.davut AT manchester.ac.uk>
  • To: opal AT lists.psi.ch
  • Subject: [Opal] Multi Objective Optimisation
  • Date: Wed, 25 Oct 2023 15:33:17 +0200

Dear OPAL Users,

I would like to use the inbuilt multi-objective optimisation of OPAL but I
have encountered a couple of issues and kindly ask for your help.

- Although I define OPTION, REPARTFREQ = 14; to use 14 cores of my PC it
doesn't allow me to use more than 10 which is the default according to the
manual.

- .tmpl and .in files are working if only I use INITIALPOPULATION=1 but
optimisation doesn't end once it is >1. .tmpl commands are given below.

OPTION, ECHO=FALSE, INFO=TRUE, REPARTFREQ = 14;

TITLE, STRING="OPAL MOO Test for VHF Gun, 2023-10-19";

REAL loc = 1.0;

dv0: DVAR, VARIABLE="KS_I", LOWERBOUND=0.01, UPPERBOUND=0.1;

demitx: OBJECTIVE, EXPR="fabs(statVariableAt('emit_x', ${loc}))";

OPTIMIZE, INPUT="tmpl/MOO_deneme.tmpl", OBJECTIVES = {demitx},
DVARS = {dv0}, INITIALPOPULATION=2, MAXGENERATIONS=1,
NUM_IND_GEN=1, MUTATION_PROBABILITY=0.99,
NUM_MASTERS=1, NUM_COWORKERS=8, SIMTMPDIR="simtmpdir",
TEMPLATEDIR="tmpl", FIELDMAPDIR="fieldmaps", OUTPUT="optVHF",
OUTDIR="results";

QUIT;



Archive powered by MHonArc 2.6.24.

Top of Page