Git Product home page Git Product logo

ganesh-krishnan / nloptr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from astamm/nloptr

0.0 2.0 0.0 3.62 MB

nloptr provides an R interface to NLopt, a free/open-source library for nonlinear optimization providing a common interface to a number of different optimization routines which can handle nonlinear constraints and lower and upper bounds for the controls.

R 4.50% Shell 15.13% M4 1.01% C++ 5.72% C 50.63% Makefile 20.44% Roff 1.24% Fortran 0.17% MATLAB 1.13% Python 0.03%

nloptr's Introduction

nloptr

Build Status

nloptr is an R interface to NLopt. NLopt is a free/open-source library for nonlinear optimization started by Steven G. Johnson, providing a common interface for a number of different free optimization routines available online as well as original implementations of various other algorithms. It can be used to solve general nonlinear programming problems with nonlinear constraints and lower and upper bounds for the controls, such as

                             min      f(x)
                           x in R^n
                           
                           s.t.       g(x) <= 0
                                      h(x)  = 0
                                lb <=   x  <= ub

The NLopt library is available under the GNU Lesser General Public License (LGPL), and the copyrights are owned by a variety of authors. See the website for information on how to cite NLopt and the algorithms you use. The R interface to NLopt, also under LGPL, can be downloaded from CRAN or GitHub (development version).

Installation

For most versions of R nloptr can be installed from R with

install.packages('nloptr')

Development version

The most recent (experimental) version can be installed from source from GitHub

library('devtools')
install_github("jyypma/nloptr")

For this to work on Windows, you need to have Rtools and NLopt installed, and set an environment variable NLOPT_HOME with the location of the NLopt library.

Disclaimer

This package is distributed in the hope that it may be useful to some. The usual disclaimers apply (downloading and installing this software is at your own risk, and no support or guarantee is provided, I don't take liability and so on), but please let me know if you have any problems, suggestions, comments, etc.

Files

  • NLopt-2.4-win-build.zip - static libraries of NLopt 2.4 compiled for Windows 32-bit and 64-bit.
  • nloptr.pdf - an R vignette describing how to use the R interface to NLopt.
  • INSTALL.windows - description of how to install nloptr from source for Windows.

Changelog

A full version of the changelog can be found on CRAN

Date Description
27/01/2014 Version 1.0.0 merged wrappers from the 'nloptwrap' package.
19/11/2013 Version 0.9.6 Added a line in Makevars to replace some code in NLopt to fix compilation on Solaris as requested by Brian Ripley.
12/11/2013 Version 0.9.5 Updated references from NLopt version 2.3 to NLopt version 2.4 in installation instructions.
09/11/2013 Version 0.9.4 updated NLopt to version 2.4.
31/07/2013 Version 0.9.3 was a maintainance release.
11/07/2013 Version 0.9.2 was a maintainance release.
31/04/2013 Version 0.9.0 has a new print_level = 3, and is compiled with NLopt version 2.3 with --with-cxx option. This makes the StoGo algorithm available.
18/11/2011 Version 0.8.9 removed some warnings from R CMD check and included some changes to the build process.
28/09/2011 Version 0.8.8 updated to compile on Solaris.
03/09/2011 Version 0.8.5 includes a working binary for MacOS.
12/08/2011 Version 0.8.4 includes a new function nloptr.print.options, and has new options (print_options_doc, and population and ranseed for stochastic global solvers).
24/07/2011 Version 0.8.3 has a finite difference derivative checker and includes checks to prevent adding constraints to a problem when the chosen algortihm does not allow for constraints.
09/07/2011 Version 0.8.2 is on CRAN with an updated build process and a newer version of NLopt.
13/01/2011 Version 0.8.1 contains an option print_level to control intermediate output.

Reference

Steven G. Johnson, The NLopt nonlinear-optimization package, http://ab-initio.mit.edu/nlopt

nloptr's People

Contributors

jyypma avatar eddelbuettel avatar lbelzile avatar ganesh-krishnan 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.