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.
Public Member Functions | Public Attributes | List of all members
algorithm_steepest_descent.AlgorithmSteepestDescent Class Reference

A classical steepest descent algorithm to solve unconstrainted optimization problems. More...

Inheritance diagram for algorithm_steepest_descent.AlgorithmSteepestDescent:
Collaboration diagram for algorithm_steepest_descent.AlgorithmSteepestDescent:

Public Member Functions

def GetDefaultParameters (cls)
 
def __init__ (self, Kratos.Model model, Kratos.Parameters parameters, OptimizationProblem optimization_problem)
 
int GetMinimumBufferSize (self)
 
def Check (self)
 
def Initialize (self)
 
def Finalize (self)
 
KratosOA.CollectiveExpression ComputeSearchDirection (self, obj_grad)
 
def ComputeControlUpdate (self, alpha)
 
KratosOA.CollectiveExpression UpdateControl (self)
 
KratosOA.CollectiveExpression Output (self)
 
float GetCurrentObjValue (self)
 
def GetCurrentControlField (self)
 
def Solve (self)
 
float GetOptimizedObjectiveValue (self)
 

Public Attributes

 model
 
 parameters
 
 master_control
 
 echo_level
 
 converged
 
 algorithm_data
 

Detailed Description

A classical steepest descent algorithm to solve unconstrainted optimization problems.

Constructor & Destructor Documentation

◆ __init__()

def algorithm_steepest_descent.AlgorithmSteepestDescent.__init__ (   self,
Kratos.Model  model,
Kratos.Parameters  parameters,
OptimizationProblem  optimization_problem 
)

Member Function Documentation

◆ Check()

def algorithm_steepest_descent.AlgorithmSteepestDescent.Check (   self)

◆ ComputeControlUpdate()

def algorithm_steepest_descent.AlgorithmSteepestDescent.ComputeControlUpdate (   self,
  alpha 
)

◆ ComputeSearchDirection()

KratosOA.CollectiveExpression algorithm_steepest_descent.AlgorithmSteepestDescent.ComputeSearchDirection (   self,
  obj_grad 
)

◆ Finalize()

def algorithm_steepest_descent.AlgorithmSteepestDescent.Finalize (   self)

◆ GetCurrentControlField()

def algorithm_steepest_descent.AlgorithmSteepestDescent.GetCurrentControlField (   self)

◆ GetCurrentObjValue()

float algorithm_steepest_descent.AlgorithmSteepestDescent.GetCurrentObjValue (   self)

◆ GetDefaultParameters()

def algorithm_steepest_descent.AlgorithmSteepestDescent.GetDefaultParameters (   cls)

◆ GetMinimumBufferSize()

int algorithm_steepest_descent.AlgorithmSteepestDescent.GetMinimumBufferSize (   self)

◆ GetOptimizedObjectiveValue()

float algorithm_steepest_descent.AlgorithmSteepestDescent.GetOptimizedObjectiveValue (   self)

◆ Initialize()

def algorithm_steepest_descent.AlgorithmSteepestDescent.Initialize (   self)

◆ Output()

KratosOA.CollectiveExpression algorithm_steepest_descent.AlgorithmSteepestDescent.Output (   self)

◆ Solve()

def algorithm_steepest_descent.AlgorithmSteepestDescent.Solve (   self)

◆ UpdateControl()

KratosOA.CollectiveExpression algorithm_steepest_descent.AlgorithmSteepestDescent.UpdateControl (   self)

Member Data Documentation

◆ algorithm_data

algorithm_steepest_descent.AlgorithmSteepestDescent.algorithm_data

◆ converged

algorithm_steepest_descent.AlgorithmSteepestDescent.converged

◆ echo_level

algorithm_steepest_descent.AlgorithmSteepestDescent.echo_level

◆ master_control

algorithm_steepest_descent.AlgorithmSteepestDescent.master_control

◆ model

algorithm_steepest_descent.AlgorithmSteepestDescent.model

◆ parameters

algorithm_steepest_descent.AlgorithmSteepestDescent.parameters

The documentation for this class was generated from the following file: