RTRFLAT Execution function for rtr.m, tailored for cost fns in R^n
SYNOPSIS
function [x,stats] = rtrflat(params)
DESCRIPTION
RTRFLAT Execution function for rtr.m, tailored for cost fns in R^n
The use merely has to fill out the functions f, grad and H
located at the end the the present file.
The functions R, g and proj should be disregarded. They have been
preset for the case of a cost function in R^n.
x = rtrflat(params) returns the computed optimizer.
[x,stats] = rtrflat(params) returns x in addition to some
statistics from the solver. See RTR for info.
rtrflat(params) allows the user to specify parameters that are passed
to the RTR solver.
params.x0 - the initial iterate (required, as column vector)
params.Delta_bar - maximum trust-region radius
params.Delta0 - initial trust-region radius
See also rtr