Skip to content

Commit

Permalink
Template improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
henrystoldt committed Feb 27, 2021
1 parent d1b9e7a commit 31316e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SimDefinitionTemplate.mapleaf
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,13 @@ Optimization{
costFunction MAPLEAF.MyCustomCodeFile:MyCustomCostFunction

IndependentVariables{
# Define all the variables that the Optimizer is free to change (Must be scalar parameters in the Sim Definition file)
# Define all the variables that the Optimizer is free to change (Must be scalar parameters in this Sim Definition file)
# paramName Min Value < Path.To.Parameter < Max Value
bodyLength 0 < Rocket.SecondStage.BodyTube.length < 10

InitialParticlePositions{ # (Optional) - initial positions randomly generated if not present
InitialParticlePositions{
### ONLY FOR METHOD==PSO ###
# (Optional) - initial positions randomly generated if not present
# Specify <= Optimization.ParticleSwarm.nParticles initial particle positions
# Each subdictionary created here represents one particle
# If < nParticles initial positions are specified, the remaining ones will be randomly generated
Expand Down

0 comments on commit 31316e4

Please sign in to comment.