coliny_ea

pydantic model dakota.spec.method.coliny_ea.ColinyEaSelection

Generated model for ColinyEaSelection

Show JSON schema
{
   "title": "ColinyEaSelection",
   "description": "Generated model for ColinyEaSelection",
   "type": "object",
   "properties": {
      "coliny_ea": {
         "$ref": "#/$defs/ColinyEaConfig",
         "x-materialization": [
            {
               "ir_key": "method.algorithm",
               "ir_value_type": "unsigned short",
               "storage_type": "PRESENCE_ENUM",
               "stored_value": "COLINY_EA"
            }
         ]
      }
   },
   "$defs": {
      "Blend": {
         "additionalProperties": false,
         "description": "Random blend of parents",
         "properties": {
            "blend": {
               "const": true,
               "default": true,
               "description": "Random blend of parents",
               "title": "Blend",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.crossover_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "blend"
                  }
               ]
            }
         },
         "title": "Blend",
         "type": "object"
      },
      "Chc": {
         "additionalProperties": false,
         "description": "Create new population using replacement",
         "properties": {
            "chc": {
               "description": "Create new population using replacement",
               "title": "Chc",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.replacement_type",
                     "ir_value_type": "String",
                     "secondary_ir_key": "method.coliny.number_retained",
                     "secondary_ir_value_type": "int",
                     "storage_type": "TYPE_DATA_COMBINED",
                     "stored_value": "chc"
                  }
               ]
            }
         },
         "required": [
            "chc"
         ],
         "title": "Chc",
         "type": "object"
      },
      "ColinyEaConfig": {
         "additionalProperties": false,
         "description": "Evolutionary Algorithm",
         "properties": {
            "model_pointer": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Identifier for model block to be used by a method",
               "title": "Model Pointer",
               "x-block-pointer": "model",
               "x-materialization": [
                  {
                     "ir_key": "method.model_pointer",
                     "ir_value_type": "String",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "solution_target": {
               "default": -1.7976931348623157e+308,
               "description": "Stopping criteria based on objective function value",
               "title": "Solution Target",
               "type": "number",
               "x-aliases": [
                  "solution_accuracy"
               ],
               "x-materialization": [
                  {
                     "ir_key": "method.asynch_pattern_search.solution_target",
                     "ir_value_type": "Real",
                     "storage_type": "DIRECT_VALUE"
                  },
                  {
                     "ir_key": "method.solution_target",
                     "ir_value_type": "Real",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "seed": {
               "anyOf": [
                  {
                     "exclusiveMinimum": 0,
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Seed of the random number generator",
               "title": "Seed",
               "x-materialization": [
                  {
                     "ir_key": "method.random_seed",
                     "ir_value_type": "int",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "show_misc_options": {
               "anyOf": [
                  {
                     "const": true,
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Show algorithm parameters not exposed in Dakota input",
               "title": "Show Misc Options",
               "x-materialization": [
                  {
                     "ir_key": "method.coliny.show_misc_options",
                     "ir_value_type": "bool",
                     "storage_type": "PRESENCE_TRUE"
                  }
               ]
            },
            "misc_options": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Set method options not available through Dakota spec",
               "title": "Misc Options",
               "x-materialization": [
                  {
                     "ir_key": "method.coliny.misc_options",
                     "ir_value_type": "StringArray",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "max_iterations": {
               "default": 9223372036854775807,
               "description": "Number of iterations allowed for optimizers and adaptive UQ methods",
               "minimum": 0,
               "title": "Max Iterations",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.max_iterations",
                     "ir_value_type": "size_t",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "convergence_tolerance": {
               "default": -1.7976931348623157e+308,
               "description": "Stopping criterion based on objective function or statistics convergence",
               "title": "Convergence Tolerance",
               "type": "number",
               "x-materialization": [
                  {
                     "ir_key": "method.convergence_tolerance",
                     "ir_value_type": "Real",
                     "storage_type": "DIRECT_VALUE"
                  },
                  {
                     "ir_key": "method.jega.percent_change",
                     "ir_value_type": "Real",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "max_function_evaluations": {
               "default": 9223372036854775807,
               "description": "Number of function evaluations allowed for optimizers",
               "minimum": 0,
               "title": "Max Function Evaluations",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.max_function_evaluations",
                     "ir_value_type": "size_t",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "scaling": {
               "anyOf": [
                  {
                     "const": true,
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Turn on scaling for variables, responses, and constraints",
               "title": "Scaling",
               "x-materialization": [
                  {
                     "ir_key": "method.scaling",
                     "ir_value_type": "bool",
                     "storage_type": "PRESENCE_TRUE"
                  }
               ]
            },
            "id_method": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Name the method block; helpful when there are multiple",
               "title": "Id Method",
               "x-materialization": [
                  {
                     "ir_key": "method.id",
                     "ir_value_type": "String",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "output": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/Debug"
                  },
                  {
                     "$ref": "#/$defs/Verbose"
                  },
                  {
                     "$ref": "#/$defs/Normal"
                  },
                  {
                     "$ref": "#/$defs/Quiet"
                  },
                  {
                     "$ref": "#/$defs/Silent"
                  }
               ],
               "description": "Control how much method information is written to the screen and output file",
               "title": "Output",
               "x-model-default": "Normal",
               "x-union-pattern": 1
            },
            "final_solutions": {
               "default": 0,
               "description": "Number of designs returned as the best solutions",
               "minimum": 0,
               "title": "Final Solutions",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.final_solutions",
                     "ir_value_type": "size_t",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "population_size": {
               "default": 50,
               "description": "Set the population size",
               "exclusiveMinimum": 0,
               "title": "Population Size",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.population_size",
                     "ir_value_type": "int",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "initialization_type": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ColinyEaInitializationTypeSimpleRandom"
                  },
                  {
                     "$ref": "#/$defs/ColinyEaInitializationTypeUniqueRandom"
                  },
                  {
                     "$ref": "#/$defs/ColinyEaInitializationTypeFlatFile"
                  }
               ],
               "description": "Specify how to initialize the population",
               "title": "Initialization Type",
               "x-model-default": "ColinyEaInitializationTypeUniqueRandom",
               "x-union-pattern": 1
            },
            "fitness_type": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/LinearRank"
                  },
                  {
                     "$ref": "#/$defs/MeritFunction"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Select fitness type",
               "title": "Fitness Type",
               "x-union-pattern": 2
            },
            "replacement_type": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ReplacementTypeRandom"
                  },
                  {
                     "$ref": "#/$defs/Chc"
                  },
                  {
                     "$ref": "#/$defs/ColinyEaReplacementTypeElitist"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Select a replacement type for SCOLIB evolutionary algorithm ( ``coliny_ea``)",
               "title": "Replacement Type",
               "x-union-pattern": 2
            },
            "new_solutions_generated": {
               "default": -9999,
               "description": "Replace population with individuals chosen from population",
               "title": "New Solutions Generated",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.coliny.new_solutions_generated",
                     "ir_value_type": "int",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "crossover_rate": {
               "default": -1.0,
               "description": "Specify the probability of a crossover event",
               "title": "Crossover Rate",
               "type": "number",
               "x-materialization": [
                  {
                     "ir_key": "method.crossover_rate",
                     "ir_value_type": "Real",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "crossover_type": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/TwoPoint"
                  },
                  {
                     "$ref": "#/$defs/Blend"
                  },
                  {
                     "$ref": "#/$defs/CrossoverTypeUniform"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Select a crossover type",
               "title": "Crossover Type",
               "x-union-pattern": 2
            },
            "mutation_rate": {
               "default": 1.0,
               "description": "Set probability of a mutation",
               "title": "Mutation Rate",
               "type": "number",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_rate",
                     "ir_value_type": "Real",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "mutation_type": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ColinyEaMutationType"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Select a mutation type"
            },
            "non_adaptive": {
               "anyOf": [
                  {
                     "const": true,
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Disable self-adaptive mutation",
               "title": "Non Adaptive",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_adaptive",
                     "ir_value_type": "bool",
                     "storage_type": "PRESENCE_FALSE"
                  }
               ]
            },
            "constraint_penalty": {
               "default": -1.0,
               "description": "Multiplier for the penalty function",
               "title": "Constraint Penalty",
               "type": "number",
               "x-materialization": [
                  {
                     "ir_key": "method.constraint_penalty",
                     "ir_value_type": "Real",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            }
         },
         "title": "ColinyEaConfig",
         "type": "object"
      },
      "ColinyEaInitializationTypeFlatFile": {
         "additionalProperties": false,
         "description": "Read initial solutions from file",
         "properties": {
            "flat_file": {
               "description": "Read initial solutions from file",
               "title": "Flat File",
               "type": "string",
               "x-materialization": [
                  {
                     "ir_key": "method.initialization_type",
                     "ir_value_type": "String",
                     "secondary_ir_key": "method.flat_file",
                     "secondary_ir_value_type": "String",
                     "storage_type": "TYPE_DATA_COMBINED",
                     "stored_value": "flat_file"
                  }
               ]
            }
         },
         "required": [
            "flat_file"
         ],
         "title": "ColinyEaInitializationTypeFlatFile",
         "type": "object"
      },
      "ColinyEaInitializationTypeSimpleRandom": {
         "additionalProperties": false,
         "description": "Create random initial solutions",
         "properties": {
            "simple_random": {
               "const": true,
               "default": true,
               "description": "Create random initial solutions",
               "title": "Simple Random",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.initialization_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "random"
                  }
               ]
            }
         },
         "title": "ColinyEaInitializationTypeSimpleRandom",
         "type": "object"
      },
      "ColinyEaInitializationTypeUniqueRandom": {
         "additionalProperties": false,
         "description": "Create random initial solutions, but enforce uniqueness (default)",
         "properties": {
            "unique_random": {
               "const": true,
               "default": true,
               "description": "Create random initial solutions, but enforce uniqueness (default)",
               "title": "Unique Random",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.initialization_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "unique_random"
                  }
               ]
            }
         },
         "title": "ColinyEaInitializationTypeUniqueRandom",
         "type": "object"
      },
      "ColinyEaMutationType": {
         "additionalProperties": false,
         "description": "Select a mutation type",
         "properties": {
            "strategy": {
               "anchor": true,
               "anyOf": [
                  {
                     "$ref": "#/$defs/ColinyEaMutationTypeReplaceUniform"
                  },
                  {
                     "$ref": "#/$defs/ColinyEaMutationTypeOffsetNormal"
                  },
                  {
                     "$ref": "#/$defs/ColinyEaMutationTypeOffsetCauchy"
                  },
                  {
                     "$ref": "#/$defs/ColinyEaMutationTypeOffsetUniform"
                  }
               ],
               "description": "Mutation Type",
               "title": "Strategy",
               "x-union-pattern": 4
            }
         },
         "required": [
            "strategy"
         ],
         "title": "ColinyEaMutationType",
         "type": "object"
      },
      "ColinyEaMutationTypeOffsetCauchy": {
         "additionalProperties": false,
         "description": "Use a Cauchy distribution for the mutation offset",
         "properties": {
            "offset_cauchy": {
               "$ref": "#/$defs/ColinyMutationScaleRangeMixin",
               "description": "Use a Cauchy distribution for the mutation offset",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "offset_cauchy"
                  }
               ]
            }
         },
         "required": [
            "offset_cauchy"
         ],
         "title": "ColinyEaMutationTypeOffsetCauchy",
         "type": "object"
      },
      "ColinyEaMutationTypeOffsetNormal": {
         "additionalProperties": false,
         "description": "Set mutation offset to use a normal distribution",
         "properties": {
            "offset_normal": {
               "$ref": "#/$defs/ColinyMutationScaleRangeMixin",
               "description": "Set mutation offset to use a normal distribution",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "offset_normal"
                  }
               ]
            }
         },
         "required": [
            "offset_normal"
         ],
         "title": "ColinyEaMutationTypeOffsetNormal",
         "type": "object"
      },
      "ColinyEaMutationTypeOffsetUniform": {
         "additionalProperties": false,
         "description": "Set mutation offset to use a uniform distribution",
         "properties": {
            "offset_uniform": {
               "$ref": "#/$defs/ColinyMutationScaleRangeMixin",
               "description": "Set mutation offset to use a uniform distribution",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "offset_uniform"
                  }
               ]
            }
         },
         "required": [
            "offset_uniform"
         ],
         "title": "ColinyEaMutationTypeOffsetUniform",
         "type": "object"
      },
      "ColinyEaMutationTypeReplaceUniform": {
         "additionalProperties": false,
         "description": "Replace coordinate with randomly generated value",
         "properties": {
            "replace_uniform": {
               "const": true,
               "default": true,
               "description": "Replace coordinate with randomly generated value",
               "title": "Replace Uniform",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "replace_uniform"
                  }
               ]
            }
         },
         "title": "ColinyEaMutationTypeReplaceUniform",
         "type": "object"
      },
      "ColinyEaReplacementTypeElitist": {
         "additionalProperties": false,
         "description": "Use the best designs to form a new population",
         "properties": {
            "elitist": {
               "description": "Use the best designs to form a new population",
               "title": "Elitist",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.replacement_type",
                     "ir_value_type": "String",
                     "secondary_ir_key": "method.coliny.number_retained",
                     "secondary_ir_value_type": "int",
                     "storage_type": "TYPE_DATA_COMBINED",
                     "stored_value": "elitist"
                  }
               ]
            }
         },
         "required": [
            "elitist"
         ],
         "title": "ColinyEaReplacementTypeElitist",
         "type": "object"
      },
      "ColinyMutationScaleRangeMixin": {
         "additionalProperties": false,
         "description": "Generated model for ColinyMutationScaleRangeMixin",
         "properties": {
            "mutation_scale": {
               "default": 0.1,
               "description": "Scales mutation across range of parameter",
               "title": "Mutation Scale",
               "type": "number",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_scale",
                     "ir_value_type": "Real",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "mutation_range": {
               "default": -9999,
               "description": "Set uniform offset control for discrete parameters",
               "title": "Mutation Range",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.coliny.mutation_range",
                     "ir_value_type": "int",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            }
         },
         "title": "ColinyMutationScaleRangeMixin",
         "type": "object"
      },
      "CrossoverTypeUniform": {
         "additionalProperties": false,
         "description": "Randomly combine coordinates from parents",
         "properties": {
            "uniform": {
               "const": true,
               "default": true,
               "description": "Randomly combine coordinates from parents",
               "title": "Uniform",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.crossover_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "uniform"
                  }
               ]
            }
         },
         "title": "CrossoverTypeUniform",
         "type": "object"
      },
      "Debug": {
         "additionalProperties": false,
         "description": "Level 5 of 5 - maximum",
         "properties": {
            "debug": {
               "const": true,
               "default": true,
               "description": "Level 5 of 5 - maximum",
               "title": "Debug",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.output",
                     "ir_value_type": "short",
                     "storage_type": "PRESENCE_ENUM",
                     "stored_value": "DEBUG_OUTPUT"
                  }
               ]
            }
         },
         "title": "Debug",
         "type": "object"
      },
      "LinearRank": {
         "additionalProperties": false,
         "description": "Set selection scaling",
         "properties": {
            "linear_rank": {
               "const": true,
               "default": true,
               "description": "Set selection scaling",
               "title": "Linear Rank",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.fitness_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "linear_rank"
                  }
               ]
            }
         },
         "title": "LinearRank",
         "type": "object"
      },
      "MeritFunction": {
         "additionalProperties": false,
         "description": "Balance goals of reducing objective function and satisfying constraints",
         "properties": {
            "merit_function": {
               "const": true,
               "default": true,
               "description": "Balance goals of reducing objective function and satisfying constraints",
               "title": "Merit Function",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.fitness_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "proportional"
                  }
               ]
            }
         },
         "title": "MeritFunction",
         "type": "object"
      },
      "Normal": {
         "additionalProperties": false,
         "description": "Level 3 of 5 - default",
         "properties": {
            "normal": {
               "const": true,
               "default": true,
               "description": "Level 3 of 5 - default",
               "title": "Normal",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.output",
                     "ir_value_type": "short",
                     "storage_type": "PRESENCE_ENUM",
                     "stored_value": "NORMAL_OUTPUT"
                  }
               ]
            }
         },
         "title": "Normal",
         "type": "object"
      },
      "Quiet": {
         "additionalProperties": false,
         "description": "Level 2 of 5 - less than normal",
         "properties": {
            "quiet": {
               "const": true,
               "default": true,
               "description": "Level 2 of 5 - less than normal",
               "title": "Quiet",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.output",
                     "ir_value_type": "short",
                     "storage_type": "PRESENCE_ENUM",
                     "stored_value": "QUIET_OUTPUT"
                  }
               ]
            }
         },
         "title": "Quiet",
         "type": "object"
      },
      "ReplacementTypeRandom": {
         "additionalProperties": false,
         "description": "Create new population randomly",
         "properties": {
            "random": {
               "description": "Create new population randomly",
               "title": "Random",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.replacement_type",
                     "ir_value_type": "String",
                     "secondary_ir_key": "method.coliny.number_retained",
                     "secondary_ir_value_type": "int",
                     "storage_type": "TYPE_DATA_COMBINED",
                     "stored_value": "random"
                  }
               ]
            }
         },
         "required": [
            "random"
         ],
         "title": "ReplacementTypeRandom",
         "type": "object"
      },
      "Silent": {
         "additionalProperties": false,
         "description": "Level 1 of 5 - minimum",
         "properties": {
            "silent": {
               "const": true,
               "default": true,
               "description": "Level 1 of 5 - minimum",
               "title": "Silent",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.output",
                     "ir_value_type": "short",
                     "storage_type": "PRESENCE_ENUM",
                     "stored_value": "SILENT_OUTPUT"
                  }
               ]
            }
         },
         "title": "Silent",
         "type": "object"
      },
      "TwoPoint": {
         "additionalProperties": false,
         "description": "Combine middle of one parent with end of another",
         "properties": {
            "two_point": {
               "const": true,
               "default": true,
               "description": "Combine middle of one parent with end of another",
               "title": "Two Point",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.crossover_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "two_point"
                  }
               ]
            }
         },
         "title": "TwoPoint",
         "type": "object"
      },
      "Verbose": {
         "additionalProperties": false,
         "description": "Level 4 of 5 - more than normal",
         "properties": {
            "verbose": {
               "const": true,
               "default": true,
               "description": "Level 4 of 5 - more than normal",
               "title": "Verbose",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.output",
                     "ir_value_type": "short",
                     "storage_type": "PRESENCE_ENUM",
                     "stored_value": "VERBOSE_OUTPUT"
                  }
               ]
            }
         },
         "title": "Verbose",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "coliny_ea"
   ]
}

Fields:
field coliny_ea: ColinyEaConfig [Required]
classmethod get_registry() dict[str, type[MethodSelection]]

Get registry, performing deferred registration on first call

classmethod get_union()

Generate Union from all registered selections

pydantic model dakota.spec.method.coliny_ea.ColinyEaConfig

Evolutionary Algorithm

Show JSON schema
{
   "title": "ColinyEaConfig",
   "description": "Evolutionary Algorithm",
   "type": "object",
   "properties": {
      "model_pointer": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "Identifier for model block to be used by a method",
         "title": "Model Pointer",
         "x-block-pointer": "model",
         "x-materialization": [
            {
               "ir_key": "method.model_pointer",
               "ir_value_type": "String",
               "storage_type": "DIRECT_VALUE"
            }
         ]
      },
      "solution_target": {
         "default": -1.7976931348623157e+308,
         "description": "Stopping criteria based on objective function value",
         "title": "Solution Target",
         "type": "number",
         "x-aliases": [
            "solution_accuracy"
         ],
         "x-materialization": [
            {
               "ir_key": "method.asynch_pattern_search.solution_target",
               "ir_value_type": "Real",
               "storage_type": "DIRECT_VALUE"
            },
            {
               "ir_key": "method.solution_target",
               "ir_value_type": "Real",
               "storage_type": "DIRECT_VALUE"
            }
         ]
      },
      "seed": {
         "anyOf": [
            {
               "exclusiveMinimum": 0,
               "type": "integer"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "Seed of the random number generator",
         "title": "Seed",
         "x-materialization": [
            {
               "ir_key": "method.random_seed",
               "ir_value_type": "int",
               "storage_type": "DIRECT_VALUE"
            }
         ]
      },
      "show_misc_options": {
         "anyOf": [
            {
               "const": true,
               "type": "boolean"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "Show algorithm parameters not exposed in Dakota input",
         "title": "Show Misc Options",
         "x-materialization": [
            {
               "ir_key": "method.coliny.show_misc_options",
               "ir_value_type": "bool",
               "storage_type": "PRESENCE_TRUE"
            }
         ]
      },
      "misc_options": {
         "anyOf": [
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "Set method options not available through Dakota spec",
         "title": "Misc Options",
         "x-materialization": [
            {
               "ir_key": "method.coliny.misc_options",
               "ir_value_type": "StringArray",
               "storage_type": "DIRECT_VALUE"
            }
         ]
      },
      "max_iterations": {
         "default": 9223372036854775807,
         "description": "Number of iterations allowed for optimizers and adaptive UQ methods",
         "minimum": 0,
         "title": "Max Iterations",
         "type": "integer",
         "x-materialization": [
            {
               "ir_key": "method.max_iterations",
               "ir_value_type": "size_t",
               "storage_type": "DIRECT_VALUE"
            }
         ]
      },
      "convergence_tolerance": {
         "default": -1.7976931348623157e+308,
         "description": "Stopping criterion based on objective function or statistics convergence",
         "title": "Convergence Tolerance",
         "type": "number",
         "x-materialization": [
            {
               "ir_key": "method.convergence_tolerance",
               "ir_value_type": "Real",
               "storage_type": "DIRECT_VALUE"
            },
            {
               "ir_key": "method.jega.percent_change",
               "ir_value_type": "Real",
               "storage_type": "DIRECT_VALUE"
            }
         ]
      },
      "max_function_evaluations": {
         "default": 9223372036854775807,
         "description": "Number of function evaluations allowed for optimizers",
         "minimum": 0,
         "title": "Max Function Evaluations",
         "type": "integer",
         "x-materialization": [
            {
               "ir_key": "method.max_function_evaluations",
               "ir_value_type": "size_t",
               "storage_type": "DIRECT_VALUE"
            }
         ]
      },
      "scaling": {
         "anyOf": [
            {
               "const": true,
               "type": "boolean"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "Turn on scaling for variables, responses, and constraints",
         "title": "Scaling",
         "x-materialization": [
            {
               "ir_key": "method.scaling",
               "ir_value_type": "bool",
               "storage_type": "PRESENCE_TRUE"
            }
         ]
      },
      "id_method": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "Name the method block; helpful when there are multiple",
         "title": "Id Method",
         "x-materialization": [
            {
               "ir_key": "method.id",
               "ir_value_type": "String",
               "storage_type": "DIRECT_VALUE"
            }
         ]
      },
      "output": {
         "anyOf": [
            {
               "$ref": "#/$defs/Debug"
            },
            {
               "$ref": "#/$defs/Verbose"
            },
            {
               "$ref": "#/$defs/Normal"
            },
            {
               "$ref": "#/$defs/Quiet"
            },
            {
               "$ref": "#/$defs/Silent"
            }
         ],
         "description": "Control how much method information is written to the screen and output file",
         "title": "Output",
         "x-model-default": "Normal",
         "x-union-pattern": 1
      },
      "final_solutions": {
         "default": 0,
         "description": "Number of designs returned as the best solutions",
         "minimum": 0,
         "title": "Final Solutions",
         "type": "integer",
         "x-materialization": [
            {
               "ir_key": "method.final_solutions",
               "ir_value_type": "size_t",
               "storage_type": "DIRECT_VALUE"
            }
         ]
      },
      "population_size": {
         "default": 50,
         "description": "Set the population size",
         "exclusiveMinimum": 0,
         "title": "Population Size",
         "type": "integer",
         "x-materialization": [
            {
               "ir_key": "method.population_size",
               "ir_value_type": "int",
               "storage_type": "DIRECT_VALUE"
            }
         ]
      },
      "initialization_type": {
         "anyOf": [
            {
               "$ref": "#/$defs/ColinyEaInitializationTypeSimpleRandom"
            },
            {
               "$ref": "#/$defs/ColinyEaInitializationTypeUniqueRandom"
            },
            {
               "$ref": "#/$defs/ColinyEaInitializationTypeFlatFile"
            }
         ],
         "description": "Specify how to initialize the population",
         "title": "Initialization Type",
         "x-model-default": "ColinyEaInitializationTypeUniqueRandom",
         "x-union-pattern": 1
      },
      "fitness_type": {
         "anyOf": [
            {
               "$ref": "#/$defs/LinearRank"
            },
            {
               "$ref": "#/$defs/MeritFunction"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "Select fitness type",
         "title": "Fitness Type",
         "x-union-pattern": 2
      },
      "replacement_type": {
         "anyOf": [
            {
               "$ref": "#/$defs/ReplacementTypeRandom"
            },
            {
               "$ref": "#/$defs/Chc"
            },
            {
               "$ref": "#/$defs/ColinyEaReplacementTypeElitist"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "Select a replacement type for SCOLIB evolutionary algorithm ( ``coliny_ea``)",
         "title": "Replacement Type",
         "x-union-pattern": 2
      },
      "new_solutions_generated": {
         "default": -9999,
         "description": "Replace population with individuals chosen from population",
         "title": "New Solutions Generated",
         "type": "integer",
         "x-materialization": [
            {
               "ir_key": "method.coliny.new_solutions_generated",
               "ir_value_type": "int",
               "storage_type": "DIRECT_VALUE"
            }
         ]
      },
      "crossover_rate": {
         "default": -1.0,
         "description": "Specify the probability of a crossover event",
         "title": "Crossover Rate",
         "type": "number",
         "x-materialization": [
            {
               "ir_key": "method.crossover_rate",
               "ir_value_type": "Real",
               "storage_type": "DIRECT_VALUE"
            }
         ]
      },
      "crossover_type": {
         "anyOf": [
            {
               "$ref": "#/$defs/TwoPoint"
            },
            {
               "$ref": "#/$defs/Blend"
            },
            {
               "$ref": "#/$defs/CrossoverTypeUniform"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "Select a crossover type",
         "title": "Crossover Type",
         "x-union-pattern": 2
      },
      "mutation_rate": {
         "default": 1.0,
         "description": "Set probability of a mutation",
         "title": "Mutation Rate",
         "type": "number",
         "x-materialization": [
            {
               "ir_key": "method.mutation_rate",
               "ir_value_type": "Real",
               "storage_type": "DIRECT_VALUE"
            }
         ]
      },
      "mutation_type": {
         "anyOf": [
            {
               "$ref": "#/$defs/ColinyEaMutationType"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "Select a mutation type"
      },
      "non_adaptive": {
         "anyOf": [
            {
               "const": true,
               "type": "boolean"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "Disable self-adaptive mutation",
         "title": "Non Adaptive",
         "x-materialization": [
            {
               "ir_key": "method.mutation_adaptive",
               "ir_value_type": "bool",
               "storage_type": "PRESENCE_FALSE"
            }
         ]
      },
      "constraint_penalty": {
         "default": -1.0,
         "description": "Multiplier for the penalty function",
         "title": "Constraint Penalty",
         "type": "number",
         "x-materialization": [
            {
               "ir_key": "method.constraint_penalty",
               "ir_value_type": "Real",
               "storage_type": "DIRECT_VALUE"
            }
         ]
      }
   },
   "$defs": {
      "Blend": {
         "additionalProperties": false,
         "description": "Random blend of parents",
         "properties": {
            "blend": {
               "const": true,
               "default": true,
               "description": "Random blend of parents",
               "title": "Blend",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.crossover_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "blend"
                  }
               ]
            }
         },
         "title": "Blend",
         "type": "object"
      },
      "Chc": {
         "additionalProperties": false,
         "description": "Create new population using replacement",
         "properties": {
            "chc": {
               "description": "Create new population using replacement",
               "title": "Chc",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.replacement_type",
                     "ir_value_type": "String",
                     "secondary_ir_key": "method.coliny.number_retained",
                     "secondary_ir_value_type": "int",
                     "storage_type": "TYPE_DATA_COMBINED",
                     "stored_value": "chc"
                  }
               ]
            }
         },
         "required": [
            "chc"
         ],
         "title": "Chc",
         "type": "object"
      },
      "ColinyEaInitializationTypeFlatFile": {
         "additionalProperties": false,
         "description": "Read initial solutions from file",
         "properties": {
            "flat_file": {
               "description": "Read initial solutions from file",
               "title": "Flat File",
               "type": "string",
               "x-materialization": [
                  {
                     "ir_key": "method.initialization_type",
                     "ir_value_type": "String",
                     "secondary_ir_key": "method.flat_file",
                     "secondary_ir_value_type": "String",
                     "storage_type": "TYPE_DATA_COMBINED",
                     "stored_value": "flat_file"
                  }
               ]
            }
         },
         "required": [
            "flat_file"
         ],
         "title": "ColinyEaInitializationTypeFlatFile",
         "type": "object"
      },
      "ColinyEaInitializationTypeSimpleRandom": {
         "additionalProperties": false,
         "description": "Create random initial solutions",
         "properties": {
            "simple_random": {
               "const": true,
               "default": true,
               "description": "Create random initial solutions",
               "title": "Simple Random",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.initialization_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "random"
                  }
               ]
            }
         },
         "title": "ColinyEaInitializationTypeSimpleRandom",
         "type": "object"
      },
      "ColinyEaInitializationTypeUniqueRandom": {
         "additionalProperties": false,
         "description": "Create random initial solutions, but enforce uniqueness (default)",
         "properties": {
            "unique_random": {
               "const": true,
               "default": true,
               "description": "Create random initial solutions, but enforce uniqueness (default)",
               "title": "Unique Random",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.initialization_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "unique_random"
                  }
               ]
            }
         },
         "title": "ColinyEaInitializationTypeUniqueRandom",
         "type": "object"
      },
      "ColinyEaMutationType": {
         "additionalProperties": false,
         "description": "Select a mutation type",
         "properties": {
            "strategy": {
               "anchor": true,
               "anyOf": [
                  {
                     "$ref": "#/$defs/ColinyEaMutationTypeReplaceUniform"
                  },
                  {
                     "$ref": "#/$defs/ColinyEaMutationTypeOffsetNormal"
                  },
                  {
                     "$ref": "#/$defs/ColinyEaMutationTypeOffsetCauchy"
                  },
                  {
                     "$ref": "#/$defs/ColinyEaMutationTypeOffsetUniform"
                  }
               ],
               "description": "Mutation Type",
               "title": "Strategy",
               "x-union-pattern": 4
            }
         },
         "required": [
            "strategy"
         ],
         "title": "ColinyEaMutationType",
         "type": "object"
      },
      "ColinyEaMutationTypeOffsetCauchy": {
         "additionalProperties": false,
         "description": "Use a Cauchy distribution for the mutation offset",
         "properties": {
            "offset_cauchy": {
               "$ref": "#/$defs/ColinyMutationScaleRangeMixin",
               "description": "Use a Cauchy distribution for the mutation offset",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "offset_cauchy"
                  }
               ]
            }
         },
         "required": [
            "offset_cauchy"
         ],
         "title": "ColinyEaMutationTypeOffsetCauchy",
         "type": "object"
      },
      "ColinyEaMutationTypeOffsetNormal": {
         "additionalProperties": false,
         "description": "Set mutation offset to use a normal distribution",
         "properties": {
            "offset_normal": {
               "$ref": "#/$defs/ColinyMutationScaleRangeMixin",
               "description": "Set mutation offset to use a normal distribution",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "offset_normal"
                  }
               ]
            }
         },
         "required": [
            "offset_normal"
         ],
         "title": "ColinyEaMutationTypeOffsetNormal",
         "type": "object"
      },
      "ColinyEaMutationTypeOffsetUniform": {
         "additionalProperties": false,
         "description": "Set mutation offset to use a uniform distribution",
         "properties": {
            "offset_uniform": {
               "$ref": "#/$defs/ColinyMutationScaleRangeMixin",
               "description": "Set mutation offset to use a uniform distribution",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "offset_uniform"
                  }
               ]
            }
         },
         "required": [
            "offset_uniform"
         ],
         "title": "ColinyEaMutationTypeOffsetUniform",
         "type": "object"
      },
      "ColinyEaMutationTypeReplaceUniform": {
         "additionalProperties": false,
         "description": "Replace coordinate with randomly generated value",
         "properties": {
            "replace_uniform": {
               "const": true,
               "default": true,
               "description": "Replace coordinate with randomly generated value",
               "title": "Replace Uniform",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "replace_uniform"
                  }
               ]
            }
         },
         "title": "ColinyEaMutationTypeReplaceUniform",
         "type": "object"
      },
      "ColinyEaReplacementTypeElitist": {
         "additionalProperties": false,
         "description": "Use the best designs to form a new population",
         "properties": {
            "elitist": {
               "description": "Use the best designs to form a new population",
               "title": "Elitist",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.replacement_type",
                     "ir_value_type": "String",
                     "secondary_ir_key": "method.coliny.number_retained",
                     "secondary_ir_value_type": "int",
                     "storage_type": "TYPE_DATA_COMBINED",
                     "stored_value": "elitist"
                  }
               ]
            }
         },
         "required": [
            "elitist"
         ],
         "title": "ColinyEaReplacementTypeElitist",
         "type": "object"
      },
      "ColinyMutationScaleRangeMixin": {
         "additionalProperties": false,
         "description": "Generated model for ColinyMutationScaleRangeMixin",
         "properties": {
            "mutation_scale": {
               "default": 0.1,
               "description": "Scales mutation across range of parameter",
               "title": "Mutation Scale",
               "type": "number",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_scale",
                     "ir_value_type": "Real",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "mutation_range": {
               "default": -9999,
               "description": "Set uniform offset control for discrete parameters",
               "title": "Mutation Range",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.coliny.mutation_range",
                     "ir_value_type": "int",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            }
         },
         "title": "ColinyMutationScaleRangeMixin",
         "type": "object"
      },
      "CrossoverTypeUniform": {
         "additionalProperties": false,
         "description": "Randomly combine coordinates from parents",
         "properties": {
            "uniform": {
               "const": true,
               "default": true,
               "description": "Randomly combine coordinates from parents",
               "title": "Uniform",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.crossover_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "uniform"
                  }
               ]
            }
         },
         "title": "CrossoverTypeUniform",
         "type": "object"
      },
      "Debug": {
         "additionalProperties": false,
         "description": "Level 5 of 5 - maximum",
         "properties": {
            "debug": {
               "const": true,
               "default": true,
               "description": "Level 5 of 5 - maximum",
               "title": "Debug",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.output",
                     "ir_value_type": "short",
                     "storage_type": "PRESENCE_ENUM",
                     "stored_value": "DEBUG_OUTPUT"
                  }
               ]
            }
         },
         "title": "Debug",
         "type": "object"
      },
      "LinearRank": {
         "additionalProperties": false,
         "description": "Set selection scaling",
         "properties": {
            "linear_rank": {
               "const": true,
               "default": true,
               "description": "Set selection scaling",
               "title": "Linear Rank",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.fitness_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "linear_rank"
                  }
               ]
            }
         },
         "title": "LinearRank",
         "type": "object"
      },
      "MeritFunction": {
         "additionalProperties": false,
         "description": "Balance goals of reducing objective function and satisfying constraints",
         "properties": {
            "merit_function": {
               "const": true,
               "default": true,
               "description": "Balance goals of reducing objective function and satisfying constraints",
               "title": "Merit Function",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.fitness_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "proportional"
                  }
               ]
            }
         },
         "title": "MeritFunction",
         "type": "object"
      },
      "Normal": {
         "additionalProperties": false,
         "description": "Level 3 of 5 - default",
         "properties": {
            "normal": {
               "const": true,
               "default": true,
               "description": "Level 3 of 5 - default",
               "title": "Normal",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.output",
                     "ir_value_type": "short",
                     "storage_type": "PRESENCE_ENUM",
                     "stored_value": "NORMAL_OUTPUT"
                  }
               ]
            }
         },
         "title": "Normal",
         "type": "object"
      },
      "Quiet": {
         "additionalProperties": false,
         "description": "Level 2 of 5 - less than normal",
         "properties": {
            "quiet": {
               "const": true,
               "default": true,
               "description": "Level 2 of 5 - less than normal",
               "title": "Quiet",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.output",
                     "ir_value_type": "short",
                     "storage_type": "PRESENCE_ENUM",
                     "stored_value": "QUIET_OUTPUT"
                  }
               ]
            }
         },
         "title": "Quiet",
         "type": "object"
      },
      "ReplacementTypeRandom": {
         "additionalProperties": false,
         "description": "Create new population randomly",
         "properties": {
            "random": {
               "description": "Create new population randomly",
               "title": "Random",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.replacement_type",
                     "ir_value_type": "String",
                     "secondary_ir_key": "method.coliny.number_retained",
                     "secondary_ir_value_type": "int",
                     "storage_type": "TYPE_DATA_COMBINED",
                     "stored_value": "random"
                  }
               ]
            }
         },
         "required": [
            "random"
         ],
         "title": "ReplacementTypeRandom",
         "type": "object"
      },
      "Silent": {
         "additionalProperties": false,
         "description": "Level 1 of 5 - minimum",
         "properties": {
            "silent": {
               "const": true,
               "default": true,
               "description": "Level 1 of 5 - minimum",
               "title": "Silent",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.output",
                     "ir_value_type": "short",
                     "storage_type": "PRESENCE_ENUM",
                     "stored_value": "SILENT_OUTPUT"
                  }
               ]
            }
         },
         "title": "Silent",
         "type": "object"
      },
      "TwoPoint": {
         "additionalProperties": false,
         "description": "Combine middle of one parent with end of another",
         "properties": {
            "two_point": {
               "const": true,
               "default": true,
               "description": "Combine middle of one parent with end of another",
               "title": "Two Point",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.crossover_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "two_point"
                  }
               ]
            }
         },
         "title": "TwoPoint",
         "type": "object"
      },
      "Verbose": {
         "additionalProperties": false,
         "description": "Level 4 of 5 - more than normal",
         "properties": {
            "verbose": {
               "const": true,
               "default": true,
               "description": "Level 4 of 5 - more than normal",
               "title": "Verbose",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.output",
                     "ir_value_type": "short",
                     "storage_type": "PRESENCE_ENUM",
                     "stored_value": "VERBOSE_OUTPUT"
                  }
               ]
            }
         },
         "title": "Verbose",
         "type": "object"
      }
   },
   "additionalProperties": false
}

Fields:
field constraint_penalty: DakotaFloat = -1.0

Multiplier for the penalty function

Constraints:
  • func = <function _serialize_dakota_float at 0x7f2a3de76700>

  • return_type = float | str

  • when_used = json

field convergence_tolerance: DakotaFloat = -1.7976931348623157e+308

Stopping criterion based on objective function or statistics convergence

Constraints:
  • func = <function _serialize_dakota_float at 0x7f2a3de76700>

  • return_type = float | str

  • when_used = json

field crossover_rate: DakotaFloat = -1.0

Specify the probability of a crossover event

Constraints:
  • func = <function _serialize_dakota_float at 0x7f2a3de76700>

  • return_type = float | str

  • when_used = json

field crossover_type: TwoPoint | Blend | CrossoverTypeUniform | None = None

Select a crossover type

field final_solutions: int = 0

Number of designs returned as the best solutions

Constraints:
  • ge = 0

field fitness_type: LinearRank | MeritFunction | None = None

Select fitness type

field id_method: str | None = None

Name the method block; helpful when there are multiple

field initialization_type: ColinyEaInitializationTypeSimpleRandom | ColinyEaInitializationTypeUniqueRandom | ColinyEaInitializationTypeFlatFile [Optional]

Specify how to initialize the population

field max_function_evaluations: int = 9223372036854775807

Number of function evaluations allowed for optimizers

Constraints:
  • ge = 0

field max_iterations: int = 9223372036854775807

Number of iterations allowed for optimizers and adaptive UQ methods

Constraints:
  • ge = 0

field misc_options: list[str] | None = None

Set method options not available through Dakota spec

field model_pointer: str | None = None

Identifier for model block to be used by a method

field mutation_rate: DakotaFloat = 1.0

Set probability of a mutation

Constraints:
  • func = <function _serialize_dakota_float at 0x7f2a3de76700>

  • return_type = float | str

  • when_used = json

field mutation_type: ColinyEaMutationType | None = None

Select a mutation type

field new_solutions_generated: int = -9999

Replace population with individuals chosen from population

field non_adaptive: Literal[True] | None = None

Disable self-adaptive mutation

field output: Debug | Verbose | Normal | Quiet | Silent [Optional]

Control how much method information is written to the screen and output file

field population_size: int = 50

Set the population size

Constraints:
  • gt = 0

field replacement_type: ReplacementTypeRandom | Chc | ColinyEaReplacementTypeElitist | None = None

Select a replacement type for SCOLIB evolutionary algorithm ( coliny_ea)

field scaling: Literal[True] | None = None

Turn on scaling for variables, responses, and constraints

field seed: int | None = None

Seed of the random number generator

Constraints:
  • gt = 0

field show_misc_options: Literal[True] | None = None

Show algorithm parameters not exposed in Dakota input

field solution_target: DakotaFloat = -1.7976931348623157e+308

Stopping criteria based on objective function value

Constraints:
  • func = <function _serialize_dakota_float at 0x7f2a3de76700>

  • return_type = float | str

  • when_used = json

Generated Pydantic models for method.coliny_ea

pydantic model dakota.spec.method.coliny_ea.Blend

Random blend of parents

Show JSON schema
{
   "title": "Blend",
   "description": "Random blend of parents",
   "type": "object",
   "properties": {
      "blend": {
         "const": true,
         "default": true,
         "description": "Random blend of parents",
         "title": "Blend",
         "type": "boolean",
         "x-materialization": [
            {
               "ir_key": "method.crossover_type",
               "ir_value_type": "String",
               "storage_type": "PRESENCE_LITERAL",
               "stored_value": "blend"
            }
         ]
      }
   },
   "additionalProperties": false
}

Fields:
field blend: Literal[True] = True

Random blend of parents

pydantic model dakota.spec.method.coliny_ea.Chc

Create new population using replacement

Show JSON schema
{
   "title": "Chc",
   "description": "Create new population using replacement",
   "type": "object",
   "properties": {
      "chc": {
         "description": "Create new population using replacement",
         "title": "Chc",
         "type": "integer",
         "x-materialization": [
            {
               "ir_key": "method.replacement_type",
               "ir_value_type": "String",
               "secondary_ir_key": "method.coliny.number_retained",
               "secondary_ir_value_type": "int",
               "storage_type": "TYPE_DATA_COMBINED",
               "stored_value": "chc"
            }
         ]
      }
   },
   "additionalProperties": false,
   "required": [
      "chc"
   ]
}

Fields:
field chc: int [Required]

Create new population using replacement

pydantic model dakota.spec.method.coliny_ea.ColinyEaInitializationTypeFlatFile

Read initial solutions from file

Show JSON schema
{
   "title": "ColinyEaInitializationTypeFlatFile",
   "description": "Read initial solutions from file",
   "type": "object",
   "properties": {
      "flat_file": {
         "description": "Read initial solutions from file",
         "title": "Flat File",
         "type": "string",
         "x-materialization": [
            {
               "ir_key": "method.initialization_type",
               "ir_value_type": "String",
               "secondary_ir_key": "method.flat_file",
               "secondary_ir_value_type": "String",
               "storage_type": "TYPE_DATA_COMBINED",
               "stored_value": "flat_file"
            }
         ]
      }
   },
   "additionalProperties": false,
   "required": [
      "flat_file"
   ]
}

Fields:
field flat_file: str [Required]

Read initial solutions from file

pydantic model dakota.spec.method.coliny_ea.ColinyEaInitializationTypeSimpleRandom

Create random initial solutions

Show JSON schema
{
   "title": "ColinyEaInitializationTypeSimpleRandom",
   "description": "Create random initial solutions",
   "type": "object",
   "properties": {
      "simple_random": {
         "const": true,
         "default": true,
         "description": "Create random initial solutions",
         "title": "Simple Random",
         "type": "boolean",
         "x-materialization": [
            {
               "ir_key": "method.initialization_type",
               "ir_value_type": "String",
               "storage_type": "PRESENCE_LITERAL",
               "stored_value": "random"
            }
         ]
      }
   },
   "additionalProperties": false
}

Fields:
field simple_random: Literal[True] = True

Create random initial solutions

pydantic model dakota.spec.method.coliny_ea.ColinyEaInitializationTypeUniqueRandom

Create random initial solutions, but enforce uniqueness (default)

Show JSON schema
{
   "title": "ColinyEaInitializationTypeUniqueRandom",
   "description": "Create random initial solutions, but enforce uniqueness (default)",
   "type": "object",
   "properties": {
      "unique_random": {
         "const": true,
         "default": true,
         "description": "Create random initial solutions, but enforce uniqueness (default)",
         "title": "Unique Random",
         "type": "boolean",
         "x-materialization": [
            {
               "ir_key": "method.initialization_type",
               "ir_value_type": "String",
               "storage_type": "PRESENCE_LITERAL",
               "stored_value": "unique_random"
            }
         ]
      }
   },
   "additionalProperties": false
}

Fields:
field unique_random: Literal[True] = True

Create random initial solutions, but enforce uniqueness (default)

pydantic model dakota.spec.method.coliny_ea.ColinyEaMutationType

Select a mutation type

Show JSON schema
{
   "title": "ColinyEaMutationType",
   "description": "Select a mutation type",
   "type": "object",
   "properties": {
      "strategy": {
         "anchor": true,
         "anyOf": [
            {
               "$ref": "#/$defs/ColinyEaMutationTypeReplaceUniform"
            },
            {
               "$ref": "#/$defs/ColinyEaMutationTypeOffsetNormal"
            },
            {
               "$ref": "#/$defs/ColinyEaMutationTypeOffsetCauchy"
            },
            {
               "$ref": "#/$defs/ColinyEaMutationTypeOffsetUniform"
            }
         ],
         "description": "Mutation Type",
         "title": "Strategy",
         "x-union-pattern": 4
      }
   },
   "$defs": {
      "ColinyEaMutationTypeOffsetCauchy": {
         "additionalProperties": false,
         "description": "Use a Cauchy distribution for the mutation offset",
         "properties": {
            "offset_cauchy": {
               "$ref": "#/$defs/ColinyMutationScaleRangeMixin",
               "description": "Use a Cauchy distribution for the mutation offset",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "offset_cauchy"
                  }
               ]
            }
         },
         "required": [
            "offset_cauchy"
         ],
         "title": "ColinyEaMutationTypeOffsetCauchy",
         "type": "object"
      },
      "ColinyEaMutationTypeOffsetNormal": {
         "additionalProperties": false,
         "description": "Set mutation offset to use a normal distribution",
         "properties": {
            "offset_normal": {
               "$ref": "#/$defs/ColinyMutationScaleRangeMixin",
               "description": "Set mutation offset to use a normal distribution",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "offset_normal"
                  }
               ]
            }
         },
         "required": [
            "offset_normal"
         ],
         "title": "ColinyEaMutationTypeOffsetNormal",
         "type": "object"
      },
      "ColinyEaMutationTypeOffsetUniform": {
         "additionalProperties": false,
         "description": "Set mutation offset to use a uniform distribution",
         "properties": {
            "offset_uniform": {
               "$ref": "#/$defs/ColinyMutationScaleRangeMixin",
               "description": "Set mutation offset to use a uniform distribution",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "offset_uniform"
                  }
               ]
            }
         },
         "required": [
            "offset_uniform"
         ],
         "title": "ColinyEaMutationTypeOffsetUniform",
         "type": "object"
      },
      "ColinyEaMutationTypeReplaceUniform": {
         "additionalProperties": false,
         "description": "Replace coordinate with randomly generated value",
         "properties": {
            "replace_uniform": {
               "const": true,
               "default": true,
               "description": "Replace coordinate with randomly generated value",
               "title": "Replace Uniform",
               "type": "boolean",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_type",
                     "ir_value_type": "String",
                     "storage_type": "PRESENCE_LITERAL",
                     "stored_value": "replace_uniform"
                  }
               ]
            }
         },
         "title": "ColinyEaMutationTypeReplaceUniform",
         "type": "object"
      },
      "ColinyMutationScaleRangeMixin": {
         "additionalProperties": false,
         "description": "Generated model for ColinyMutationScaleRangeMixin",
         "properties": {
            "mutation_scale": {
               "default": 0.1,
               "description": "Scales mutation across range of parameter",
               "title": "Mutation Scale",
               "type": "number",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_scale",
                     "ir_value_type": "Real",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "mutation_range": {
               "default": -9999,
               "description": "Set uniform offset control for discrete parameters",
               "title": "Mutation Range",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.coliny.mutation_range",
                     "ir_value_type": "int",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            }
         },
         "title": "ColinyMutationScaleRangeMixin",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "strategy"
   ]
}

Fields:
field strategy: ColinyEaMutationTypeReplaceUniform | ColinyEaMutationTypeOffsetNormal | ColinyEaMutationTypeOffsetCauchy | ColinyEaMutationTypeOffsetUniform [Required]

Mutation Type

pydantic model dakota.spec.method.coliny_ea.ColinyEaMutationTypeOffsetCauchy

Use a Cauchy distribution for the mutation offset

Show JSON schema
{
   "title": "ColinyEaMutationTypeOffsetCauchy",
   "description": "Use a Cauchy distribution for the mutation offset",
   "type": "object",
   "properties": {
      "offset_cauchy": {
         "$ref": "#/$defs/ColinyMutationScaleRangeMixin",
         "description": "Use a Cauchy distribution for the mutation offset",
         "x-materialization": [
            {
               "ir_key": "method.mutation_type",
               "ir_value_type": "String",
               "storage_type": "PRESENCE_LITERAL",
               "stored_value": "offset_cauchy"
            }
         ]
      }
   },
   "$defs": {
      "ColinyMutationScaleRangeMixin": {
         "additionalProperties": false,
         "description": "Generated model for ColinyMutationScaleRangeMixin",
         "properties": {
            "mutation_scale": {
               "default": 0.1,
               "description": "Scales mutation across range of parameter",
               "title": "Mutation Scale",
               "type": "number",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_scale",
                     "ir_value_type": "Real",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "mutation_range": {
               "default": -9999,
               "description": "Set uniform offset control for discrete parameters",
               "title": "Mutation Range",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.coliny.mutation_range",
                     "ir_value_type": "int",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            }
         },
         "title": "ColinyMutationScaleRangeMixin",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "offset_cauchy"
   ]
}

Fields:
field offset_cauchy: ColinyMutationScaleRangeMixin [Required]

Use a Cauchy distribution for the mutation offset

pydantic model dakota.spec.method.coliny_ea.ColinyEaMutationTypeOffsetNormal

Set mutation offset to use a normal distribution

Show JSON schema
{
   "title": "ColinyEaMutationTypeOffsetNormal",
   "description": "Set mutation offset to use a normal distribution",
   "type": "object",
   "properties": {
      "offset_normal": {
         "$ref": "#/$defs/ColinyMutationScaleRangeMixin",
         "description": "Set mutation offset to use a normal distribution",
         "x-materialization": [
            {
               "ir_key": "method.mutation_type",
               "ir_value_type": "String",
               "storage_type": "PRESENCE_LITERAL",
               "stored_value": "offset_normal"
            }
         ]
      }
   },
   "$defs": {
      "ColinyMutationScaleRangeMixin": {
         "additionalProperties": false,
         "description": "Generated model for ColinyMutationScaleRangeMixin",
         "properties": {
            "mutation_scale": {
               "default": 0.1,
               "description": "Scales mutation across range of parameter",
               "title": "Mutation Scale",
               "type": "number",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_scale",
                     "ir_value_type": "Real",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "mutation_range": {
               "default": -9999,
               "description": "Set uniform offset control for discrete parameters",
               "title": "Mutation Range",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.coliny.mutation_range",
                     "ir_value_type": "int",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            }
         },
         "title": "ColinyMutationScaleRangeMixin",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "offset_normal"
   ]
}

Fields:
field offset_normal: ColinyMutationScaleRangeMixin [Required]

Set mutation offset to use a normal distribution

pydantic model dakota.spec.method.coliny_ea.ColinyEaMutationTypeOffsetUniform

Set mutation offset to use a uniform distribution

Show JSON schema
{
   "title": "ColinyEaMutationTypeOffsetUniform",
   "description": "Set mutation offset to use a uniform distribution",
   "type": "object",
   "properties": {
      "offset_uniform": {
         "$ref": "#/$defs/ColinyMutationScaleRangeMixin",
         "description": "Set mutation offset to use a uniform distribution",
         "x-materialization": [
            {
               "ir_key": "method.mutation_type",
               "ir_value_type": "String",
               "storage_type": "PRESENCE_LITERAL",
               "stored_value": "offset_uniform"
            }
         ]
      }
   },
   "$defs": {
      "ColinyMutationScaleRangeMixin": {
         "additionalProperties": false,
         "description": "Generated model for ColinyMutationScaleRangeMixin",
         "properties": {
            "mutation_scale": {
               "default": 0.1,
               "description": "Scales mutation across range of parameter",
               "title": "Mutation Scale",
               "type": "number",
               "x-materialization": [
                  {
                     "ir_key": "method.mutation_scale",
                     "ir_value_type": "Real",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            },
            "mutation_range": {
               "default": -9999,
               "description": "Set uniform offset control for discrete parameters",
               "title": "Mutation Range",
               "type": "integer",
               "x-materialization": [
                  {
                     "ir_key": "method.coliny.mutation_range",
                     "ir_value_type": "int",
                     "storage_type": "DIRECT_VALUE"
                  }
               ]
            }
         },
         "title": "ColinyMutationScaleRangeMixin",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "offset_uniform"
   ]
}

Fields:
field offset_uniform: ColinyMutationScaleRangeMixin [Required]

Set mutation offset to use a uniform distribution

pydantic model dakota.spec.method.coliny_ea.ColinyEaMutationTypeReplaceUniform

Replace coordinate with randomly generated value

Show JSON schema
{
   "title": "ColinyEaMutationTypeReplaceUniform",
   "description": "Replace coordinate with randomly generated value",
   "type": "object",
   "properties": {
      "replace_uniform": {
         "const": true,
         "default": true,
         "description": "Replace coordinate with randomly generated value",
         "title": "Replace Uniform",
         "type": "boolean",
         "x-materialization": [
            {
               "ir_key": "method.mutation_type",
               "ir_value_type": "String",
               "storage_type": "PRESENCE_LITERAL",
               "stored_value": "replace_uniform"
            }
         ]
      }
   },
   "additionalProperties": false
}

Fields:
field replace_uniform: Literal[True] = True

Replace coordinate with randomly generated value

pydantic model dakota.spec.method.coliny_ea.ColinyEaReplacementTypeElitist

Use the best designs to form a new population

Show JSON schema
{
   "title": "ColinyEaReplacementTypeElitist",
   "description": "Use the best designs to form a new population",
   "type": "object",
   "properties": {
      "elitist": {
         "description": "Use the best designs to form a new population",
         "title": "Elitist",
         "type": "integer",
         "x-materialization": [
            {
               "ir_key": "method.replacement_type",
               "ir_value_type": "String",
               "secondary_ir_key": "method.coliny.number_retained",
               "secondary_ir_value_type": "int",
               "storage_type": "TYPE_DATA_COMBINED",
               "stored_value": "elitist"
            }
         ]
      }
   },
   "additionalProperties": false,
   "required": [
      "elitist"
   ]
}

Fields:
field elitist: int [Required]

Use the best designs to form a new population

pydantic model dakota.spec.method.coliny_ea.CrossoverTypeUniform

Randomly combine coordinates from parents

Show JSON schema
{
   "title": "CrossoverTypeUniform",
   "description": "Randomly combine coordinates from parents",
   "type": "object",
   "properties": {
      "uniform": {
         "const": true,
         "default": true,
         "description": "Randomly combine coordinates from parents",
         "title": "Uniform",
         "type": "boolean",
         "x-materialization": [
            {
               "ir_key": "method.crossover_type",
               "ir_value_type": "String",
               "storage_type": "PRESENCE_LITERAL",
               "stored_value": "uniform"
            }
         ]
      }
   },
   "additionalProperties": false
}

Fields:
field uniform: Literal[True] = True

Randomly combine coordinates from parents

pydantic model dakota.spec.method.coliny_ea.LinearRank

Set selection scaling

Show JSON schema
{
   "title": "LinearRank",
   "description": "Set selection scaling",
   "type": "object",
   "properties": {
      "linear_rank": {
         "const": true,
         "default": true,
         "description": "Set selection scaling",
         "title": "Linear Rank",
         "type": "boolean",
         "x-materialization": [
            {
               "ir_key": "method.fitness_type",
               "ir_value_type": "String",
               "storage_type": "PRESENCE_LITERAL",
               "stored_value": "linear_rank"
            }
         ]
      }
   },
   "additionalProperties": false
}

Fields:
field linear_rank: Literal[True] = True

Set selection scaling

pydantic model dakota.spec.method.coliny_ea.MeritFunction

Balance goals of reducing objective function and satisfying constraints

Show JSON schema
{
   "title": "MeritFunction",
   "description": "Balance goals of reducing objective function and satisfying constraints",
   "type": "object",
   "properties": {
      "merit_function": {
         "const": true,
         "default": true,
         "description": "Balance goals of reducing objective function and satisfying constraints",
         "title": "Merit Function",
         "type": "boolean",
         "x-materialization": [
            {
               "ir_key": "method.fitness_type",
               "ir_value_type": "String",
               "storage_type": "PRESENCE_LITERAL",
               "stored_value": "proportional"
            }
         ]
      }
   },
   "additionalProperties": false
}

Fields:
field merit_function: Literal[True] = True

Balance goals of reducing objective function and satisfying constraints

pydantic model dakota.spec.method.coliny_ea.ReplacementTypeRandom

Create new population randomly

Show JSON schema
{
   "title": "ReplacementTypeRandom",
   "description": "Create new population randomly",
   "type": "object",
   "properties": {
      "random": {
         "description": "Create new population randomly",
         "title": "Random",
         "type": "integer",
         "x-materialization": [
            {
               "ir_key": "method.replacement_type",
               "ir_value_type": "String",
               "secondary_ir_key": "method.coliny.number_retained",
               "secondary_ir_value_type": "int",
               "storage_type": "TYPE_DATA_COMBINED",
               "stored_value": "random"
            }
         ]
      }
   },
   "additionalProperties": false,
   "required": [
      "random"
   ]
}

Fields:
field random: int [Required]

Create new population randomly

pydantic model dakota.spec.method.coliny_ea.TwoPoint

Combine middle of one parent with end of another

Show JSON schema
{
   "title": "TwoPoint",
   "description": "Combine middle of one parent with end of another",
   "type": "object",
   "properties": {
      "two_point": {
         "const": true,
         "default": true,
         "description": "Combine middle of one parent with end of another",
         "title": "Two Point",
         "type": "boolean",
         "x-materialization": [
            {
               "ir_key": "method.crossover_type",
               "ir_value_type": "String",
               "storage_type": "PRESENCE_LITERAL",
               "stored_value": "two_point"
            }
         ]
      }
   },
   "additionalProperties": false
}

Fields:
field two_point: Literal[True] = True

Combine middle of one parent with end of another