<< uncprb_gethesfd Unconstrained Optimization Problems Toolbox uncprb_getinitpt >>

Unconstrained Optimization Problems Toolbox >> Unconstrained Optimization Problems Toolbox > uncprb_getinitf

uncprb_getinitf

Returns the starting point.

Calling Sequence

[n,m,x0]=uncprb_getinitf(nprob)

Parameters

nprob:

the problem number

n:

the number of variables, i.e. the size of x

m:

the number of functions, i.e. the size of fvec

x0:

a n x 1 matrix of doubles, the (multiplied) starting point

Description

This function sets n,m, and the standard starting point based on the nprob and returns it to initpt function.

Examples

// Get starting data for Rosenbrock's test case
// See that : n=2, m=2, x=[-1.2,1]'
nprob = 1
[n,m,x0]=uncprb_getinitf(nprob)

Authors

<< uncprb_gethesfd Unconstrained Optimization Problems Toolbox uncprb_getinitpt >>