docNumOptimise
Centre for Vision, Speech & Signal Processing
 

Numerical Optimisers Class Structure and Usage

NumOptimiseC provides a base class interface and handle for numerical optimisers. Although they can be used for any optimisation task given a suitable cost function derived from NumCostC, they are integrated with the remainder of the Num package and can therefore be used immediately to optimise any object which is derived from NumFuncC.

When optimising, it is necessary to set up an appropriate cost function which provides the interface between the optimiser and the problem domain. It also specifies the ranges for the various parameters and can be used to achieve some degree of constrained optimisation by hiding some process parameters from the optimiser in addition to restricting the parameter ranges (not always applicable).

Once this information has been provided, it is simply a matter of calling a member function MinimalX or MaximalX to find the input parameter which either minimises or maximises the cost function.

Here is an example of how they can be used:

Author: Robert Crida, Created: 12/6/1998, Generated by DocCreate: March 20, 2001