GeneralAlgorithmTemplate#

class ansys.optislang.parametric.design_study_templates.GeneralAlgorithmTemplate(parameters: Iterable[Parameter], criteria: Iterable[Criterion], responses: Iterable[Response], algorithm_type: nt.NodeType, solver_type: nt.NodeType, algorithm_name: str | None = None, algorithm_settings: GeneralAlgorithmSettings | None = None, solver_name: str | None = None, solver_settings: GeneralNodeSettings | None = None, start_designs: Iterable[Design] | None = None, algorithm_connections: Iterable[Tuple[OutputSlot, str]] | None = None, solver_connections: Iterable[Tuple[OutputSlot, str]] | None = None)#

Template for general algorithm.

Methods

GeneralAlgorithmTemplate.create_algorithm(...)

Create an algorithm system with solver node and append to managed algorithms.

GeneralAlgorithmTemplate.create_design_study(parent)

Create the design study template.

GeneralAlgorithmTemplate.create_solver_node(...)

Create solver node inside the provided parent parametric system.