Skip to main content

MATLAB-BARON Interface

Welcome, Anonymous

The MATLAB/BARON interface connects MATLAB with the BARON global optimization solver. BARON is provided free of charge for problems with up to 10 variables. No license is required to use the MATLAB/BARON interface itself, regardless of problem size. For larger optimization problems, a valid BARON license is required.

Documentation

About
Get an introduction to BARON and how it integrates with MATLAB.

Functions
Detailed descriptions of the functions included in the MATLAB/BARON interface.

Examples
A curated collection of example files to help you get started quickly.

Download Instructions

  1. Download both the BARON executable and the MATLAB/BARON interface archive.
  2. Install BARON to a directory of your choice (default is C:\baron).
  3. Copy required files:
    • From the BARON installation folder, copy:
      • baron.exe
      • libiomp5md.dll
      • pthreadVC2-tof.dll
    • Paste them into the matbar/Interface/ directory.
    • Rename baron.exe to barin.exe.
  4. Unzip the matbar folder to a permanent location.
  5. Install in MATLAB:
    • Navigate to the matbar directory in MATLAB
    • Run: BARON_install

Technical Support

For support or troubleshooting, visit our ALAMO FAQ page or email us at info@minlp.com. When contacting support, please include a screenshot of any warning or error messages.

Disclaimer

The MATLAB/BARON interface is developed and maintained by The Optimization Firm. It is provided free of charge and without warranties.