bgo_control_type structure#

    struct bgo_control_type{T}
      f_indexing::Bool
      error::Int32
      out::Int32
      print_level::Int32
      attempts_max::Int32
      max_evals::Int32
      sampling_strategy::Int32
      hypercube_discretization::Int32
      alive_unit::Int32
      alive_file::NTuple{31,Cchar}
      infinity::T
      obj_unbounded::T
      cpu_time_limit::T
      clock_time_limit::T
      random_multistart::Bool
      hessian_available::Bool
      space_critical::Bool
      deallocate_error_fatal::Bool
      prefix::NTuple{31,Cchar}
      ugo_control::ugo_control_type{T}
      lhs_control::lhs_control_type
      trb_control::trb_control_type{T}

detailed documentation#

control derived type as a Julia structure

components#

Bool f_indexing

use C or Fortran sparse matrix indexing

Int32 error

error and warning diagnostics occur on stream error

Int32 out

general output occurs on stream out

Int32 print_level

the level of output required. Possible values are:

  • \(\leq\) 0 no output,

  • 1 a one-line summary for every improvement

  • 2 a summary of each iteration

  • \(\geq\) 3 increasingly verbose (debugging) output

Int32 attempts_max

the maximum number of random searches from the best point found so far

Int32 max_evals

the maximum number of function evaluations made

Int32 sampling_strategy

sampling strategy used. Possible values are

  • 1 uniformly spread

  • 2 Latin hypercube sampling

  • 3 niformly spread within a Latin hypercube

Int32 hypercube_discretization

hyper-cube discretization (for sampling stategies 2 and 3)

Int32 alive_unit

removal of the file alive_file from unit alive_unit terminates execution

char alive_file[31]

see alive_unit

T infinity

any bound larger than infinity in modulus will be regarded as infinite

T obj_unbounded

the smallest value the objective function may take before the problem is marked as unbounded

T cpu_time_limit

the maximum CPU time allowed (-ve means infinite)

T clock_time_limit

the maximum elapsed clock time allowed (-ve means infinite)

Bool random_multistart

perform random-multistart as opposed to local minimize and probe

Bool hessian_available

is the Hessian matrix of second derivatives available or is access only via matrix-vector products?

Bool space_critical

if .space_critical true, every effort will be made to use as little space as possible. This may result in longer computation time

Bool deallocate_error_fatal

if .deallocate_error_fatal is true, any array/pointer deallocation error will terminate execution. Otherwise, computation will continue

NTuple{31,Cchar} prefix

all output lines will be prefixed by .prefix(2:LEN(TRIM(.prefix))-1) where .prefix contains the required string enclosed in quotes, e.g. “string” or ‘string’

struct ugo_control_type ugo_control

control parameters for UGO

struct lhs_control_type lhs_control

control parameters for LHS

struct trb_control_type trb_control

control parameters for TRB