<< Overview Unconstrained Optimization Problems Toolbox uncprb_getfunc >>

Unconstrained Optimization Problems Toolbox >> Unconstrained Optimization Problems Toolbox > uncprb_getclass

uncprb_getclass

Returns the name.

Calling Sequence

prbmat = uncprb_getclass(class)

Parameters

class:

a floating point integer, class = 1 for Systems of Nonlinear Equations, class=2 for Nonlinear Least Squares, class=3 for Unconstrained Minimization, class=4 for Hessian-provided problems

prbmat:

a 1 x p matrix of floating point integers, the problem numbers

Description

Returns the problem numbers which correspond to the given class, as defined by the paper. The numbers are returned as a row vector, so that it can be directly used for a loop.

The order of the problems in the set is the one of the paper.

Examples

// Get all nonlinear equation problems
prbmat = uncprb_getclass(1)

// Get all nonlinear least squares problems
prbmat = uncprb_getclass(1)

// Get all unconstrained minimization problems
prbmat = uncprb_getclass(3)

// Get all problems for which the Hessian is provided
prbmat = uncprb_getclass(4)

// Get all unconstrained minimization problems for which the Hessian is provided
prbmat = intersect(uncprb_getclass(3),uncprb_getclass(4))

// See if the Hessian is available for problem #nprob
nprob = 1
isHessian = ( find(uncprb_getclass(4)==nprob) <> [] )

Authors

<< Overview Unconstrained Optimization Problems Toolbox uncprb_getfunc >>