hybrid
- pydantic model dakota.spec.method.hybrid.HybridSelection
Generated model for HybridSelection
Show JSON schema
{ "title": "HybridSelection", "description": "Generated model for HybridSelection", "type": "object", "properties": { "hybrid": { "$ref": "#/$defs/HybridConfig", "x-materialization": [ { "ir_key": "method.algorithm", "ir_value_type": "unsigned short", "storage_type": "PRESENCE_ENUM", "stored_value": "HYBRID" } ] } }, "$defs": { "Collaborative": { "additionalProperties": false, "description": "Multiple methods run concurrently and share information", "properties": { "collaborative": { "$ref": "#/$defs/CollaborativeConfig", "x-materialization": [ { "ir_key": "method.sub_method", "ir_value_type": "unsigned short", "storage_type": "PRESENCE_ENUM", "stored_value": "SUBMETHOD_COLLABORATIVE" } ] } }, "required": [ "collaborative" ], "title": "Collaborative", "type": "object" }, "CollaborativeConfig": { "additionalProperties": false, "description": "Multiple methods run concurrently and share information", "properties": { "iterator_servers": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of iterator servers when Dakota is run in parallel", "title": "Iterator Servers", "x-materialization": [ { "ir_key": "method.iterator_servers", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "iterator_scheduling": { "anyOf": [ { "$ref": "#/$defs/MethodIteratorServerSchedulingDedicated" }, { "$ref": "#/$defs/MethodIteratorServerSchedulingPeer" }, { "type": "null" } ], "default": null, "description": "Specify the scheduling of concurrent iterators when Dakota is run in parallel", "title": "Iterator Scheduling", "x-union-pattern": 2 }, "processors_per_iterator": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of processors per iterator server when Dakota is run in parallel", "title": "Processors Per Iterator", "x-materialization": [ { "ir_key": "method.processors_per_iterator", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/CollaborativeMethodNameList" }, { "$ref": "#/$defs/CollaborativeMethodPointerList" } ], "description": "Sub-method Selection", "title": "Sub Method", "x-union-pattern": 4 } }, "required": [ "sub_method" ], "title": "CollaborativeConfig", "type": "object" }, "CollaborativeMethodNameList": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "$ref": "#/$defs/CollaborativeMethodNameListConfig", "argument": "method_name_list" } }, "required": [ "method_name_list" ], "title": "CollaborativeMethodNameList", "type": "object" }, "CollaborativeMethodNameListConfig": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "description": "List of Dakota methods to sequentially or collaboratively run", "items": { "type": "string" }, "title": "Method Name List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_names", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] }, "model_pointer_list": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Associate models with method names", "title": "Model Pointer List", "x-materialization": [ { "ir_key": "method.hybrid.model_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_name_list" ], "title": "CollaborativeMethodNameListConfig", "type": "object" }, "CollaborativeMethodPointerList": { "additionalProperties": false, "description": "Pointers to methods to execute sequantially or collaboratively", "properties": { "method_pointer_list": { "description": "Pointers to methods to execute sequantially or collaboratively", "items": { "type": "string" }, "title": "Method Pointer List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_pointer_list" ], "title": "CollaborativeMethodPointerList", "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" }, "Embedded": { "additionalProperties": false, "description": "A subordinate local method provides periodic refinements to a top-level global method", "properties": { "embedded": { "$ref": "#/$defs/EmbeddedConfig", "x-aliases": [ "coupled" ], "x-materialization": [ { "ir_key": "method.sub_method", "ir_value_type": "unsigned short", "storage_type": "PRESENCE_ENUM", "stored_value": "SUBMETHOD_EMBEDDED" } ] } }, "required": [ "embedded" ], "title": "Embedded", "type": "object" }, "EmbeddedConfig": { "additionalProperties": false, "description": "A subordinate local method provides periodic refinements to a top-level global method", "properties": { "iterator_servers": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of iterator servers when Dakota is run in parallel", "title": "Iterator Servers", "x-materialization": [ { "ir_key": "method.iterator_servers", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "iterator_scheduling": { "anyOf": [ { "$ref": "#/$defs/MethodIteratorServerSchedulingDedicated" }, { "$ref": "#/$defs/MethodIteratorServerSchedulingPeer" }, { "type": "null" } ], "default": null, "description": "Specify the scheduling of concurrent iterators when Dakota is run in parallel", "title": "Iterator Scheduling", "x-union-pattern": 2 }, "processors_per_iterator": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of processors per iterator server when Dakota is run in parallel", "title": "Processors Per Iterator", "x-materialization": [ { "ir_key": "method.processors_per_iterator", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/GlobalMethodName" }, { "$ref": "#/$defs/GlobalMethodPointer" } ], "description": "Global Sub-method Selection", "title": "Sub Method", "x-union-pattern": 4 }, "local_sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/LocalMethodName" }, { "$ref": "#/$defs/LocalMethodPointer" } ], "description": "Local Sub-method Selection", "title": "Local Sub Method", "x-union-pattern": 4 }, "local_search_probability": { "default": 0.1, "description": "Probability of executing local searches", "title": "Local Search Probability", "type": "number", "x-materialization": [ { "ir_key": "method.hybrid.local_search_probability", "ir_value_type": "Real", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "sub_method", "local_sub_method" ], "title": "EmbeddedConfig", "type": "object" }, "GlobalMethodName": { "additionalProperties": false, "description": "Specify the global method by Dakota name", "properties": { "global_method_name": { "$ref": "#/$defs/GlobalMethodNameConfig", "argument": "name" } }, "required": [ "global_method_name" ], "title": "GlobalMethodName", "type": "object" }, "GlobalMethodNameConfig": { "additionalProperties": false, "description": "Specify the global method by Dakota name", "properties": { "name": { "description": "Specify the global method by Dakota name", "title": "Name", "type": "string", "x-materialization": [ { "ir_key": "method.hybrid.global_method_name", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] }, "global_model_pointer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Pointer to model used by global method", "title": "Global Model Pointer", "x-block-pointer": "model", "x-materialization": [ { "ir_key": "method.hybrid.global_model_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "name" ], "title": "GlobalMethodNameConfig", "type": "object" }, "GlobalMethodPointer": { "additionalProperties": false, "description": "Pointer to global method", "properties": { "global_method_pointer": { "description": "Pointer to global method", "title": "Global Method Pointer", "type": "string", "x-block-pointer": "method", "x-materialization": [ { "ir_key": "method.hybrid.global_method_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "global_method_pointer" ], "title": "GlobalMethodPointer", "type": "object" }, "HybridConfig": { "additionalProperties": false, "description": "Strategy in which a set of methods synergistically seek an optimal design", "properties": { "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" } ] }, "strategy": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/Sequential" }, { "$ref": "#/$defs/Embedded" }, { "$ref": "#/$defs/Collaborative" } ], "description": "Hybrid Method Type", "title": "Strategy", "x-union-pattern": 4 } }, "required": [ "strategy" ], "title": "HybridConfig", "type": "object" }, "LocalMethodName": { "additionalProperties": false, "description": "Specify the local method by Dakota name", "properties": { "local_method_name": { "$ref": "#/$defs/LocalMethodNameConfig", "argument": "name" } }, "required": [ "local_method_name" ], "title": "LocalMethodName", "type": "object" }, "LocalMethodNameConfig": { "additionalProperties": false, "description": "Specify the local method by Dakota name", "properties": { "name": { "description": "Specify the local method by Dakota name", "title": "Name", "type": "string", "x-materialization": [ { "ir_key": "method.hybrid.local_method_name", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] }, "local_model_pointer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Pointer to model used by local method", "title": "Local Model Pointer", "x-block-pointer": "model", "x-materialization": [ { "ir_key": "method.hybrid.local_model_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "name" ], "title": "LocalMethodNameConfig", "type": "object" }, "LocalMethodPointer": { "additionalProperties": false, "description": "Pointer to local method", "properties": { "local_method_pointer": { "description": "Pointer to local method", "title": "Local Method Pointer", "type": "string", "x-block-pointer": "method", "x-materialization": [ { "ir_key": "method.hybrid.local_method_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "local_method_pointer" ], "title": "LocalMethodPointer", "type": "object" }, "MethodIteratorServerSchedulingDedicated": { "additionalProperties": false, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "properties": { "dedicated": { "const": true, "default": true, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "title": "Dedicated", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "DEDICATED_SCHEDULER_DYNAMIC" } ] } }, "title": "MethodIteratorServerSchedulingDedicated", "type": "object" }, "MethodIteratorServerSchedulingPeer": { "additionalProperties": false, "description": "Specify a peer partition for parallel iterator scheduling", "properties": { "peer": { "const": true, "default": true, "description": "Specify a peer partition for parallel iterator scheduling", "title": "Peer", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "PEER_SCHEDULING" } ] } }, "title": "MethodIteratorServerSchedulingPeer", "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" }, "Sequential": { "additionalProperties": false, "description": "Methods are run one at a time, in sequence", "properties": { "sequential": { "$ref": "#/$defs/SequentialConfig", "x-aliases": [ "uncoupled" ], "x-materialization": [ { "ir_key": "method.sub_method", "ir_value_type": "unsigned short", "storage_type": "PRESENCE_ENUM", "stored_value": "SUBMETHOD_SEQUENTIAL" } ] } }, "required": [ "sequential" ], "title": "Sequential", "type": "object" }, "SequentialConfig": { "additionalProperties": false, "description": "Methods are run one at a time, in sequence", "properties": { "iterator_servers": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of iterator servers when Dakota is run in parallel", "title": "Iterator Servers", "x-materialization": [ { "ir_key": "method.iterator_servers", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "iterator_scheduling": { "anyOf": [ { "$ref": "#/$defs/MethodIteratorServerSchedulingDedicated" }, { "$ref": "#/$defs/MethodIteratorServerSchedulingPeer" }, { "type": "null" } ], "default": null, "description": "Specify the scheduling of concurrent iterators when Dakota is run in parallel", "title": "Iterator Scheduling", "x-union-pattern": 2 }, "processors_per_iterator": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of processors per iterator server when Dakota is run in parallel", "title": "Processors Per Iterator", "x-materialization": [ { "ir_key": "method.processors_per_iterator", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/SequentialMethodNameList" }, { "$ref": "#/$defs/SequentialMethodPointerList" } ], "description": "Sub-method Selection", "title": "Sub Method", "x-union-pattern": 4 } }, "required": [ "sub_method" ], "title": "SequentialConfig", "type": "object" }, "SequentialMethodNameList": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "$ref": "#/$defs/SequentialMethodNameListConfig", "argument": "method_name_list" } }, "required": [ "method_name_list" ], "title": "SequentialMethodNameList", "type": "object" }, "SequentialMethodNameListConfig": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "description": "List of Dakota methods to sequentially or collaboratively run", "items": { "type": "string" }, "title": "Method Name List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_names", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] }, "model_pointer_list": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Associate models with method names", "title": "Model Pointer List", "x-materialization": [ { "ir_key": "method.hybrid.model_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_name_list" ], "title": "SequentialMethodNameListConfig", "type": "object" }, "SequentialMethodPointerList": { "additionalProperties": false, "description": "Pointers to methods to execute sequantially or collaboratively", "properties": { "method_pointer_list": { "description": "Pointers to methods to execute sequantially or collaboratively", "items": { "type": "string" }, "title": "Method Pointer List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_pointer_list" ], "title": "SequentialMethodPointerList", "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" }, "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": [ "hybrid" ] }
- field hybrid: HybridConfig [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.hybrid.HybridConfig
Strategy in which a set of methods synergistically seek an optimal design
Show JSON schema
{ "title": "HybridConfig", "description": "Strategy in which a set of methods synergistically seek an optimal design", "type": "object", "properties": { "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" } ] }, "strategy": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/Sequential" }, { "$ref": "#/$defs/Embedded" }, { "$ref": "#/$defs/Collaborative" } ], "description": "Hybrid Method Type", "title": "Strategy", "x-union-pattern": 4 } }, "$defs": { "Collaborative": { "additionalProperties": false, "description": "Multiple methods run concurrently and share information", "properties": { "collaborative": { "$ref": "#/$defs/CollaborativeConfig", "x-materialization": [ { "ir_key": "method.sub_method", "ir_value_type": "unsigned short", "storage_type": "PRESENCE_ENUM", "stored_value": "SUBMETHOD_COLLABORATIVE" } ] } }, "required": [ "collaborative" ], "title": "Collaborative", "type": "object" }, "CollaborativeConfig": { "additionalProperties": false, "description": "Multiple methods run concurrently and share information", "properties": { "iterator_servers": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of iterator servers when Dakota is run in parallel", "title": "Iterator Servers", "x-materialization": [ { "ir_key": "method.iterator_servers", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "iterator_scheduling": { "anyOf": [ { "$ref": "#/$defs/MethodIteratorServerSchedulingDedicated" }, { "$ref": "#/$defs/MethodIteratorServerSchedulingPeer" }, { "type": "null" } ], "default": null, "description": "Specify the scheduling of concurrent iterators when Dakota is run in parallel", "title": "Iterator Scheduling", "x-union-pattern": 2 }, "processors_per_iterator": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of processors per iterator server when Dakota is run in parallel", "title": "Processors Per Iterator", "x-materialization": [ { "ir_key": "method.processors_per_iterator", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/CollaborativeMethodNameList" }, { "$ref": "#/$defs/CollaborativeMethodPointerList" } ], "description": "Sub-method Selection", "title": "Sub Method", "x-union-pattern": 4 } }, "required": [ "sub_method" ], "title": "CollaborativeConfig", "type": "object" }, "CollaborativeMethodNameList": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "$ref": "#/$defs/CollaborativeMethodNameListConfig", "argument": "method_name_list" } }, "required": [ "method_name_list" ], "title": "CollaborativeMethodNameList", "type": "object" }, "CollaborativeMethodNameListConfig": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "description": "List of Dakota methods to sequentially or collaboratively run", "items": { "type": "string" }, "title": "Method Name List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_names", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] }, "model_pointer_list": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Associate models with method names", "title": "Model Pointer List", "x-materialization": [ { "ir_key": "method.hybrid.model_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_name_list" ], "title": "CollaborativeMethodNameListConfig", "type": "object" }, "CollaborativeMethodPointerList": { "additionalProperties": false, "description": "Pointers to methods to execute sequantially or collaboratively", "properties": { "method_pointer_list": { "description": "Pointers to methods to execute sequantially or collaboratively", "items": { "type": "string" }, "title": "Method Pointer List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_pointer_list" ], "title": "CollaborativeMethodPointerList", "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" }, "Embedded": { "additionalProperties": false, "description": "A subordinate local method provides periodic refinements to a top-level global method", "properties": { "embedded": { "$ref": "#/$defs/EmbeddedConfig", "x-aliases": [ "coupled" ], "x-materialization": [ { "ir_key": "method.sub_method", "ir_value_type": "unsigned short", "storage_type": "PRESENCE_ENUM", "stored_value": "SUBMETHOD_EMBEDDED" } ] } }, "required": [ "embedded" ], "title": "Embedded", "type": "object" }, "EmbeddedConfig": { "additionalProperties": false, "description": "A subordinate local method provides periodic refinements to a top-level global method", "properties": { "iterator_servers": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of iterator servers when Dakota is run in parallel", "title": "Iterator Servers", "x-materialization": [ { "ir_key": "method.iterator_servers", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "iterator_scheduling": { "anyOf": [ { "$ref": "#/$defs/MethodIteratorServerSchedulingDedicated" }, { "$ref": "#/$defs/MethodIteratorServerSchedulingPeer" }, { "type": "null" } ], "default": null, "description": "Specify the scheduling of concurrent iterators when Dakota is run in parallel", "title": "Iterator Scheduling", "x-union-pattern": 2 }, "processors_per_iterator": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of processors per iterator server when Dakota is run in parallel", "title": "Processors Per Iterator", "x-materialization": [ { "ir_key": "method.processors_per_iterator", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/GlobalMethodName" }, { "$ref": "#/$defs/GlobalMethodPointer" } ], "description": "Global Sub-method Selection", "title": "Sub Method", "x-union-pattern": 4 }, "local_sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/LocalMethodName" }, { "$ref": "#/$defs/LocalMethodPointer" } ], "description": "Local Sub-method Selection", "title": "Local Sub Method", "x-union-pattern": 4 }, "local_search_probability": { "default": 0.1, "description": "Probability of executing local searches", "title": "Local Search Probability", "type": "number", "x-materialization": [ { "ir_key": "method.hybrid.local_search_probability", "ir_value_type": "Real", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "sub_method", "local_sub_method" ], "title": "EmbeddedConfig", "type": "object" }, "GlobalMethodName": { "additionalProperties": false, "description": "Specify the global method by Dakota name", "properties": { "global_method_name": { "$ref": "#/$defs/GlobalMethodNameConfig", "argument": "name" } }, "required": [ "global_method_name" ], "title": "GlobalMethodName", "type": "object" }, "GlobalMethodNameConfig": { "additionalProperties": false, "description": "Specify the global method by Dakota name", "properties": { "name": { "description": "Specify the global method by Dakota name", "title": "Name", "type": "string", "x-materialization": [ { "ir_key": "method.hybrid.global_method_name", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] }, "global_model_pointer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Pointer to model used by global method", "title": "Global Model Pointer", "x-block-pointer": "model", "x-materialization": [ { "ir_key": "method.hybrid.global_model_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "name" ], "title": "GlobalMethodNameConfig", "type": "object" }, "GlobalMethodPointer": { "additionalProperties": false, "description": "Pointer to global method", "properties": { "global_method_pointer": { "description": "Pointer to global method", "title": "Global Method Pointer", "type": "string", "x-block-pointer": "method", "x-materialization": [ { "ir_key": "method.hybrid.global_method_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "global_method_pointer" ], "title": "GlobalMethodPointer", "type": "object" }, "LocalMethodName": { "additionalProperties": false, "description": "Specify the local method by Dakota name", "properties": { "local_method_name": { "$ref": "#/$defs/LocalMethodNameConfig", "argument": "name" } }, "required": [ "local_method_name" ], "title": "LocalMethodName", "type": "object" }, "LocalMethodNameConfig": { "additionalProperties": false, "description": "Specify the local method by Dakota name", "properties": { "name": { "description": "Specify the local method by Dakota name", "title": "Name", "type": "string", "x-materialization": [ { "ir_key": "method.hybrid.local_method_name", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] }, "local_model_pointer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Pointer to model used by local method", "title": "Local Model Pointer", "x-block-pointer": "model", "x-materialization": [ { "ir_key": "method.hybrid.local_model_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "name" ], "title": "LocalMethodNameConfig", "type": "object" }, "LocalMethodPointer": { "additionalProperties": false, "description": "Pointer to local method", "properties": { "local_method_pointer": { "description": "Pointer to local method", "title": "Local Method Pointer", "type": "string", "x-block-pointer": "method", "x-materialization": [ { "ir_key": "method.hybrid.local_method_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "local_method_pointer" ], "title": "LocalMethodPointer", "type": "object" }, "MethodIteratorServerSchedulingDedicated": { "additionalProperties": false, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "properties": { "dedicated": { "const": true, "default": true, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "title": "Dedicated", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "DEDICATED_SCHEDULER_DYNAMIC" } ] } }, "title": "MethodIteratorServerSchedulingDedicated", "type": "object" }, "MethodIteratorServerSchedulingPeer": { "additionalProperties": false, "description": "Specify a peer partition for parallel iterator scheduling", "properties": { "peer": { "const": true, "default": true, "description": "Specify a peer partition for parallel iterator scheduling", "title": "Peer", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "PEER_SCHEDULING" } ] } }, "title": "MethodIteratorServerSchedulingPeer", "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" }, "Sequential": { "additionalProperties": false, "description": "Methods are run one at a time, in sequence", "properties": { "sequential": { "$ref": "#/$defs/SequentialConfig", "x-aliases": [ "uncoupled" ], "x-materialization": [ { "ir_key": "method.sub_method", "ir_value_type": "unsigned short", "storage_type": "PRESENCE_ENUM", "stored_value": "SUBMETHOD_SEQUENTIAL" } ] } }, "required": [ "sequential" ], "title": "Sequential", "type": "object" }, "SequentialConfig": { "additionalProperties": false, "description": "Methods are run one at a time, in sequence", "properties": { "iterator_servers": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of iterator servers when Dakota is run in parallel", "title": "Iterator Servers", "x-materialization": [ { "ir_key": "method.iterator_servers", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "iterator_scheduling": { "anyOf": [ { "$ref": "#/$defs/MethodIteratorServerSchedulingDedicated" }, { "$ref": "#/$defs/MethodIteratorServerSchedulingPeer" }, { "type": "null" } ], "default": null, "description": "Specify the scheduling of concurrent iterators when Dakota is run in parallel", "title": "Iterator Scheduling", "x-union-pattern": 2 }, "processors_per_iterator": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of processors per iterator server when Dakota is run in parallel", "title": "Processors Per Iterator", "x-materialization": [ { "ir_key": "method.processors_per_iterator", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/SequentialMethodNameList" }, { "$ref": "#/$defs/SequentialMethodPointerList" } ], "description": "Sub-method Selection", "title": "Sub Method", "x-union-pattern": 4 } }, "required": [ "sub_method" ], "title": "SequentialConfig", "type": "object" }, "SequentialMethodNameList": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "$ref": "#/$defs/SequentialMethodNameListConfig", "argument": "method_name_list" } }, "required": [ "method_name_list" ], "title": "SequentialMethodNameList", "type": "object" }, "SequentialMethodNameListConfig": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "description": "List of Dakota methods to sequentially or collaboratively run", "items": { "type": "string" }, "title": "Method Name List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_names", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] }, "model_pointer_list": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Associate models with method names", "title": "Model Pointer List", "x-materialization": [ { "ir_key": "method.hybrid.model_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_name_list" ], "title": "SequentialMethodNameListConfig", "type": "object" }, "SequentialMethodPointerList": { "additionalProperties": false, "description": "Pointers to methods to execute sequantially or collaboratively", "properties": { "method_pointer_list": { "description": "Pointers to methods to execute sequantially or collaboratively", "items": { "type": "string" }, "title": "Method Pointer List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_pointer_list" ], "title": "SequentialMethodPointerList", "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" }, "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": [ "strategy" ] }
- Fields:
- field final_solutions: int = 0
Number of designs returned as the best solutions
- Constraints:
ge = 0
- field id_method: str | None = None
Name the method block; helpful when there are multiple
- field output: Debug | Verbose | Normal | Quiet | Silent [Optional]
Control how much method information is written to the screen and output file
- field strategy: Sequential | Embedded | Collaborative [Required]
Hybrid Method Type
Generated Pydantic models for method.hybrid
- pydantic model dakota.spec.method.hybrid.Collaborative
Multiple methods run concurrently and share information
Show JSON schema
{ "title": "Collaborative", "description": "Multiple methods run concurrently and share information", "type": "object", "properties": { "collaborative": { "$ref": "#/$defs/CollaborativeConfig", "x-materialization": [ { "ir_key": "method.sub_method", "ir_value_type": "unsigned short", "storage_type": "PRESENCE_ENUM", "stored_value": "SUBMETHOD_COLLABORATIVE" } ] } }, "$defs": { "CollaborativeConfig": { "additionalProperties": false, "description": "Multiple methods run concurrently and share information", "properties": { "iterator_servers": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of iterator servers when Dakota is run in parallel", "title": "Iterator Servers", "x-materialization": [ { "ir_key": "method.iterator_servers", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "iterator_scheduling": { "anyOf": [ { "$ref": "#/$defs/MethodIteratorServerSchedulingDedicated" }, { "$ref": "#/$defs/MethodIteratorServerSchedulingPeer" }, { "type": "null" } ], "default": null, "description": "Specify the scheduling of concurrent iterators when Dakota is run in parallel", "title": "Iterator Scheduling", "x-union-pattern": 2 }, "processors_per_iterator": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of processors per iterator server when Dakota is run in parallel", "title": "Processors Per Iterator", "x-materialization": [ { "ir_key": "method.processors_per_iterator", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/CollaborativeMethodNameList" }, { "$ref": "#/$defs/CollaborativeMethodPointerList" } ], "description": "Sub-method Selection", "title": "Sub Method", "x-union-pattern": 4 } }, "required": [ "sub_method" ], "title": "CollaborativeConfig", "type": "object" }, "CollaborativeMethodNameList": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "$ref": "#/$defs/CollaborativeMethodNameListConfig", "argument": "method_name_list" } }, "required": [ "method_name_list" ], "title": "CollaborativeMethodNameList", "type": "object" }, "CollaborativeMethodNameListConfig": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "description": "List of Dakota methods to sequentially or collaboratively run", "items": { "type": "string" }, "title": "Method Name List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_names", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] }, "model_pointer_list": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Associate models with method names", "title": "Model Pointer List", "x-materialization": [ { "ir_key": "method.hybrid.model_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_name_list" ], "title": "CollaborativeMethodNameListConfig", "type": "object" }, "CollaborativeMethodPointerList": { "additionalProperties": false, "description": "Pointers to methods to execute sequantially or collaboratively", "properties": { "method_pointer_list": { "description": "Pointers to methods to execute sequantially or collaboratively", "items": { "type": "string" }, "title": "Method Pointer List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_pointer_list" ], "title": "CollaborativeMethodPointerList", "type": "object" }, "MethodIteratorServerSchedulingDedicated": { "additionalProperties": false, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "properties": { "dedicated": { "const": true, "default": true, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "title": "Dedicated", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "DEDICATED_SCHEDULER_DYNAMIC" } ] } }, "title": "MethodIteratorServerSchedulingDedicated", "type": "object" }, "MethodIteratorServerSchedulingPeer": { "additionalProperties": false, "description": "Specify a peer partition for parallel iterator scheduling", "properties": { "peer": { "const": true, "default": true, "description": "Specify a peer partition for parallel iterator scheduling", "title": "Peer", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "PEER_SCHEDULING" } ] } }, "title": "MethodIteratorServerSchedulingPeer", "type": "object" } }, "additionalProperties": false, "required": [ "collaborative" ] }
- field collaborative: CollaborativeConfig [Required]
Multiple methods run concurrently and share information
- pydantic model dakota.spec.method.hybrid.CollaborativeConfig
Multiple methods run concurrently and share information
Show JSON schema
{ "title": "CollaborativeConfig", "description": "Multiple methods run concurrently and share information", "type": "object", "properties": { "iterator_servers": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of iterator servers when Dakota is run in parallel", "title": "Iterator Servers", "x-materialization": [ { "ir_key": "method.iterator_servers", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "iterator_scheduling": { "anyOf": [ { "$ref": "#/$defs/MethodIteratorServerSchedulingDedicated" }, { "$ref": "#/$defs/MethodIteratorServerSchedulingPeer" }, { "type": "null" } ], "default": null, "description": "Specify the scheduling of concurrent iterators when Dakota is run in parallel", "title": "Iterator Scheduling", "x-union-pattern": 2 }, "processors_per_iterator": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of processors per iterator server when Dakota is run in parallel", "title": "Processors Per Iterator", "x-materialization": [ { "ir_key": "method.processors_per_iterator", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/CollaborativeMethodNameList" }, { "$ref": "#/$defs/CollaborativeMethodPointerList" } ], "description": "Sub-method Selection", "title": "Sub Method", "x-union-pattern": 4 } }, "$defs": { "CollaborativeMethodNameList": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "$ref": "#/$defs/CollaborativeMethodNameListConfig", "argument": "method_name_list" } }, "required": [ "method_name_list" ], "title": "CollaborativeMethodNameList", "type": "object" }, "CollaborativeMethodNameListConfig": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "description": "List of Dakota methods to sequentially or collaboratively run", "items": { "type": "string" }, "title": "Method Name List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_names", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] }, "model_pointer_list": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Associate models with method names", "title": "Model Pointer List", "x-materialization": [ { "ir_key": "method.hybrid.model_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_name_list" ], "title": "CollaborativeMethodNameListConfig", "type": "object" }, "CollaborativeMethodPointerList": { "additionalProperties": false, "description": "Pointers to methods to execute sequantially or collaboratively", "properties": { "method_pointer_list": { "description": "Pointers to methods to execute sequantially or collaboratively", "items": { "type": "string" }, "title": "Method Pointer List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_pointer_list" ], "title": "CollaborativeMethodPointerList", "type": "object" }, "MethodIteratorServerSchedulingDedicated": { "additionalProperties": false, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "properties": { "dedicated": { "const": true, "default": true, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "title": "Dedicated", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "DEDICATED_SCHEDULER_DYNAMIC" } ] } }, "title": "MethodIteratorServerSchedulingDedicated", "type": "object" }, "MethodIteratorServerSchedulingPeer": { "additionalProperties": false, "description": "Specify a peer partition for parallel iterator scheduling", "properties": { "peer": { "const": true, "default": true, "description": "Specify a peer partition for parallel iterator scheduling", "title": "Peer", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "PEER_SCHEDULING" } ] } }, "title": "MethodIteratorServerSchedulingPeer", "type": "object" } }, "additionalProperties": false, "required": [ "sub_method" ] }
- Fields:
- field iterator_scheduling: MethodIteratorServerSchedulingDedicated | MethodIteratorServerSchedulingPeer | None = None
Specify the scheduling of concurrent iterators when Dakota is run in parallel
- field iterator_servers: int | None = None
Specify the number of iterator servers when Dakota is run in parallel
- Constraints:
gt = 0
- field processors_per_iterator: int | None = None
Specify the number of processors per iterator server when Dakota is run in parallel
- Constraints:
gt = 0
- field sub_method: CollaborativeMethodNameList | CollaborativeMethodPointerList [Required]
Sub-method Selection
- pydantic model dakota.spec.method.hybrid.CollaborativeMethodNameList
List of Dakota methods to sequentially or collaboratively run
Show JSON schema
{ "title": "CollaborativeMethodNameList", "description": "List of Dakota methods to sequentially or collaboratively run", "type": "object", "properties": { "method_name_list": { "$ref": "#/$defs/CollaborativeMethodNameListConfig", "argument": "method_name_list" } }, "$defs": { "CollaborativeMethodNameListConfig": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "description": "List of Dakota methods to sequentially or collaboratively run", "items": { "type": "string" }, "title": "Method Name List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_names", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] }, "model_pointer_list": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Associate models with method names", "title": "Model Pointer List", "x-materialization": [ { "ir_key": "method.hybrid.model_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_name_list" ], "title": "CollaborativeMethodNameListConfig", "type": "object" } }, "additionalProperties": false, "required": [ "method_name_list" ] }
- field method_name_list: CollaborativeMethodNameListConfig [Required]
List of Dakota methods to sequentially or collaboratively run
- pydantic model dakota.spec.method.hybrid.CollaborativeMethodNameListConfig
List of Dakota methods to sequentially or collaboratively run
Show JSON schema
{ "title": "CollaborativeMethodNameListConfig", "description": "List of Dakota methods to sequentially or collaboratively run", "type": "object", "properties": { "method_name_list": { "description": "List of Dakota methods to sequentially or collaboratively run", "items": { "type": "string" }, "title": "Method Name List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_names", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] }, "model_pointer_list": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Associate models with method names", "title": "Model Pointer List", "x-materialization": [ { "ir_key": "method.hybrid.model_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "additionalProperties": false, "required": [ "method_name_list" ] }
- field method_name_list: list[str] [Required]
List of Dakota methods to sequentially or collaboratively run
- field model_pointer_list: list[str] | None = None
Associate models with method names
- pydantic model dakota.spec.method.hybrid.CollaborativeMethodPointerList
Pointers to methods to execute sequantially or collaboratively
Show JSON schema
{ "title": "CollaborativeMethodPointerList", "description": "Pointers to methods to execute sequantially or collaboratively", "type": "object", "properties": { "method_pointer_list": { "description": "Pointers to methods to execute sequantially or collaboratively", "items": { "type": "string" }, "title": "Method Pointer List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "additionalProperties": false, "required": [ "method_pointer_list" ] }
- Fields:
- field method_pointer_list: list[str] [Required]
Pointers to methods to execute sequantially or collaboratively
- pydantic model dakota.spec.method.hybrid.Embedded
A subordinate local method provides periodic refinements to a top-level global method
Show JSON schema
{ "title": "Embedded", "description": "A subordinate local method provides periodic refinements to a top-level global method", "type": "object", "properties": { "embedded": { "$ref": "#/$defs/EmbeddedConfig", "x-aliases": [ "coupled" ], "x-materialization": [ { "ir_key": "method.sub_method", "ir_value_type": "unsigned short", "storage_type": "PRESENCE_ENUM", "stored_value": "SUBMETHOD_EMBEDDED" } ] } }, "$defs": { "EmbeddedConfig": { "additionalProperties": false, "description": "A subordinate local method provides periodic refinements to a top-level global method", "properties": { "iterator_servers": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of iterator servers when Dakota is run in parallel", "title": "Iterator Servers", "x-materialization": [ { "ir_key": "method.iterator_servers", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "iterator_scheduling": { "anyOf": [ { "$ref": "#/$defs/MethodIteratorServerSchedulingDedicated" }, { "$ref": "#/$defs/MethodIteratorServerSchedulingPeer" }, { "type": "null" } ], "default": null, "description": "Specify the scheduling of concurrent iterators when Dakota is run in parallel", "title": "Iterator Scheduling", "x-union-pattern": 2 }, "processors_per_iterator": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of processors per iterator server when Dakota is run in parallel", "title": "Processors Per Iterator", "x-materialization": [ { "ir_key": "method.processors_per_iterator", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/GlobalMethodName" }, { "$ref": "#/$defs/GlobalMethodPointer" } ], "description": "Global Sub-method Selection", "title": "Sub Method", "x-union-pattern": 4 }, "local_sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/LocalMethodName" }, { "$ref": "#/$defs/LocalMethodPointer" } ], "description": "Local Sub-method Selection", "title": "Local Sub Method", "x-union-pattern": 4 }, "local_search_probability": { "default": 0.1, "description": "Probability of executing local searches", "title": "Local Search Probability", "type": "number", "x-materialization": [ { "ir_key": "method.hybrid.local_search_probability", "ir_value_type": "Real", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "sub_method", "local_sub_method" ], "title": "EmbeddedConfig", "type": "object" }, "GlobalMethodName": { "additionalProperties": false, "description": "Specify the global method by Dakota name", "properties": { "global_method_name": { "$ref": "#/$defs/GlobalMethodNameConfig", "argument": "name" } }, "required": [ "global_method_name" ], "title": "GlobalMethodName", "type": "object" }, "GlobalMethodNameConfig": { "additionalProperties": false, "description": "Specify the global method by Dakota name", "properties": { "name": { "description": "Specify the global method by Dakota name", "title": "Name", "type": "string", "x-materialization": [ { "ir_key": "method.hybrid.global_method_name", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] }, "global_model_pointer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Pointer to model used by global method", "title": "Global Model Pointer", "x-block-pointer": "model", "x-materialization": [ { "ir_key": "method.hybrid.global_model_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "name" ], "title": "GlobalMethodNameConfig", "type": "object" }, "GlobalMethodPointer": { "additionalProperties": false, "description": "Pointer to global method", "properties": { "global_method_pointer": { "description": "Pointer to global method", "title": "Global Method Pointer", "type": "string", "x-block-pointer": "method", "x-materialization": [ { "ir_key": "method.hybrid.global_method_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "global_method_pointer" ], "title": "GlobalMethodPointer", "type": "object" }, "LocalMethodName": { "additionalProperties": false, "description": "Specify the local method by Dakota name", "properties": { "local_method_name": { "$ref": "#/$defs/LocalMethodNameConfig", "argument": "name" } }, "required": [ "local_method_name" ], "title": "LocalMethodName", "type": "object" }, "LocalMethodNameConfig": { "additionalProperties": false, "description": "Specify the local method by Dakota name", "properties": { "name": { "description": "Specify the local method by Dakota name", "title": "Name", "type": "string", "x-materialization": [ { "ir_key": "method.hybrid.local_method_name", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] }, "local_model_pointer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Pointer to model used by local method", "title": "Local Model Pointer", "x-block-pointer": "model", "x-materialization": [ { "ir_key": "method.hybrid.local_model_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "name" ], "title": "LocalMethodNameConfig", "type": "object" }, "LocalMethodPointer": { "additionalProperties": false, "description": "Pointer to local method", "properties": { "local_method_pointer": { "description": "Pointer to local method", "title": "Local Method Pointer", "type": "string", "x-block-pointer": "method", "x-materialization": [ { "ir_key": "method.hybrid.local_method_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "local_method_pointer" ], "title": "LocalMethodPointer", "type": "object" }, "MethodIteratorServerSchedulingDedicated": { "additionalProperties": false, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "properties": { "dedicated": { "const": true, "default": true, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "title": "Dedicated", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "DEDICATED_SCHEDULER_DYNAMIC" } ] } }, "title": "MethodIteratorServerSchedulingDedicated", "type": "object" }, "MethodIteratorServerSchedulingPeer": { "additionalProperties": false, "description": "Specify a peer partition for parallel iterator scheduling", "properties": { "peer": { "const": true, "default": true, "description": "Specify a peer partition for parallel iterator scheduling", "title": "Peer", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "PEER_SCHEDULING" } ] } }, "title": "MethodIteratorServerSchedulingPeer", "type": "object" } }, "additionalProperties": false, "required": [ "embedded" ] }
- field embedded: EmbeddedConfig [Required]
A subordinate local method provides periodic refinements to a top-level global method
- pydantic model dakota.spec.method.hybrid.EmbeddedConfig
A subordinate local method provides periodic refinements to a top-level global method
Show JSON schema
{ "title": "EmbeddedConfig", "description": "A subordinate local method provides periodic refinements to a top-level global method", "type": "object", "properties": { "iterator_servers": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of iterator servers when Dakota is run in parallel", "title": "Iterator Servers", "x-materialization": [ { "ir_key": "method.iterator_servers", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "iterator_scheduling": { "anyOf": [ { "$ref": "#/$defs/MethodIteratorServerSchedulingDedicated" }, { "$ref": "#/$defs/MethodIteratorServerSchedulingPeer" }, { "type": "null" } ], "default": null, "description": "Specify the scheduling of concurrent iterators when Dakota is run in parallel", "title": "Iterator Scheduling", "x-union-pattern": 2 }, "processors_per_iterator": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of processors per iterator server when Dakota is run in parallel", "title": "Processors Per Iterator", "x-materialization": [ { "ir_key": "method.processors_per_iterator", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/GlobalMethodName" }, { "$ref": "#/$defs/GlobalMethodPointer" } ], "description": "Global Sub-method Selection", "title": "Sub Method", "x-union-pattern": 4 }, "local_sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/LocalMethodName" }, { "$ref": "#/$defs/LocalMethodPointer" } ], "description": "Local Sub-method Selection", "title": "Local Sub Method", "x-union-pattern": 4 }, "local_search_probability": { "default": 0.1, "description": "Probability of executing local searches", "title": "Local Search Probability", "type": "number", "x-materialization": [ { "ir_key": "method.hybrid.local_search_probability", "ir_value_type": "Real", "storage_type": "DIRECT_VALUE" } ] } }, "$defs": { "GlobalMethodName": { "additionalProperties": false, "description": "Specify the global method by Dakota name", "properties": { "global_method_name": { "$ref": "#/$defs/GlobalMethodNameConfig", "argument": "name" } }, "required": [ "global_method_name" ], "title": "GlobalMethodName", "type": "object" }, "GlobalMethodNameConfig": { "additionalProperties": false, "description": "Specify the global method by Dakota name", "properties": { "name": { "description": "Specify the global method by Dakota name", "title": "Name", "type": "string", "x-materialization": [ { "ir_key": "method.hybrid.global_method_name", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] }, "global_model_pointer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Pointer to model used by global method", "title": "Global Model Pointer", "x-block-pointer": "model", "x-materialization": [ { "ir_key": "method.hybrid.global_model_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "name" ], "title": "GlobalMethodNameConfig", "type": "object" }, "GlobalMethodPointer": { "additionalProperties": false, "description": "Pointer to global method", "properties": { "global_method_pointer": { "description": "Pointer to global method", "title": "Global Method Pointer", "type": "string", "x-block-pointer": "method", "x-materialization": [ { "ir_key": "method.hybrid.global_method_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "global_method_pointer" ], "title": "GlobalMethodPointer", "type": "object" }, "LocalMethodName": { "additionalProperties": false, "description": "Specify the local method by Dakota name", "properties": { "local_method_name": { "$ref": "#/$defs/LocalMethodNameConfig", "argument": "name" } }, "required": [ "local_method_name" ], "title": "LocalMethodName", "type": "object" }, "LocalMethodNameConfig": { "additionalProperties": false, "description": "Specify the local method by Dakota name", "properties": { "name": { "description": "Specify the local method by Dakota name", "title": "Name", "type": "string", "x-materialization": [ { "ir_key": "method.hybrid.local_method_name", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] }, "local_model_pointer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Pointer to model used by local method", "title": "Local Model Pointer", "x-block-pointer": "model", "x-materialization": [ { "ir_key": "method.hybrid.local_model_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "name" ], "title": "LocalMethodNameConfig", "type": "object" }, "LocalMethodPointer": { "additionalProperties": false, "description": "Pointer to local method", "properties": { "local_method_pointer": { "description": "Pointer to local method", "title": "Local Method Pointer", "type": "string", "x-block-pointer": "method", "x-materialization": [ { "ir_key": "method.hybrid.local_method_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "local_method_pointer" ], "title": "LocalMethodPointer", "type": "object" }, "MethodIteratorServerSchedulingDedicated": { "additionalProperties": false, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "properties": { "dedicated": { "const": true, "default": true, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "title": "Dedicated", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "DEDICATED_SCHEDULER_DYNAMIC" } ] } }, "title": "MethodIteratorServerSchedulingDedicated", "type": "object" }, "MethodIteratorServerSchedulingPeer": { "additionalProperties": false, "description": "Specify a peer partition for parallel iterator scheduling", "properties": { "peer": { "const": true, "default": true, "description": "Specify a peer partition for parallel iterator scheduling", "title": "Peer", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "PEER_SCHEDULING" } ] } }, "title": "MethodIteratorServerSchedulingPeer", "type": "object" } }, "additionalProperties": false, "required": [ "sub_method", "local_sub_method" ] }
- Fields:
- field iterator_scheduling: MethodIteratorServerSchedulingDedicated | MethodIteratorServerSchedulingPeer | None = None
Specify the scheduling of concurrent iterators when Dakota is run in parallel
- field iterator_servers: int | None = None
Specify the number of iterator servers when Dakota is run in parallel
- Constraints:
gt = 0
- field local_search_probability: DakotaFloat = 0.1
Probability of executing local searches
- Constraints:
func = <function _serialize_dakota_float at 0x7f2a3de76700>
return_type = float | str
when_used = json
- field local_sub_method: LocalMethodName | LocalMethodPointer [Required]
Local Sub-method Selection
- field processors_per_iterator: int | None = None
Specify the number of processors per iterator server when Dakota is run in parallel
- Constraints:
gt = 0
- field sub_method: GlobalMethodName | GlobalMethodPointer [Required]
Global Sub-method Selection
- pydantic model dakota.spec.method.hybrid.GlobalMethodName
Specify the global method by Dakota name
Show JSON schema
{ "title": "GlobalMethodName", "description": "Specify the global method by Dakota name", "type": "object", "properties": { "global_method_name": { "$ref": "#/$defs/GlobalMethodNameConfig", "argument": "name" } }, "$defs": { "GlobalMethodNameConfig": { "additionalProperties": false, "description": "Specify the global method by Dakota name", "properties": { "name": { "description": "Specify the global method by Dakota name", "title": "Name", "type": "string", "x-materialization": [ { "ir_key": "method.hybrid.global_method_name", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] }, "global_model_pointer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Pointer to model used by global method", "title": "Global Model Pointer", "x-block-pointer": "model", "x-materialization": [ { "ir_key": "method.hybrid.global_model_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "name" ], "title": "GlobalMethodNameConfig", "type": "object" } }, "additionalProperties": false, "required": [ "global_method_name" ] }
- field global_method_name: GlobalMethodNameConfig [Required]
Specify the global method by Dakota name
- pydantic model dakota.spec.method.hybrid.GlobalMethodNameConfig
Specify the global method by Dakota name
Show JSON schema
{ "title": "GlobalMethodNameConfig", "description": "Specify the global method by Dakota name", "type": "object", "properties": { "name": { "description": "Specify the global method by Dakota name", "title": "Name", "type": "string", "x-materialization": [ { "ir_key": "method.hybrid.global_method_name", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] }, "global_model_pointer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Pointer to model used by global method", "title": "Global Model Pointer", "x-block-pointer": "model", "x-materialization": [ { "ir_key": "method.hybrid.global_model_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "additionalProperties": false, "required": [ "name" ] }
- field global_model_pointer: str | None = None
Pointer to model used by global method
- field name: str [Required]
Specify the global method by Dakota name
- pydantic model dakota.spec.method.hybrid.GlobalMethodPointer
Pointer to global method
Show JSON schema
{ "title": "GlobalMethodPointer", "description": "Pointer to global method", "type": "object", "properties": { "global_method_pointer": { "description": "Pointer to global method", "title": "Global Method Pointer", "type": "string", "x-block-pointer": "method", "x-materialization": [ { "ir_key": "method.hybrid.global_method_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "additionalProperties": false, "required": [ "global_method_pointer" ] }
- Fields:
- field global_method_pointer: str [Required]
Pointer to global method
- pydantic model dakota.spec.method.hybrid.LocalMethodName
Specify the local method by Dakota name
Show JSON schema
{ "title": "LocalMethodName", "description": "Specify the local method by Dakota name", "type": "object", "properties": { "local_method_name": { "$ref": "#/$defs/LocalMethodNameConfig", "argument": "name" } }, "$defs": { "LocalMethodNameConfig": { "additionalProperties": false, "description": "Specify the local method by Dakota name", "properties": { "name": { "description": "Specify the local method by Dakota name", "title": "Name", "type": "string", "x-materialization": [ { "ir_key": "method.hybrid.local_method_name", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] }, "local_model_pointer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Pointer to model used by local method", "title": "Local Model Pointer", "x-block-pointer": "model", "x-materialization": [ { "ir_key": "method.hybrid.local_model_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "name" ], "title": "LocalMethodNameConfig", "type": "object" } }, "additionalProperties": false, "required": [ "local_method_name" ] }
- field local_method_name: LocalMethodNameConfig [Required]
Specify the local method by Dakota name
- pydantic model dakota.spec.method.hybrid.LocalMethodNameConfig
Specify the local method by Dakota name
Show JSON schema
{ "title": "LocalMethodNameConfig", "description": "Specify the local method by Dakota name", "type": "object", "properties": { "name": { "description": "Specify the local method by Dakota name", "title": "Name", "type": "string", "x-materialization": [ { "ir_key": "method.hybrid.local_method_name", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] }, "local_model_pointer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Pointer to model used by local method", "title": "Local Model Pointer", "x-block-pointer": "model", "x-materialization": [ { "ir_key": "method.hybrid.local_model_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "additionalProperties": false, "required": [ "name" ] }
- field local_model_pointer: str | None = None
Pointer to model used by local method
- field name: str [Required]
Specify the local method by Dakota name
- pydantic model dakota.spec.method.hybrid.LocalMethodPointer
Pointer to local method
Show JSON schema
{ "title": "LocalMethodPointer", "description": "Pointer to local method", "type": "object", "properties": { "local_method_pointer": { "description": "Pointer to local method", "title": "Local Method Pointer", "type": "string", "x-block-pointer": "method", "x-materialization": [ { "ir_key": "method.hybrid.local_method_pointer", "ir_value_type": "String", "storage_type": "DIRECT_VALUE" } ] } }, "additionalProperties": false, "required": [ "local_method_pointer" ] }
- Fields:
- field local_method_pointer: str [Required]
Pointer to local method
- pydantic model dakota.spec.method.hybrid.Sequential
Methods are run one at a time, in sequence
Show JSON schema
{ "title": "Sequential", "description": "Methods are run one at a time, in sequence", "type": "object", "properties": { "sequential": { "$ref": "#/$defs/SequentialConfig", "x-aliases": [ "uncoupled" ], "x-materialization": [ { "ir_key": "method.sub_method", "ir_value_type": "unsigned short", "storage_type": "PRESENCE_ENUM", "stored_value": "SUBMETHOD_SEQUENTIAL" } ] } }, "$defs": { "MethodIteratorServerSchedulingDedicated": { "additionalProperties": false, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "properties": { "dedicated": { "const": true, "default": true, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "title": "Dedicated", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "DEDICATED_SCHEDULER_DYNAMIC" } ] } }, "title": "MethodIteratorServerSchedulingDedicated", "type": "object" }, "MethodIteratorServerSchedulingPeer": { "additionalProperties": false, "description": "Specify a peer partition for parallel iterator scheduling", "properties": { "peer": { "const": true, "default": true, "description": "Specify a peer partition for parallel iterator scheduling", "title": "Peer", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "PEER_SCHEDULING" } ] } }, "title": "MethodIteratorServerSchedulingPeer", "type": "object" }, "SequentialConfig": { "additionalProperties": false, "description": "Methods are run one at a time, in sequence", "properties": { "iterator_servers": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of iterator servers when Dakota is run in parallel", "title": "Iterator Servers", "x-materialization": [ { "ir_key": "method.iterator_servers", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "iterator_scheduling": { "anyOf": [ { "$ref": "#/$defs/MethodIteratorServerSchedulingDedicated" }, { "$ref": "#/$defs/MethodIteratorServerSchedulingPeer" }, { "type": "null" } ], "default": null, "description": "Specify the scheduling of concurrent iterators when Dakota is run in parallel", "title": "Iterator Scheduling", "x-union-pattern": 2 }, "processors_per_iterator": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of processors per iterator server when Dakota is run in parallel", "title": "Processors Per Iterator", "x-materialization": [ { "ir_key": "method.processors_per_iterator", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/SequentialMethodNameList" }, { "$ref": "#/$defs/SequentialMethodPointerList" } ], "description": "Sub-method Selection", "title": "Sub Method", "x-union-pattern": 4 } }, "required": [ "sub_method" ], "title": "SequentialConfig", "type": "object" }, "SequentialMethodNameList": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "$ref": "#/$defs/SequentialMethodNameListConfig", "argument": "method_name_list" } }, "required": [ "method_name_list" ], "title": "SequentialMethodNameList", "type": "object" }, "SequentialMethodNameListConfig": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "description": "List of Dakota methods to sequentially or collaboratively run", "items": { "type": "string" }, "title": "Method Name List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_names", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] }, "model_pointer_list": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Associate models with method names", "title": "Model Pointer List", "x-materialization": [ { "ir_key": "method.hybrid.model_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_name_list" ], "title": "SequentialMethodNameListConfig", "type": "object" }, "SequentialMethodPointerList": { "additionalProperties": false, "description": "Pointers to methods to execute sequantially or collaboratively", "properties": { "method_pointer_list": { "description": "Pointers to methods to execute sequantially or collaboratively", "items": { "type": "string" }, "title": "Method Pointer List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_pointer_list" ], "title": "SequentialMethodPointerList", "type": "object" } }, "additionalProperties": false, "required": [ "sequential" ] }
- field sequential: SequentialConfig [Required]
Methods are run one at a time, in sequence
- pydantic model dakota.spec.method.hybrid.SequentialConfig
Methods are run one at a time, in sequence
Show JSON schema
{ "title": "SequentialConfig", "description": "Methods are run one at a time, in sequence", "type": "object", "properties": { "iterator_servers": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of iterator servers when Dakota is run in parallel", "title": "Iterator Servers", "x-materialization": [ { "ir_key": "method.iterator_servers", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "iterator_scheduling": { "anyOf": [ { "$ref": "#/$defs/MethodIteratorServerSchedulingDedicated" }, { "$ref": "#/$defs/MethodIteratorServerSchedulingPeer" }, { "type": "null" } ], "default": null, "description": "Specify the scheduling of concurrent iterators when Dakota is run in parallel", "title": "Iterator Scheduling", "x-union-pattern": 2 }, "processors_per_iterator": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Specify the number of processors per iterator server when Dakota is run in parallel", "title": "Processors Per Iterator", "x-materialization": [ { "ir_key": "method.processors_per_iterator", "ir_value_type": "int", "storage_type": "DIRECT_VALUE" } ] }, "sub_method": { "anchor": true, "anyOf": [ { "$ref": "#/$defs/SequentialMethodNameList" }, { "$ref": "#/$defs/SequentialMethodPointerList" } ], "description": "Sub-method Selection", "title": "Sub Method", "x-union-pattern": 4 } }, "$defs": { "MethodIteratorServerSchedulingDedicated": { "additionalProperties": false, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "properties": { "dedicated": { "const": true, "default": true, "description": "Specify a dedicated scheduler partition for concurrent iterator executions", "title": "Dedicated", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "DEDICATED_SCHEDULER_DYNAMIC" } ] } }, "title": "MethodIteratorServerSchedulingDedicated", "type": "object" }, "MethodIteratorServerSchedulingPeer": { "additionalProperties": false, "description": "Specify a peer partition for parallel iterator scheduling", "properties": { "peer": { "const": true, "default": true, "description": "Specify a peer partition for parallel iterator scheduling", "title": "Peer", "type": "boolean", "x-materialization": [ { "ir_key": "method.iterator_scheduling", "ir_value_type": "short", "storage_type": "PRESENCE_ENUM", "stored_value": "PEER_SCHEDULING" } ] } }, "title": "MethodIteratorServerSchedulingPeer", "type": "object" }, "SequentialMethodNameList": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "$ref": "#/$defs/SequentialMethodNameListConfig", "argument": "method_name_list" } }, "required": [ "method_name_list" ], "title": "SequentialMethodNameList", "type": "object" }, "SequentialMethodNameListConfig": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "description": "List of Dakota methods to sequentially or collaboratively run", "items": { "type": "string" }, "title": "Method Name List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_names", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] }, "model_pointer_list": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Associate models with method names", "title": "Model Pointer List", "x-materialization": [ { "ir_key": "method.hybrid.model_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_name_list" ], "title": "SequentialMethodNameListConfig", "type": "object" }, "SequentialMethodPointerList": { "additionalProperties": false, "description": "Pointers to methods to execute sequantially or collaboratively", "properties": { "method_pointer_list": { "description": "Pointers to methods to execute sequantially or collaboratively", "items": { "type": "string" }, "title": "Method Pointer List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_pointer_list" ], "title": "SequentialMethodPointerList", "type": "object" } }, "additionalProperties": false, "required": [ "sub_method" ] }
- Fields:
- field iterator_scheduling: MethodIteratorServerSchedulingDedicated | MethodIteratorServerSchedulingPeer | None = None
Specify the scheduling of concurrent iterators when Dakota is run in parallel
- field iterator_servers: int | None = None
Specify the number of iterator servers when Dakota is run in parallel
- Constraints:
gt = 0
- field processors_per_iterator: int | None = None
Specify the number of processors per iterator server when Dakota is run in parallel
- Constraints:
gt = 0
- field sub_method: SequentialMethodNameList | SequentialMethodPointerList [Required]
Sub-method Selection
- pydantic model dakota.spec.method.hybrid.SequentialMethodNameList
List of Dakota methods to sequentially or collaboratively run
Show JSON schema
{ "title": "SequentialMethodNameList", "description": "List of Dakota methods to sequentially or collaboratively run", "type": "object", "properties": { "method_name_list": { "$ref": "#/$defs/SequentialMethodNameListConfig", "argument": "method_name_list" } }, "$defs": { "SequentialMethodNameListConfig": { "additionalProperties": false, "description": "List of Dakota methods to sequentially or collaboratively run", "properties": { "method_name_list": { "description": "List of Dakota methods to sequentially or collaboratively run", "items": { "type": "string" }, "title": "Method Name List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_names", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] }, "model_pointer_list": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Associate models with method names", "title": "Model Pointer List", "x-materialization": [ { "ir_key": "method.hybrid.model_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "required": [ "method_name_list" ], "title": "SequentialMethodNameListConfig", "type": "object" } }, "additionalProperties": false, "required": [ "method_name_list" ] }
- field method_name_list: SequentialMethodNameListConfig [Required]
List of Dakota methods to sequentially or collaboratively run
- pydantic model dakota.spec.method.hybrid.SequentialMethodNameListConfig
List of Dakota methods to sequentially or collaboratively run
Show JSON schema
{ "title": "SequentialMethodNameListConfig", "description": "List of Dakota methods to sequentially or collaboratively run", "type": "object", "properties": { "method_name_list": { "description": "List of Dakota methods to sequentially or collaboratively run", "items": { "type": "string" }, "title": "Method Name List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_names", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] }, "model_pointer_list": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Associate models with method names", "title": "Model Pointer List", "x-materialization": [ { "ir_key": "method.hybrid.model_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "additionalProperties": false, "required": [ "method_name_list" ] }
- field method_name_list: list[str] [Required]
List of Dakota methods to sequentially or collaboratively run
- field model_pointer_list: list[str] | None = None
Associate models with method names
- pydantic model dakota.spec.method.hybrid.SequentialMethodPointerList
Pointers to methods to execute sequantially or collaboratively
Show JSON schema
{ "title": "SequentialMethodPointerList", "description": "Pointers to methods to execute sequantially or collaboratively", "type": "object", "properties": { "method_pointer_list": { "description": "Pointers to methods to execute sequantially or collaboratively", "items": { "type": "string" }, "title": "Method Pointer List", "type": "array", "x-materialization": [ { "ir_key": "method.hybrid.method_pointers", "ir_value_type": "StringArray", "storage_type": "DIRECT_VALUE" } ] } }, "additionalProperties": false, "required": [ "method_pointer_list" ] }
- Fields:
- field method_pointer_list: list[str] [Required]
Pointers to methods to execute sequantially or collaboratively

