Unofficial implementation of "Method of alternating projections for the general absolute value equation". This library is written in C++ and we support Python interface.
The following setup is tested in Ubuntu 22.04.
sudo apt update
sudo apt install -y g++ build-essential cmake
sudo apt install -y libeigen3-dev
# python (optional)
sudo apt install -y python3 python3-dev python3-venv
git clone --recurse-submodules -j8 https://github.com/doggydoggy0101/MAP.git
cd MAP
# If you did not clone the repository with --recurse-submodules option,
# you may need to run the following command.
git submodule update --init
mkdir build
cd build
cmake ..
make
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install numpy
mkdir build
cd build
cmake .. -DBUILD_PYTHON=ON
make
cd python && pip install .
- Alcantara, J. H., Chen, J. S., & Tam, M. K. (2023). Method of alternating projections for the general absolute value equation. Journal of Fixed Point Theory and Applications, 25(1), 39.