Giter Club home page Giter Club logo

ook's Introduction

OOK::Open Optimisation Kit

OOK is a library for developing optimisation algorithms.

Currently implemented optimisers are line search based methods:

  • Steepest descent
  • Fletcher-Reeves
  • BFGS
  • Newton
  • LBFGS

Prerequisites

The library requires

  • Boost.Test for running the test suite.
  • Doxygen for building the docs.
  • OpenBlas
  • Blaze linear algebra library

It has been tested on Suse 13.1 using

  • gcc-4.8.1
  • boost-1.55.0

Build and install

To build the tests,

> mkdir $BUILD_DIR
> cd $BUILD_DIR
> cmake -DBLAS_LIBRARIES=<blas library> <path to ook dir>
> make

To run tests,

> make test

and also,

> diff <(./bin/sdrive) ../ook/test/f.out && diff <(./bin/sdrive_diagco) ../ook/test/diagco_f.out

To build and view documentation,

> make doc
> <your browser> ./doc/html/index.html

To install,

> sudo make install

Notes on lfbgs

C++ implementation of lbfgs. This is based on the original Fortran implementation, by first running f2c, then refactoring the code to a point where it is easier to see what is going on for a regular C++ user. The refactoring took place with some ad hoc testing which is included here. The test compares the output files generated by fortran (with a substitution of E for D) to those generated by comparable C++ programs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.