Giter VIP home page Giter VIP logo

sparse_solver's Introduction

# built for MacOS
git clone --recursive https://github.com/tt6746690/sparse_solver.git
brew install libomp

# compile
mkdir build && cd build
cmake ..
make

# need to put lhs for `torso` and `tsopf` inside `data/`
# rename `data/TSOPF_RS_b678_c2` -> `data/s_torsoL.mtx` and similarly for tsopf

# unit tests
cd .. && ./build/tests
./build/tests "triangular_large"    # long running tests on torso and tospof


// ./build/main matrix_name solver_type number_of_threads
//
//     matrix_name: `torso` will find `./data/{torso}L.mtx` and `./data/{torso}b.mtx`
//     solver_type: one of {all, simple, eigen, reachset, eigen_par}
//     n_threads  : a digit or a range, i.e. `3` or `1-4`
// 
./build/main s_small all 1-4

# debugging
lldb build/main
process launch -- s_small

sparse_solver's People

Contributors

tt6746690 avatar

Stargazers

Jacob Lin avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

jawaechan

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.