FOSSEE / FOSSEE-Optimization-toolbox

Open source optimization toolbox for Scilab. Provides interfaces to various open-source optimization solvers so that they can be called from Scilab.
http://www.scilab.in/fossee-scilab-toolbox/optimization-toolbox
Eclipse Public License 2.0
2 stars 20 forks source link

FOSSEE Optimization Toolbox for Scilab 6.0.x and above

A toolbox that provides mixed-integer programming, quadratic programming and nonlinear programming tools in Scilab through various open-source libraries available from Coin-OR.

NOTE: On linux systems with gfortran8 as the default version, the user will need to install libgfortran4 for the toolbox to load. This can be done, for example in Ubuntu, by executing: sudo apt-get install libgfortran4

To Download

  1. [Visit the link http://atoms.scilab.org/toolboxes/FOT/]
  2. Select the linux or windows version as per your platform.
  3. Extract the files.

To use

  1. In Scilab, change the working directory to the root directory of the repository
  2. Run exec loader.sce in the scilab console.
  3. The Toolbox is now ready, to see help type help in console.
  4. The demos are available in Demos folder.
  5. To run a demo type exec <name of function>.dem.sce
  6. Test cases are available in tests folder.

To build from source

  1. The source code has the thirdparty folder missing. This folder contains the pre-built optimization libraries for windows and linux
  2. Download the thirdparty folder for your OS from https://scilab.in/fossee-scilab-toolbox/optimization-toolbox/download-pre-built-optimization-library and paste it in the toolbox directory
  3. Then type exec builder.sce in the scilab console to run the builder. {Prerequisites: In windows you need MinGW installed along with its toolbox. See https://atoms.scilab.org/toolboxes/mingw/8.3.0 and Step 0,1,2 of https://github.com/FOSSEE/FOSSEE-Optimization-toolbox/blob/Scilab-6/doc/INSTALL.mingw }
  4. If you are using Windows, after you build the toolbox successfully, follow instructions given in https://github.com/FOSSEE/FOSSEE-Optimization-toolbox/blob/Scilab-6/doc/windows.edits
  5. Now run exec loader.sce in the scilab console. The toolbox will be ready to use.

    This toolbox consists of open-source solvers for a variety of optimization problems: CLP for linear and quadratic optimization, CBC for integer linear optimization, IPOPT (with MUMPS) for nonlinear optimization, and BONMIN for integer nonlinear optimization.

Features