Coder Social home page Coder Social logo

dw-wang / nasoq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sympiler/nasoq

0.0 0.0 0.0 1.34 MB

NASOQ:Numerically Accurate Sparsity Oriented QP Solver

Home Page: https://nasoq.github.io/

License: MIT License

CMake 15.67% C++ 81.23% Shell 2.89% MATLAB 0.22%

nasoq's Introduction

NASOQ: Numerically Accurate Sparsity Oriented QP Solver

NASOQ is a scalable and efficient Quadratic Programming solver that obtains solutions for requested accuracies. Visit our website for more details: NASOQ Website

Installation

Library requirements

MKL Pardiso (BLAS), OpenMP and METIS.

Building the project

Given that MKL Pardiso and METIS are installed, install NASOQ using following steps:

mkdir build
cd build
cmake -DMKL_ROOT_PATH=path/to/intel -DMETIS_ROOT_PATH=path/to//metis-5.1.0/build/Linux-x86_64/  -DCMAKE_BUILD_TYPE=Release ..
make

A quick script for building and running NASOQ is provided in buildALL.sh. You need to first correct paths to libraries and then you can run it as following:

bash buildAll.sh

Upon successful build you should be able to see data/out.csv and it should be similar to data/out_correct.csv.

For installing on MAc you might need to use GCC so you need to also set the CMAKE compiler flag.

More details are provided in: https://nasoq.github.io/docs/getting-started-nasoq/

Using NASOQ as a Library

You can use NASOQ as a header file and call it in your application. More details: https://nasoq.github.io/docs/getting-started-nasoq/

Testing a QP example

To test a QP example you may also use NASOQ-BIN which is a command line interfce for NASOQ. Some small QP problems are available in data folder. For evaluating NASOQ versus other solvers a separate repository is also provided in: https://github.com/sympiler/nasoq-benchmarks More details: https://nasoq.github.io/docs/repository/

Copyright 2020 Kazem Cheshmi

nasoq's People

Contributors

cheshmi avatar alecjacobson avatar zhenchen-jay avatar sympiler avatar evouga 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.