Git Product home page Git Product logo

lbfgsb.jl's Introduction

Lbfgsb.jl

This is wrapper of the famous lbfgsb fortran library of Julia language inspired by this wrapper further adapted to julia 0.6 by Jean-Pierre Dussault.

version

0.0.1 (just usable)

Platform

Currently only for Linux with gfortran installed

Copyright Notice

File fotran routine is written by the authors of the following papers,

  • R. H. Byrd, P. Lu and J. Nocedal. A Limited Memory Algorithm for Bound Constrained Optimization, (1995), SIAM Journal on Scientific and Statistical Computing , 16, 5, pp. 1190-1208.
  • C. Zhu, R. H. Byrd and J. Nocedal. L-BFGS-B: Algorithm 778: L-BFGS-B, FORTRAN routines for large scale bound constrained optimization (1997), ACM Transactions on Mathematical Software, Vol 23, Num. 4, pp. 550 - 560.
  • J.L. Morales and J. Nocedal. L-BFGS-B: Remark on Algorithm 778: L-BFGS-B, FORTRAN routines for large scale bound constrained optimization (2011), to appear in ACM Transactions on Mathematical Software.

Warning

I am new to Julia language so the code will be cleaned gradually

usage

  • First, run Pkg.clone("https://github.com/vepiteski/Lbfgsb.jl"), then run Pkg.build("Lbfgsb")
  • Currently only provide a function called lbfgsb, see its option below,

JPD has added interfaces to NLPModels and Stopping.

Options

  • ogFunc : Objective and gradient function. It accept current x and a gradient array g. It should return the objective function value and put the gradient into into g.
  • x : Initial value of x.
  • lb : lower bounds of each dimension of x. Set to -Inf if equals to [].
  • ub : upper bounds of each dimension of x. Set to Inf if equals to [].
  • btype : boundary types, see below,
btype boundary type of corresponding dimension
0 unbounded
1 only lower bound
2 both lower and upper bound
3 only upper bound
  • Other parameters : see the paper above for reference (mostly does not need to modify)
  • iprint : printing level of the fortran routine, set to -1 if you does not want to print anything

License

BSD-3

lbfgsb.jl's People

Contributors

yuhonglin avatar vepiteski avatar

Watchers

James Cloos avatar  avatar

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.