Skip to content

Commit

Permalink
fixing beale and making it only writes final to be consistent with devel
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy-INL committed Jul 29, 2024
1 parent b32986b commit c418b8c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 262 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<samplerInit>
<limit>5</limit>
<initialSeed>42</initialSeed>
<writeSteps>every</writeSteps>
<writeSteps>final</writeSteps>
<type>min, max</type>
</samplerInit>
<GAparams>
Expand All @@ -61,14 +61,12 @@
<crossover type="onePointCrossover">
<crossoverProb>0.8</crossoverProb>
</crossover>
<mutation type="swapMutator"> <!--swapMutator, scrambleMutator, bitFlipMutator, inversionMutator-->
<mutation type="swapMutator">
<mutationProb>0.8</mutationProb>
</mutation>
</reproduction>
<fitness type="feasibleFirst"> <!--'invLinear', 'feasibleFirst', 'hardConstraint' -->
<!-- <b>50, 50, 100, 100, 100, 150</b> -->
</fitness>
<survivorSelection>rankNcrowdingBased</survivorSelection> <!--NOTE: Number of objectives must be >= 2 if user wants to use rankNcrowdingBased.-->
<fitness type="feasibleFirst"></fitness>
<survivorSelection>rankNcrowdingBased</survivorSelection>
</GAparams>
<convergence>
<AHDp>0.0</AHDp>
Expand All @@ -82,7 +80,6 @@
<objective>obj1, obj2</objective>
<TargetEvaluation class="DataObjects" type="PointSet">optOut</TargetEvaluation>
<Sampler class="Samplers" type="MonteCarlo">MC_samp</Sampler>
<!-- <Constraint class='Functions' type='External'>expConstr3</Constraint> -->
</GeneticAlgorithm>
</Optimizers>

Expand All @@ -109,7 +106,7 @@
</PointSet>
<PointSet name="opt_export">
<Input>trajID</Input>
<Output>x,y,obj1,obj2,age,batchId,rank,CD,FitnessEvaluation_obj1,FitnessEvaluation_obj2,accepted </Output><!--ConstraintEvaluation_expConstr3, ConstraintEvaluation_impConstr3-->
<Output>x,y,obj1,obj2,age,batchId,rank,CD,FitnessEvaluation_obj1,FitnessEvaluation_obj2,accepted </Output>
</PointSet>
</DataObjects>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TestInfo>
<name>raven/tests/framework/Optimizers/GA.MultiObjZDT1</name>
<author>Mohammad Abdo</author>
<created>2023-02-21</created>
<created>2024-07-28</created>
<classesTested/>
<description>ZDT1 test using NSGA-II.
design variable $\vec{x} = [x1,x2,...x_n]; n here is equal to 3$
Expand Down
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit c418b8c

Please sign in to comment.