sgOptim: Optimisation tool for non smooth functions

Description Usage Arguments Value

View source: R/optim.R

Description

Function for minimising piecewise differentiable objective functions.

Usage

1
sgOptim(theta, fn, df, tol = 1e-06, t)

Arguments

theta

Initial value.

fn

Function to optimise.

df

Subgradient of the objective function.

tol

Relative convergence tolerance

t

Stepsizes for updating the set of parameters.

Value

The function returns a list with following components

par

The best set of parameters

value

The value of the function corresponding to best set of parameters.

iteration

Number of iterations taken


tathagatabasu/nonsmoothOptim documentation built on Nov. 5, 2019, 10 a.m.