Octave code

All algorithms presented in the book have been implemented in GNU Octave, a high-level interpreted language, primarily intended for numerical computations. These codes are provided for illustration only. They are by no means designed to be efficient, and have not been thoroughly tested under all conditions. All the examples have been run on GNU Octave, version 3.8.1. on a MacBook Pro running OS X Yosemite 10.10.2.

A documentation generated by Doxygen and doxymatlab is available. In includes the source code.

Doxygen documentation

The complete set of Octave files can be downloaed here:

optimizationPrinciplesAlgorithms.zip

Disclaimer

This material contains sample programming source code ("Sample Code"). Michel Bierlaire ("the author") grants you a nonexclusive license to run, display, reproduce, distribute and prepare derivative works of this Sample Code. The Sample Code has not been thoroughly tested under all conditions. The author, therefore, does not guarantee or imply its reliability, serviceability, or function. The author provides no program services for the Sample Code.

All Sample Code contained herein is provided to you "AS IS" without any warranties of any kind. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGMENT ARE EXPRESSLY DISCLAIMED. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO THE ABOVE EXCLUSIONS MAY NOT APPLY TO YOU. IN NO EVENT WILL THE AUTHOR BE LIABLE TO ANY PARTY FOR ANY DIRECT, INDIRECT, SPECIAL OR OTHER CONSEQUENTIAL DAMAGES FOR ANY USE OF THE SAMPLE CODE INCLUDING, WITHOUT LIMITATION, ANY LOST PROFITS, BUSINESS INTERRUPTION, LOSS OF PROGRAMS OR OTHER DATA ON YOUR INFORMATION HANDLING SYSTEM OR OTHERWISE, EVEN IF WE ARE EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.