Tech Tip: Scaling and Optimization

Scaling can often have a significant influence on the performance of an optimization routine. Routines for solving sparse LP, QP and nonlinear problems (E04NQF and E04VHF in the Fortran Library, e04nqc and e04vhc in the C Library, and similar names in other libraries) incorporate some automatic scaling based on a method due to Fourier. The default scaling can be altered by using optional parameters with names like 'Scale Option' and 'Scale Tolerance'.

For other optimization routines, problems with unusual or unbalanced scaling may cause difficulty and it's usually well worth the effort to consider transformation of variables, scaling the objective function and scaling of constraints. Advice on all three of these aspects is given in the E04 Chapter Introduction [pdf], under the heading 'Scaling'.

More extensive advice can be found in P E Gill, W Murray and M H Wright, Practical Optimization, Academic Press, 1981.


For specific technical advice in using NAG's products, please contact our technical experts.

Return to Technical Tips & Hints index page.

Website Feedback

If you would like a response from NAG please provide your e-mail address below.

(If you're a human, don't change the following field)
Your first name.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.