/BARON.jl

A Julia interface to the BARON mixed-integer nonlinear programming solver

Primary LanguageJuliaMIT LicenseMIT

BARON.jl

Build Status codecov

BARON.jl is a wrapper for BARON by The Optimization Firm.

Affiliation

This wrapper is maintained by the JuMP community and is not officially supported by The Optimization Firm.

Getting help

If you need help, please ask a question on the JuMP community forum.

If you have a reproducible example of a bug, please open a GitHub issue.

License

BARON.jl is licensed under the MIT License.

The underlying solver is a closed-source commercial product for which you must obtain a license from The Optimization Firm, although a small trial version is available for free.

Installation

First, download a copy of the BARON solver and unpack the executable in a location of your choosing.

Once installed, set the BARON_EXEC environment variable pointing to the BARON executable (full path, including file name as it differs across platforms), and run Pkg.add("BARON"). For example:

ENV["BARON_EXEC"] = "/path/to/baron.exe"
using Pkg
Pkg.add("BARON")

The baronlice.txt license file should be placed in the same directory as the BARON executable, or in your current working directory.

Use with JuMP

using JuMP, BARON
model = Model(BARON.Optimizer)

MathOptInterface API

The BARON optimizer supports the following constraints and attributes.

List of supported objective functions:

List of supported variable types:

List of supported constraint types:

List of supported model attributes: