OPT++: An object-oriented toolkit for nonlinear optimization

  • Authors:
  • J. C. Meza;R. A. Oliva;P. D. Hough;P. J. Williams

  • Affiliations:
  • Ernest Orlando Lawrence Berkeley National Laboratory;Ernest Orlando Lawrence Berkeley National Laboratory;Sandia National Laboratories;Sandia National Laboratories

  • Venue:
  • ACM Transactions on Mathematical Software (TOMS)
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Object-oriented programming is a relatively new tool in the development of optimization software. The code extensibility and the rapid algorithm prototyping capability enabled by this programming paradigm promise to enhance the reliability, utility, and ease of use of optimization software. While the use of object-oriented programming is growing, there are still few examples of general purpose codes written in this manner, and a common approach is far from obvious. This paper describes OPT++, a C++ class library for nonlinear optimization. The design is predicated on the concept of distinguishing between an algorithm-independent class hierarchy for nonlinear optimization problems and a class hierarchy for nonlinear optimization methods that is based on common algorithmic traits. The interface is designed for ease of use while being general enough so that new optimization algorithms can be added easily to the existing framework. A number of nonlinear optimization algorithms have been implemented in OPT++ and are accessible through this interface. Furthermore, example applications demonstrate the simplicity of the interface as well as the advantages of a common interface in comparing multiple algorithms.