Giter Club home page Giter Club logo

mpyalmip's Introduction

mpYALMIP

An interface to the multiple-precision solver SDPA-GMP for YALMIP in UNIX-based and Windows systems. You can also use SDPA-GMP remotely on the NEOS server: check out mpYALIMP-neos!

Known issues:

  • Windows users: please download and install v1.1.2, as previous versions cannot be used in Windows. UNIX-based systems: a bug in the installer/uninstaller functions in version 1.1 prevents successful installation. If you have downloaded mpYALMIP v1.1, please update to v1.1.1 or later.
  • All users: when testing the installation with the command "yalmiptest sdpa_gmp", YALMIP reports an "Unknown Error" instead of success for the test problem. However, sdpa-gmp should actually be working correctly. Please test your installation by running the test problems in the folder examples/

Contents

Authors

  • Giovanni Fantuzzi (Department of Aeronautics, Imperial College London, UK. Email: gf910[at]ic.ac.uk)
  • Federico Fuentes (Institute for Computational Engineering and Sciences (ICES), The University of Texas at Austin, USA)

Setup

The following is a quick installation guide; for more details, see INSTALL.txt.

Preliminary checks

Before you run the script install_sdpa_gmp.m, make sure you have installed SDPA-GMP (download & install from the SDPA website).

For detailed instructions to install the required software (for Windows but also valid in UNIX-based systems) see InstallWindowsReqs.txt.

Setup

The following instructions assume that the SDPA-GMP executable binary file (sdpa_gmp) is installed in /usr/local/bin/. In this case, add SDPA-GMP to YALMIP by running

>> install_sdpa_gmp 

If you have installed SDPA-GMP in another location, you should be able to add it to YALMIP by running

>> install_sdpa_gmp('path/to/sdpa/gmp/')

where 'path/to/sdpa/gmp/' is the path to your SDPA-GMP installation. The path should be to the sdpa_gmp executable itself or to the directory, ending with /, where the sdpa_gmp executable lies.

Note: please ignore any compilation warnings that might be displayed.

How to use

Once installed, you can use SDPA-GMP like any other solver in YALMIP. You can specify the solver's options using the sdpsettings() command. For example, you can set YALMIP's options to use SDPA-GMP with 100 digits of precision with the command

>> opts = sdpsettings('solver','sdpa_gmp','sdpa_gmp.precision',100);

For a complete list of options, please refer to SDPA-GMP's manual.

Licence

mpYALMIP is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

mpyalmip's People

Contributors

giofantuzzi avatar federicofuentes 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.