KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
Standardized objective response function. More...
Public Member Functions | |
def | __init__ (self, Kratos.Parameters parameters, MasterControl master_control, OptimizationProblem optimization_problem, int required_buffer_size=2) |
float | GetInitialValue (self) |
float | CalculateStandardizedValue (self, KratosOA.CollectiveExpression control_field, bool save_value=True) |
float | GetValue (self, int step_index=0) |
float | GetStandardizedValue (self, int step_index=0) |
KratosOA.CollectiveExpression | CalculateStandardizedGradient (self, bool save_field=True) |
float | GetRelativeChange (self) |
float | GetAbsoluteChange (self) |
dict | GetInfo (self) |
Standardized objective response function.
This class transformed a user-given optimization problem into the standard format. Supported objective types: "minimization", "maximization"
def standardized_objective.StandardizedObjective.__init__ | ( | self, | |
Kratos.Parameters | parameters, | ||
MasterControl | master_control, | ||
OptimizationProblem | optimization_problem, | ||
int | required_buffer_size = 2 |
||
) |
KratosOA.CollectiveExpression standardized_objective.StandardizedObjective.CalculateStandardizedGradient | ( | self, | |
bool | save_field = True |
||
) |
float standardized_objective.StandardizedObjective.CalculateStandardizedValue | ( | self, | |
KratosOA.CollectiveExpression | control_field, | ||
bool | save_value = True |
||
) |
float standardized_objective.StandardizedObjective.GetAbsoluteChange | ( | self | ) |
dict standardized_objective.StandardizedObjective.GetInfo | ( | self | ) |
float standardized_objective.StandardizedObjective.GetInitialValue | ( | self | ) |
float standardized_objective.StandardizedObjective.GetRelativeChange | ( | self | ) |
float standardized_objective.StandardizedObjective.GetStandardizedValue | ( | self, | |
int | step_index = 0 |
||
) |
float standardized_objective.StandardizedObjective.GetValue | ( | self, | |
int | step_index = 0 |
||
) |