Integrator

This solver performs the numerical integration of scalar functions \(f:\mathbb{R}^D\to \mathbb{R}\) for the “Integration” problem.

Usage

e["Solver"]["Type"] = "Integrator"

Results

These are the results produced by this solver:

Integral
  • Usage: e[“Results”][“Integral”] = real number

  • Description: Value of the integral.

Variable-Specific Settings

These are settings required by this module that are added to each of the experiment’s variables when this module is selected.

Lower Bound
  • Usage: e[“Variables”][index][“Lower Bound”] = real number

  • Description: Lower bound for integration.

Upper Bound
  • Usage: e[“Variables”][index][“Upper Bound”] = real number

  • Description: Upper bound for integration.

Configuration

These are settings required by this module.

Executions Per Generation
  • Usage: e[“Solver”][“Executions Per Generation”] = unsigned integer

  • Description: Specifies the number of model executions per generation. By default this setting is 0, meaning that all executions will be performed in the first generation. For values greater 0, executions will be split into batches and split int generations for intermediate output.

Termination Criteria

These are the customizable criteria that indicates whether the solver should continue or finish execution. Korali will stop when at least one of these conditions are met. The criteria is expressed in C++ since it is compiled and evaluated as seen here in the engine.

Max Model Evaluations
  • Usage: e[“Solver”][“Max Model Evaluations”] = unsigned integer

  • Description: Specifies the maximum allowed evaluations of the computational model.

  • Criteria: _maxModelEvaluations <= _modelEvaluationCount

Max Generations
  • Usage: e[“Solver”][“Max Generations”] = unsigned integer

  • Description: Determines how many solver generations to run before stopping execution. Execution can be resumed at a later moment.

  • Criteria: _k->_currentGeneration > _maxGenerations

Default Configuration

These following configuration will be assigned by default. Any settings defined by the user will override the given settings specified in these defaults.

{
"Executions Per Generation": 100,
"Model Evaluation Count": 0,
"Termination Criteria": {
    "Max Generations": 10000000000,
    "Max Model Evaluations": 1000000000
    },
"Variable Count": 0
}