Code Monkey home page Code Monkey logo

copositivity-detection-bundfuss-faces's Introduction

CoPositivity detection

Prerequisites:

- C++17

- Python3

With numpy and scipy for matrix null space and LP.

- Install Intel MKL library as a standalone package

  1. Go to https://software.seek.intel.com/performance-libraries
  2. Register
  3. Download Intel MKL
  4. tar zxvf l_mkl_2019.0.117.tgz
  5. cd folder
  6. ./install_GUI.sh
  7. Customize installation to install just Intel Math Kernel Library for C/C++ with GNU C/C++ compiler support
  8. cd ~/intel/mkl/bin$ && sh ./mklvars.sh intel64

How to compile:

  • make clean: Clean build and exec.
  • make: Compile
  • make total: Clean, compile and run
  • IMPORTANT:
    • Check your Intel MKL and Python 3 path in the makefile.
    • .../intel/mkl/lib/intel64 must be in LD_LIBRARY_PATH (make total performs that).

How to run:

Run run -? to see help.

usage:
  run  options

where options are:
  -n, --dimension <dimension>         Problem dimension (integer) [Required]
  -M, --matrix <matrix_path>          Matrix file (string) [n!=3,5]
  -t <dimacs_t>                       Dimacs t value (integer) [n!=3,5]
  -D, --division <division_method>    Division method (string) ['facet',
                                      'bundfuss', 'zbund'] [Required]
  -?, -h, --help                      display usage information

Remainder: Matrix dim 3 and dim 5 (Horn) is harcoded, run them using:

  • run -n 3 -D <division_method>
  • run -n 5 -D <division_method>

Division methods:

  • facet: Facets and monotonicity (SARTECO18)
  • bundfuss: Bundfuss
  • zbund: Bundfuss and monotonicity

copositivity-detection-bundfuss-faces's People

Contributors

josmangarsal avatar

Watchers

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