GithubHelp home page GithubHelp logo

mlubin / jumpsupplement Goto Github PK

View Code? Open in Web Editor NEW
26.0 4.0 9.0 215 KB

Repository containing supplementary materials and code for "JuMP: A Modeling Language for Mathematical Optimization"

GAMS 24.92% Python 20.51% C++ 3.83% Julia 13.03% M 0.24% MATLAB 3.75% AMPL 25.58% Jupyter Notebook 8.14%

jumpsupplement's Introduction

JuMPSupplement

Repository containing supplementary materials and code for "JuMP: A Modeling Language for Mathematical Optimization" by I. Dunning, J. Huchette, and M. Lubin.

Installation instructions:

The benchmarks depend on the following commercial software packages which must be installed separately:

  • AMPL 20160207
  • GAMS 24.6.1
  • Gurobi 6.5.0
  • MATLAB R2015b

Additionally, users should install:

For timing, we use the ts command-line utility. On Ubuntu Linux, ts is provided by the moreutils package.

Installation instructions for Pyomo:

A simple way to install Pyomo is through the virtualenv package:

$ virtualenv venv
$ source venv/bin/activate
$ pip install pyomo

(venv)$ pyomo --version
Pyomo 4.2.10784 (CPython 2.7.11 on Linux 4.4.1-2-ARCH)

Installation instructions for Julia:

We recommend reproducing the experiments with the exact version of Julia used here. If binaries for version 0.4.3 are no longer available, one can build Julia from source as follows:

$ git clone git://github.com/JuliaLang/julia.git
$ cd julia
$ git checkout v0.4.3
$ make

Unfortunately, the build process relies on many external packages and URLs. It cannot be expected to work indefinitely, even if github.com remains available.

Once Julia is installed, we require the following Julia packages:

You should force the use of particular versions of these Julia packages with

julia> Pkg.pin("JuMP", v"0.12.0")
julia> Pkg.pin("ReverseDiffSparse", v"0.5.3")
julia> Pkg.pin("Gurobi", v"0.2.1")
julia> Pkg.pin("Ipopt", v"0.2.1")

For the nonlinear tests, you should add ipopt compiled with ASL to your path. On Linux, you can just use the Ipopt binary from Julia:

export PATH=$PATH:$HOME/.julia/v0.4/Ipopt/deps/usr/bin

See the individual directories for further instructions.

Change log:

Feburary 2016: Update for first paper revision. Newer versions of all packages.
April 2015: Initial version

jumpsupplement's People

Contributors

iainnz avatar mlubin avatar joehuchette avatar

Stargazers

HarryZhu avatar gregory nicholas avatar Nguyen Duc Nhat Y avatar Vladislav Goncharov avatar  avatar  avatar breandan avatar Fabion Kauker avatar  avatar Ryan Walker avatar Quang Ha  avatar  avatar Keisuke UTO avatar  avatar Federico avatar Atsushi Sakai avatar William Hart avatar sile avatar weijing avatar  avatar 爱可可-爱生活 avatar Xiaowei Song avatar  avatar Wai Kit Tsang avatar  avatar Tony Kelman avatar

Watchers

 avatar James Cloos avatar  avatar  avatar

jumpsupplement's Issues

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.