Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

dymil/mhar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MHAR (Matrix/Mentat Hit and Run)

This package constains one of the fastest polytope samplers known to date. It only works with linear inequality restrictions, it does not accept V-representation.

A paper with the asymptotic complexity and tests for MHAR is in:

arXiv: https://arxiv.org/abs/2104.07097

LACSC2021 conference: https://www.youtube.com/watch?v=o2CxnI6onts

Original code for the paper: https://github.com/uumami/mhar_pytorch

image

A Jupyter notebook with examples of how to use it is in (works in Colab):
https://github.com/uumami/mhar/blob/beta/tutorial/turorial.ipynb

PyPi: https://pypi.org/project/mhar/

You need to install Pytorch, then you can use the following command to install the MHAR package:
pip install mhar

Contributors to the code: uumami (Mario Vazquez Corte)

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 74.5%
  • Python 25.5%