run_SQN_free: Run SQN optimizer in free-mode

Description Usage Arguments Value See Also

View source: R/optimizers_free.R

Description

Run the next step of an SQN optimization procedure, after the last requested calculation has been fed to the optimizer. When run for the first time, there is no request, so the function just needs to be run on the object as it is returned from function 'SQN_free'.

Usage

1
run_SQN_free(optimizer, x, step_size)

Arguments

optimizer

An 'SQN_free' optimizer, for which its last request must have been served. Will be updated in-place.

x

Current values of the variables being optimized. Must be a numeric vector. Will be updated in-place.

step_size

Step size for the quasi-Newton update.

Value

A request with the next piece of required information. The output will be a list with the following levels:

See Also

SQN_free


stochQN documentation built on Sept. 26, 2021, 9:07 a.m.