OptimisationSearchAdvancedSettings
The Advanced optimisation search settings.
Example
app = cf.GetApplication() project = app:NewProject() -- Add an 'OptimisationSearch' search = project.Optimisation.Searches:Add(cf.Enums.OptimisationMethodTypeEnum.AutoMethod) -- Set the maximum number of solver runs to 20 search.Advanced.NumberOfRuns = 20
Usage locations (object properties)
The following objects have properties using the OptimisationSearchAdvancedSettings object:
Property List
- NumberOfRuns
- Specify the the maximum number of solver runs. Changing this property will set NumberOfRunsEnabled to true. (Read/Write Expression)
- NumberOfRunsEnabled
- Enables maximum number of solver runs to be specified manually. (Read/Write boolean)
- RandomNumberGenerationOption
- Set the random number generation method. Only applies if the MethodType is set to ParticleSwarmOptimisation, GeneticAlgorithm or GlobalResponseSurfaceMethod. (Read/Write OptimisationRandomNumberGenerationOptionEnum)
- SeedValue
- Specify the seed value. Only applies if the RandomNumberGenerationOption is set to SpecifiedSeed. (Read/Write Expression)
Property Details
- NumberOfRuns
- Specify the the maximum number of solver runs. Changing this property will set NumberOfRunsEnabled to true.
- Type
- Expression
- Access
- Read/Write
- NumberOfRunsEnabled
- Enables maximum number of solver runs to be specified manually.
- Type
- boolean
- Access
- Read/Write
- RandomNumberGenerationOption
- Set the random number generation method. Only applies if the MethodType is set to ParticleSwarmOptimisation, GeneticAlgorithm or GlobalResponseSurfaceMethod.
- Type
- OptimisationRandomNumberGenerationOptionEnum
- Access
- Read/Write
- SeedValue
- Specify the seed value. Only applies if the RandomNumberGenerationOption is set to SpecifiedSeed.
- Type
- Expression
- Access
- Read/Write